wicket.WicketRuntimeException

unable to get object, model: Model:classname=[wicket.model.PropertyModel]:attached=true:nestedModel=[[Page class = org.artifactory.webapp.wicket.home.HomePage, id = 6, version = 0]]:expression=[userName]:propertyType=[null], called with component [Component id = username, page = org.artifactory.webapp.wicket.home.HomePage, path = 6:username.Label, isVisible = true, isVersioned = true]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20

  • via JFrog JIRA by Frederic Simon, 1 year ago
    unable to get object, model: Model:classname=[wicket.model.PropertyModel]:attached=true:nestedModel=[[Page class = org.artifactory.webapp.wicket.home.HomePage, id = 6, version = 0]]:expression=[userName]:propertyType=[null], called with component
  • via JFrog JIRA by Frederic Simon, 10 months ago
    unable to get object, model: Model:classname=[wicket.model.PropertyModel]:attached=true:nestedModel=[[Page class = org.artifactory.webapp.wicket.home.HomePage, id = 6, version = 0]]:expression=[userName]:propertyType=[null], called with component
  • via apache.org by Unknown author, 1 year ago
    Error attaching this container for rendering: [MarkupContainer [Component id = borrowers, page = libpage.ViewBorrowers, path = 3:libBorder:borrowers.ViewBorrowers$BorrowerDataView, isVisible = true, isVersioned = false]]
  • Stack trace

    • wicket.WicketRuntimeException: unable to get object, model: Model:classname=[wicket.model.PropertyModel]:attached=true:nestedModel=[[Page class = org.artifactory.webapp.wicket.home.HomePage, id = 6, version = 0]]:expression=[userName]:propertyType=[null], called with component [Component id = username, page = org.artifactory.webapp.wicket.home.HomePage, path = 6:username.Label, isVisible = true, isVersioned = true] at wicket.model.AbstractDetachableModel.getObject(AbstractDetachableModel.java:106) at wicket.Component.getModelObject(Component.java:941) at wicket.Component.getModelObjectAsString(Component.java:956) at wicket.markup.html.basic.Label.onComponentTagBody(Label.java:112) at wicket.Component.renderComponent(Component.java:1646) at wicket.markup.html.WebComponent.onRender(WebComponent.java:60) at wicket.Component.render(Component.java:1484) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1303) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:951) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:886) at wicket.Component.renderComponent(Component.java:1646) at wicket.MarkupContainer.onRender(MarkupContainer.java:896) at wicket.Component.render(Component.java:1484) at wicket.Component.render(Component.java:1450) at wicket.MarkupContainer.autoAdd(MarkupContainer.java:191) at wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:65) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1330) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:951) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:886) at wicket.Component.renderComponent(Component.java:1646) at wicket.MarkupContainer.onRender(MarkupContainer.java:896) at wicket.Component.render(Component.java:1484) at wicket.Component.render(Component.java:1450) at wicket.MarkupContainer.autoAdd(MarkupContainer.java:191) at wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:72) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1330) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:951) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:886) at wicket.Component.renderComponent(Component.java:1646) at wicket.MarkupContainer.onRender(MarkupContainer.java:896) at wicket.Component.render(Component.java:1484) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1303) at wicket.MarkupContainer.renderAll(MarkupContainer.java:913) at wicket.Page.onRender(Page.java:1007) at wicket.Component.render(Component.java:1484) at wicket.Page.renderPage(Page.java:411) at wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:158) at wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:59) at wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:102) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:975) at wicket.RequestCycle.step(RequestCycle.java:1042) at wicket.RequestCycle.steps(RequestCycle.java:1116) at wicket.RequestCycle.request(RequestCycle.java:456) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:263) at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:133) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:61) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:59) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:61) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: wicket.WicketRuntimeException: Error calling method: public java.lang.String org.artifactory.webapp.wicket.ArtifactoryPage.getUserName() on object: [Page class = org.artifactory.webapp.wicket.home.HomePage, id = 6, version = 0] at wicket.util.lang.PropertyResolver$MethodGetAndSet.getValue(PropertyResolver.java:815) at wicket.util.lang.PropertyResolver$ObjectAndGetSetter.getValue(PropertyResolver.java:466) at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:91) at wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:131) at wicket.model.AbstractDetachableModel.getObject(AbstractDetachableModel.java:102) ... 67 more Caused by: java.lang.NullPointerException at org.artifactory.webapp.wicket.ArtifactoryPage.getUserName(ArtifactoryPage.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at wicket.util.lang.PropertyResolver$MethodGetAndSet.getValue(PropertyResolver.java:811) ... 71 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.