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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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 = 1, version = 0]]:expression=[userName]:propertyType=[null], called with component
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 = 1, version = 0]]:expression=[userName]:propertyType=[null], called with component
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)
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)
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.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:77)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:61)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.