Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5787

Improve scheduler whiteboard to avoid ClassCastException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.6, 4.2.1
    • karaf
    • None

    Description

      If an user provides the scheduler configuration via cfg like:

      scheduler.period:Long=xx
      

      it throws a ClassCastException:

      java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
              at org.apache.karaf.scheduler.core.WhiteboardHandler.register(WhiteboardHandler.java:110) [260:org.apache.karaf.scheduler.core:4.1.5]
              at 
      

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: