org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.apache.wicket.ajax.markup.html.AjaxLink$1@5a50f70d on component [AjaxLink [Component id = menuLink]] threw an exception

isis-users | Victor Oomens | 2 years ago
  1. 0

    org.apache.isis.applib.value.Date issue

    isis-users | 2 years ago | Victor Oomens
    org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.apache.wicket.ajax.markup.html.AjaxLink$1@5a50f70d on component [AjaxLink [Component id = menuLink]] threw an exception
  2. 0

    Map Not Initialised

    gilead | 7 years ago | alanhay
    java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.SortedSet
  3. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    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.String cannot be cast to java.util.SortedSet

      at dom.bz.Customer.jdoReplaceField()
    2. dom.bz
      Customer.jdoReplaceFields
      1. dom.bz.Customer.jdoReplaceField(Customer.java)
      2. dom.bz.Customer.jdoReplaceFields(Customer.java)
      2 frames
    3. DataNucleus Core
      JDOStateManager.replaceFields
      1. org.datanucleus.state.JDOStateManager.replaceFields(JDOStateManager.java:3418)
      1 frame
    4. org.apache.isis
      JDOStateManagerForIsis.replaceFields
      1. org.apache.isis.objectstore.jdo.datanucleus.JDOStateManagerForIsis.replaceFields(JDOStateManagerForIsis.java:137)
      1 frame
    5. DataNucleus RDBMS plugin
      PersistentClassROF$2.fetchFields
      1. org.datanucleus.store.rdbms.query.PersistentClassROF$2.fetchFields(PersistentClassROF.java:643)
      1 frame
    6. DataNucleus Core
      JDOStateManager.initialiseForHollow
      1. org.datanucleus.state.JDOStateManager.loadFieldValues(JDOStateManager.java:2541)
      2. org.datanucleus.state.JDOStateManager.initialiseForHollow(JDOStateManager.java:282)
      2 frames
    7. org.apache.isis
      JDOStateManagerForIsis.initialiseForHollow
      1. org.apache.isis.objectstore.jdo.datanucleus.JDOStateManagerForIsis.initialiseForHollow(JDOStateManagerForIsis.java:60)
      1 frame
    8. DataNucleus Core
      ExecutionContextImpl.findObject
      1. org.datanucleus.state.ObjectProviderFactoryImpl.newForHollow(ObjectProviderFactoryImpl.java:119)
      2. org.datanucleus.ExecutionContextImpl.newObjectProviderForHollowPopulated(ExecutionContextImpl.java:1350)
      3. org.datanucleus.ExecutionContextImpl.findObject(ExecutionContextImpl.java:3206)
      3 frames
    9. DataNucleus RDBMS plugin
      ForwardQueryResult$QueryResultIterator.next
      1. org.datanucleus.store.rdbms.query.PersistentClassROF.getObjectForDatastoreId(PersistentClassROF.java:637)
      2. org.datanucleus.store.rdbms.query.PersistentClassROF.getObject(PersistentClassROF.java:410)
      3. org.datanucleus.store.rdbms.query.ForwardQueryResult.nextResultSetElement(ForwardQueryResult.java:181)
      4. org.datanucleus.store.rdbms.query.ForwardQueryResult$QueryResultIterator.next(ForwardQueryResult.java:403)
      4 frames
    10. org.apache.isis
      DomainObjectContainerDefault.allInstances
      1. org.apache.isis.objectstore.jdo.datanucleus.persistence.queries.PersistenceQueryProcessorAbstract.loadAdapters(PersistenceQueryProcessorAbstract.java:79)
      2. org.apache.isis.objectstore.jdo.datanucleus.persistence.queries.PersistenceQueryFindAllInstancesProcessor.process(PersistenceQueryFindAllInstancesProcessor.java:57)
      3. org.apache.isis.objectstore.jdo.datanucleus.persistence.queries.PersistenceQueryFindAllInstancesProcessor.process(PersistenceQueryFindAllInstancesProcessor.java:34)
      4. org.apache.isis.objectstore.jdo.datanucleus.DataNucleusObjectStore.processPersistenceQuery(DataNucleusObjectStore.java:523)
      5. org.apache.isis.objectstore.jdo.datanucleus.DataNucleusObjectStore.loadInstancesAndAdapt(DataNucleusObjectStore.java:518)
      6. org.apache.isis.core.runtime.system.persistence.PersistenceSession$1.execute(PersistenceSession.java:438)
      7. org.apache.isis.core.runtime.system.persistence.PersistenceSession$1.execute(PersistenceSession.java:435)
      8. org.apache.isis.core.runtime.system.transaction.IsisTransactionManager.executeWithinTransaction(IsisTransactionManager.java:201)
      9. org.apache.isis.core.runtime.system.persistence.PersistenceSession.getInstancesFromPersistenceLayer(PersistenceSession.java:435)
      10. org.apache.isis.core.runtime.system.persistence.PersistenceSession.getInstances(PersistenceSession.java:431)
      11. org.apache.isis.core.runtime.system.persistence.PersistenceSession.findInstances(PersistenceSession.java:368)
      12. org.apache.isis.core.runtime.system.persistence.PersistenceSession.findInstances(PersistenceSession.java:363)
      13. org.apache.isis.core.runtime.persistence.internal.RuntimeContextFromSession$8.allMatchingQuery(RuntimeContextFromSession.java:275)
      14. org.apache.isis.core.metamodel.services.container.DomainObjectContainerDefault.allMatches(DomainObjectContainerDefault.java:435)
      15. org.apache.isis.core.metamodel.services.container.DomainObjectContainerDefault.allInstances(DomainObjectContainerDefault.java:393)
      15 frames
    11. dom.bz
      Customers.list
      1. dom.bz.Customers.list(Customers.java:42)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    13. org.apache.isis
      ActionModel.load
      1. org.apache.isis.core.metamodel.facets.actions.interaction.ActionInvocationFacetForInteractionAbstract.internalInvoke(ActionInvocationFacetForInteractionAbstract.java:314)
      2. org.apache.isis.core.metamodel.facets.actions.interaction.ActionInvocationFacetForInteractionAbstract.invoke(ActionInvocationFacetForInteractionAbstract.java:188)
      3. org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction$1.execute(ActionInvocationFacetWrapTransaction.java:57)
      4. org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction$1.execute(ActionInvocationFacetWrapTransaction.java:54)
      5. org.apache.isis.core.runtime.system.transaction.IsisTransactionManager.executeWithinTransaction(IsisTransactionManager.java:201)
      6. org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction.invoke(ActionInvocationFacetWrapTransaction.java:54)
      7. org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionImpl.execute(ObjectActionImpl.java:367)
      8. org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionImpl.executeWithRuleChecking(ObjectActionImpl.java:358)
      9. org.apache.isis.viewer.wicket.model.models.ActionModel.executeAction(ActionModel.java:464)
      10. org.apache.isis.viewer.wicket.model.models.ActionModel.load(ActionModel.java:444)
      11. org.apache.isis.viewer.wicket.model.models.ActionModel.load(ActionModel.java:77)
      11 frames
    14. Wicket Core
      LoadableDetachableModel.getObject
      1. org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:121)
      1 frame
    15. org.apache.isis
      ActionLinkFactoryAbstract$1.onClick
      1. org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.executeActionHandlingApplicationExceptions(ActionPanel.java:300)
      2. org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.executeActionOnTargetAndProcessResults(ActionPanel.java:206)
      3. org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.executeActionAndProcessResults(ActionPanel.java:154)
      4. org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.buildGui(ActionPanel.java:93)
      5. org.apache.isis.viewer.wicket.ui.components.actions.ActionPanel.<init>(ActionPanel.java:78)
      6. org.apache.isis.viewer.wicket.ui.components.actions.ActionPanelFactory.createComponent(ActionPanelFactory.java:49)
      7. org.apache.isis.viewer.wicket.viewer.registries.components.ComponentFactoryRegistryDefault.createComponent(ComponentFactoryRegistryDefault.java:128)
      8. org.apache.isis.viewer.wicket.ui.components.widgets.cssmenu.ActionLinkFactoryAbstract$1.onClick(ActionLinkFactoryAbstract.java:103)
      8 frames
    16. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:86)
      2. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:124)
      3. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:633)
      3 frames
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    18. Wicket Core
      RequestCycle$HandlerExecutor.respond
      1. org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
      2. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
      3. org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:250)
      4. org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:236)
      5. org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
      5 frames
    19. Wicket Request
      RequestHandlerStack.execute
      1. org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      1 frame
    20. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
      2. org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
      3. org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
      4. org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
      5. org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
      6 frames
    21. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      1 frame
    22. org.apache.isis
      IsisLogOnExceptionFilter.doFilter
      1. org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter.doFilter(IsisLogOnExceptionFilter.java:52)
      1 frame
    23. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      1 frame
    24. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      2. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      3. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      4. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      5. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      6. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      7. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      7 frames
    25. Jetty Server
      SocketConnector$Connection.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
      7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      8. org.mortbay.jetty.Server.handle(Server.java:326)
      9. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      10. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
      11. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
      12. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      13. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      14. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      14 frames
    26. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame