New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when trying to edit a translation flagged with "Missing Key" #204

Closed
mtrautwig opened this Issue Apr 10, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@mtrautwig
Contributor

mtrautwig commented Apr 10, 2014

When the edit view is opened for a translation with the "Missing Key" remark, the following NPE appears. This also happens in the edit view when pressing "Save & Next", if the next key is a missing one.

2014-04-10 12:52:00,668  [qtp1096042241-31] o.a.w.DefaultExceptionMapper [DefaultExceptionMapper.java : 123]
[ERROR] Unexpected error occurred
org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [ListItem [Component id = 1]]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1700) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:136) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.jabylon.rest.ui.wicket.BasicPanel.onBeforeRender(BasicPanel.java:70) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.jabylon.rest.ui.wicket.BasicPanel.onBeforeRender(BasicPanel.java:70) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.onBeforeRender(Component.java:3830) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Page.onBeforeRender(Page.java:802) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.jabylon.rest.ui.wicket.pages.GenericPage.onBeforeRender(GenericPage.java:57) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.internalPrepareForRender(Component.java:2204) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Page.internalPrepareForRender(Page.java:247) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.render(Component.java:2289) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Page.renderPage(Page.java:1021) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:115) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:237) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:165) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:814) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[org.apache.wicket.wicket-request-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:253) [org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210) [org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281) [org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188) [org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245) [org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.jabylon.rest.ui.JabylonFilter.doFilter(JabylonFilter.java:89) [org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.eclipse.equinox.http.registry.internal.FilterManager$FilterWrapper.doFilter(FilterManager.java:173) [org.eclipse.equinox.http.registry-1.1.200.jar:na]
    at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) [org.eclipse.equinox.http.servlet-1.1.300.jar:na]
    at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) [org.eclipse.equinox.http.servlet-1.1.300.jar:na]
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132) [org.eclipse.equinox.http.servlet-1.1.300.jar:na]
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76) [org.eclipse.equinox.http.servlet-1.1.300.jar:na]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.jar:na]
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:386) [org.eclipse.equinox.http.jetty-3.0.100.jar:na]
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) [org.eclipse.jetty.servlet-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457) [org.eclipse.jetty.servlet-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [org.eclipse.jetty.servlet-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.Server.handle(Server.java:368) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) [org.eclipse.jetty.http-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [org.eclipse.jetty.http-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [org.eclipse.jetty.server-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) [org.eclipse.jetty.io-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [org.eclipse.jetty.io-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [org.eclipse.jetty.util-8.1.10.jar:8.1.10.v20130312]
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [org.eclipse.jetty.util-8.1.10.jar:8.1.10.v20130312]
    at java.lang.Thread.run(Thread.java:722) [na:1.7.0_13]
Caused by: java.lang.NullPointerException: null
    at org.jabylon.rest.ui.tools.TerminologyAidToolPanel.analyze(TerminologyAidToolPanel.java:113) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.jabylon.rest.ui.tools.TerminologyAidToolPanel.construct(TerminologyAidToolPanel.java:82) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.jabylon.rest.ui.wicket.BasicPanel.internalConstruct(BasicPanel.java:80) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.jabylon.rest.ui.wicket.BasicPanel.onBeforeRender(BasicPanel.java:68) ~[org.jabylon.rest.ui-1.2.0-SNAPSHOT.jar:na]
    at org.apache.wicket.Component.internalBeforeRender(Component.java:922) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.Component.beforeRender(Component.java:990) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1688) ~[org.apache.wicket.wicket-core-6.0.0.jar:6.0.0]
    ... 75 common frames omitted

@jutzig jutzig added the bug label Apr 11, 2014

@jutzig jutzig added this to the 1.1.1 milestone Apr 11, 2014

@jutzig jutzig self-assigned this Apr 11, 2014

@jutzig jutzig closed this in 5c25616 Apr 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment