java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long

JIRA | Dwain Elson | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    After consent the Electrocardiogram stage is ready. If you try to start it a internal error occurs when the continue button is pressed in the start dialog. Excerpt from the stdout log 2009-02-27 16:44:02,636 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/page/ParticipantReceptionPage.properties 2009-02-27 16:44:02,666 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/panel/EditParticipantPanel.properties 2009-02-27 16:44:02,996 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/panel/AssignCodeToParticipantPanel.properties 2009-02-27 16:44:10,647 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:44:11,028 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/page/InterviewPage.properties 2009-02-27 16:44:11,098 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/stage/panel/StageSelectionPanel.properties 2009-02-27 16:44:23,866 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/onyx-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/wicket/action/ActionDefinitionPanel.properties 2009-02-27 16:44:36,324 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Searching for available locales for resource (path=file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/config/marble/resources/, name=ConsentForm, extension=.pdf) 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Found the following locale "en" for resource "ConsentForm" 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Found the following locale "fr" for resource "ConsentForm" 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Found the following locale "zh" for resource "ConsentForm" 2009-02-27 16:44:36,534 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/MarblePanel.properties 2009-02-27 16:44:36,544 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/onyx-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/wicket/wizard/WizardForm.properties 2009-02-27 16:44:36,554 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/wizard/ConsentModeSelectionStep.properties 2009-02-27 16:44:36,564 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/consent/ConsentModeSelectionPanel.properties 2009-02-27 16:44:42,233 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/wizard/ManualConsentStep.properties 2009-02-27 16:44:42,243 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/consent/ManualConsentPanel.properties 2009-02-27 16:44:55,522 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:44:55,532 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:45:40,346 - ERROR - apache.wicket.RequestCycle - java.lang.Integer cannot be cast to java.lang.Long java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.obiba.onyx.jade.core.domain.run.InstrumentRunValue.setData(InstrumentRunValue.java:118) at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.updateReadOnlyInputParameterRunValue(DefaultActiveInstrumentRunServiceImpl.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy56.updateReadOnlyInputParameterRunValue(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy55.updateReadOnlyInputParameterRunValue(Unknown Source) at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.<init>(InstrumentLaunchPanel.java:75) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep$1.<init>(InstrumentLaunchStep.java:75) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep.onStepInNext(InstrumentLaunchStep.java:75) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.<init>(InstrumentWizardForm.java:88) at org.obiba.onyx.jade.core.wicket.JadePanel$1$1.<init>(JadePanel.java:67) at org.obiba.onyx.jade.core.wicket.JadePanel$1.createForm(JadePanel.java:67) at org.obiba.onyx.wicket.wizard.WizardPanel.<init>(WizardPanel.java:30) at org.obiba.onyx.jade.core.wicket.JadePanel$1.<init>(JadePanel.java:63) at org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:63) at org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:42) at org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:177) at org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:114) at org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:93) at org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:60) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) 2009-02-27 16:48:11,564 - WARN - .panel.StageSelectionPanel - Wrong status for ECG 2009-02-27 16:48:11,564 - WARN - apache.wicket.Localizer - Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = stage-list]]

    JIRA | 8 years ago | Dwain Elson
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  2. 0

    After consent the Electrocardiogram stage is ready. If you try to start it a internal error occurs when the continue button is pressed in the start dialog. Excerpt from the stdout log 2009-02-27 16:44:02,636 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/page/ParticipantReceptionPage.properties 2009-02-27 16:44:02,666 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/panel/EditParticipantPanel.properties 2009-02-27 16:44:02,996 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/panel/AssignCodeToParticipantPanel.properties 2009-02-27 16:44:10,647 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:44:11,028 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/participant/page/InterviewPage.properties 2009-02-27 16:44:11,098 - INFO - resource.PropertiesFactory - Loading properties files from file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/classes/org/obiba/onyx/webapp/stage/panel/StageSelectionPanel.properties 2009-02-27 16:44:23,866 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/onyx-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/wicket/action/ActionDefinitionPanel.properties 2009-02-27 16:44:36,324 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Searching for available locales for resource (path=file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/config/marble/resources/, name=ConsentForm, extension=.pdf) 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Found the following locale "en" for resource "ConsentForm" 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Found the following locale "fr" for resource "ConsentForm" 2009-02-27 16:44:36,444 - INFO - rt.LocalizedResourceLoader - Found the following locale "zh" for resource "ConsentForm" 2009-02-27 16:44:36,534 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/MarblePanel.properties 2009-02-27 16:44:36,544 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/onyx-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/wicket/wizard/WizardForm.properties 2009-02-27 16:44:36,554 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/wizard/ConsentModeSelectionStep.properties 2009-02-27 16:44:36,564 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/consent/ConsentModeSelectionPanel.properties 2009-02-27 16:44:42,233 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/wizard/ManualConsentStep.properties 2009-02-27 16:44:42,243 - INFO - resource.PropertiesFactory - Loading properties files from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/example-webapp/WEB-INF/lib/marble-core-1.1-SNAPSHOT.jar!/org/obiba/onyx/marble/core/wicket/consent/ManualConsentPanel.properties 2009-02-27 16:44:55,522 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:44:55,532 - INFO - usStageDependencyCondition - stageName=HealthQuestionnaireSelfAdministered 2009-02-27 16:45:40,346 - ERROR - apache.wicket.RequestCycle - java.lang.Integer cannot be cast to java.lang.Long java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.obiba.onyx.jade.core.domain.run.InstrumentRunValue.setData(InstrumentRunValue.java:118) at org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.updateReadOnlyInputParameterRunValue(DefaultActiveInstrumentRunServiceImpl.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy56.updateReadOnlyInputParameterRunValue(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy55.updateReadOnlyInputParameterRunValue(Unknown Source) at org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.<init>(InstrumentLaunchPanel.java:75) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep$1.<init>(InstrumentLaunchStep.java:75) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep.onStepInNext(InstrumentLaunchStep.java:75) at org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.<init>(InstrumentWizardForm.java:88) at org.obiba.onyx.jade.core.wicket.JadePanel$1$1.<init>(JadePanel.java:67) at org.obiba.onyx.jade.core.wicket.JadePanel$1.createForm(JadePanel.java:67) at org.obiba.onyx.wicket.wizard.WizardPanel.<init>(WizardPanel.java:30) at org.obiba.onyx.jade.core.wicket.JadePanel$1.<init>(JadePanel.java:63) at org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:63) at org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:42) at org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:177) at org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:114) at org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:93) at org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:60) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) 2009-02-27 16:48:11,564 - WARN - .panel.StageSelectionPanel - Wrong status for ECG 2009-02-27 16:48:11,564 - WARN - apache.wicket.Localizer - Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [MarkupContainer [Component id = stage-list]]

    JIRA | 8 years ago | Dwain Elson
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  3. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.Long

      at org.obiba.onyx.jade.core.domain.run.InstrumentRunValue.setData()
    2. org.obiba.onyx
      DefaultActiveInstrumentRunServiceImpl.updateReadOnlyInputParameterRunValue
      1. org.obiba.onyx.jade.core.domain.run.InstrumentRunValue.setData(InstrumentRunValue.java:118)
      2. org.obiba.onyx.jade.core.service.impl.DefaultActiveInstrumentRunServiceImpl.updateReadOnlyInputParameterRunValue(DefaultActiveInstrumentRunServiceImpl.java:461)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy56.updateReadOnlyInputParameterRunValue
      1. $Proxy56.updateReadOnlyInputParameterRunValue(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. Wicket IoC common code
      $Proxy55.updateReadOnlyInputParameterRunValue
      1. org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
      2. org.apache.wicket.proxy.$Proxy55.updateReadOnlyInputParameterRunValue(Unknown Source)
      2 frames
    10. org.obiba.onyx
      ActionWindow$2.onClose
      1. org.obiba.onyx.jade.core.wicket.instrument.InstrumentLaunchPanel.<init>(InstrumentLaunchPanel.java:75)
      2. org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep$1.<init>(InstrumentLaunchStep.java:75)
      3. org.obiba.onyx.jade.core.wicket.wizard.InstrumentLaunchStep.onStepInNext(InstrumentLaunchStep.java:75)
      4. org.obiba.onyx.jade.core.wicket.wizard.InstrumentWizardForm.<init>(InstrumentWizardForm.java:88)
      5. org.obiba.onyx.jade.core.wicket.JadePanel$1$1.<init>(JadePanel.java:67)
      6. org.obiba.onyx.jade.core.wicket.JadePanel$1.createForm(JadePanel.java:67)
      7. org.obiba.onyx.wicket.wizard.WizardPanel.<init>(WizardPanel.java:30)
      8. org.obiba.onyx.jade.core.wicket.JadePanel$1.<init>(JadePanel.java:63)
      9. org.obiba.onyx.jade.core.wicket.JadePanel.<init>(JadePanel.java:63)
      10. org.obiba.onyx.jade.engine.state.JadeInProgressState.getWidget(JadeInProgressState.java:42)
      11. org.obiba.onyx.engine.state.StageExecutionContext.getWidget(StageExecutionContext.java:177)
      12. org.obiba.onyx.webapp.stage.page.StagePage.<init>(StagePage.java:114)
      13. org.obiba.onyx.webapp.stage.panel.StageSelectionPanel$1.onActionPerformed(StageSelectionPanel.java:93)
      14. org.obiba.onyx.wicket.action.ActionWindow$2.onClose(ActionWindow.java:60)
      14 frames
    11. Wicket Extensions
      ModalWindow$WindowClosedBehavior.respond
      1. org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:832)
      1 frame
    12. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      1 frame
    13. org.apache.wicket
      BehaviorRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      1 frame
    14. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      1 frame
    15. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
      6 frames
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    17. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      1 frame
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      1 frame
    19. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      8 frames
    20. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame