java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Steps: 1. Click Participants -> Participant Registry 2. Enter 4 and click Lookup to display Jokull Ingimundson 3. Click Receive to save Jokull as a participant 4. Clicking Receive should also redirect you to the Reception page. Instead the error message "Participant registration failed" is displayed. 5. Click Close to dismiss the error message 6. Click the Participants tab to refresh the list of participants. Jokull will appear in the list indicated that Jokull was successfully saved as a participant but that the redirect the the Reception page failed. Note that the view and receive links are available beside Jokull. 7. Clicking the receive link generates the following exception: 2010-04-22 13:53:04,230 - ERROR - apache.wicket.RequestCycle - model object cannot be null java.lang.IllegalArgumentException: model object cannot be null at org.obiba.wicket.markup.html.table.DetachableEntityModel.<init>(DetachableEntityModel.java:28) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupFragment.addParticipantAttribute(EditParticipantPanel.java:498) at org.obiba.onyx.webapp.participant.panel.ParticipantAttributeGroupFragment.<init>(ParticipantAttributeGroupFragment.java:28) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupFragment.<init>(EditParticipantPanel.java:469) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupsFragment.addAttributeGroupFragment(EditParticipantPanel.java:459) at org.obiba.onyx.webapp.participant.panel.ParticipantAttributeGroupsFragment.<init>(ParticipantAttributeGroupsFragment.java:48) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupsFragment.<init>(EditParticipantPanel.java:454) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.createEditParticipantPanel(EditParticipantPanel.java:286) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.<init>(EditParticipantPanel.java:128) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.<init>(EditParticipantPanel.java:144) at org.obiba.onyx.webapp.participant.panel.EditParticipantFormPanel.<init>(EditParticipantFormPanel.java:28) at org.obiba.onyx.webapp.participant.page.ParticipantReceptionPage.<init>(ParticipantReceptionPage.java:40) at org.obiba.onyx.webapp.participant.page.ParticipantSearchPage$ActionListFragment$3.onClick(ParticipantSearchPage.java:844) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    via by Tony DeBat,
  • Steps: 1. Click Participants -> Participant Registry 2. Enter 4 and click Lookup to display Jokull Ingimundson 3. Click Receive to save Jokull as a participant 4. Clicking Receive should also redirect you to the Reception page. Instead the error message "Participant registration failed" is displayed. 5. Click Close to dismiss the error message 6. Click the Participants tab to refresh the list of participants. Jokull will appear in the list indicated that Jokull was successfully saved as a participant but that the redirect the the Reception page failed. Note that the view and receive links are available beside Jokull. 7. Clicking the receive link generates the following exception: 2010-04-22 13:53:04,230 - ERROR - apache.wicket.RequestCycle - model object cannot be null java.lang.IllegalArgumentException: model object cannot be null at org.obiba.wicket.markup.html.table.DetachableEntityModel.<init>(DetachableEntityModel.java:28) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupFragment.addParticipantAttribute(EditParticipantPanel.java:498) at org.obiba.onyx.webapp.participant.panel.ParticipantAttributeGroupFragment.<init>(ParticipantAttributeGroupFragment.java:28) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupFragment.<init>(EditParticipantPanel.java:469) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupsFragment.addAttributeGroupFragment(EditParticipantPanel.java:459) at org.obiba.onyx.webapp.participant.panel.ParticipantAttributeGroupsFragment.<init>(ParticipantAttributeGroupsFragment.java:48) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupsFragment.<init>(EditParticipantPanel.java:454) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.createEditParticipantPanel(EditParticipantPanel.java:286) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.<init>(EditParticipantPanel.java:128) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.<init>(EditParticipantPanel.java:144) at org.obiba.onyx.webapp.participant.panel.EditParticipantFormPanel.<init>(EditParticipantFormPanel.java:28) at org.obiba.onyx.webapp.participant.page.ParticipantReceptionPage.<init>(ParticipantReceptionPage.java:40) at org.obiba.onyx.webapp.participant.page.ParticipantSearchPage$ActionListFragment$3.onClick(ParticipantSearchPage.java:844) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    via by Tony DeBat,
    • java.lang.IllegalArgumentException: model object cannot be null at org.obiba.wicket.markup.html.table.DetachableEntityModel.<init>(DetachableEntityModel.java:28) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupFragment.addParticipantAttribute(EditParticipantPanel.java:498) at org.obiba.onyx.webapp.participant.panel.ParticipantAttributeGroupFragment.<init>(ParticipantAttributeGroupFragment.java:28) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupFragment.<init>(EditParticipantPanel.java:469) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupsFragment.addAttributeGroupFragment(EditParticipantPanel.java:459) at org.obiba.onyx.webapp.participant.panel.ParticipantAttributeGroupsFragment.<init>(ParticipantAttributeGroupsFragment.java:48) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel$EditParticipantPanelAttributeGroupsFragment.<init>(EditParticipantPanel.java:454) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.createEditParticipantPanel(EditParticipantPanel.java:286) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.<init>(EditParticipantPanel.java:128) at org.obiba.onyx.webapp.participant.panel.EditParticipantPanel.<init>(EditParticipantPanel.java:144) at org.obiba.onyx.webapp.participant.panel.EditParticipantFormPanel.<init>(EditParticipantFormPanel.java:28) at org.obiba.onyx.webapp.participant.page.ParticipantReceptionPage.<init>(ParticipantReceptionPage.java:40) at org.obiba.onyx.webapp.participant.page.ParticipantSearchPage$ActionListFragment$3.onClick(ParticipantSearchPage.java:844) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    No Bugmate found.