karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-5787) Improve scheduler whiteboard to avoid ClassCastException
Date Wed, 13 Jun 2018 11:46:00 GMT
Jean-Baptiste Onofré created KARAF-5787:

             Summary: Improve scheduler whiteboard to avoid ClassCastException
                 Key: KARAF-5787
                 URL: https://issues.apache.org/jira/browse/KARAF-5787
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-scheduler
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 4.1.6, 4.2.1

If an user provides the scheduler configuration via {{cfg}} like:


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)

This message was sent by Atlassian JIRA

View raw message