Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
I edited myarticle1. Selected action end publication. This threw NPE below.
I suggest we also improve the logging in the catch InvocationTargetException part by proving the className variable.
22.07.2009 10:43:44 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.creat
ePlugin():89] java.lang.NullPointerException: null
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor79.newInstance(Unknown Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFa
ctory.java:71)
at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.j
ava:84)
at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.j
ava:241)
at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl
.java:112)
at org.hippoecm.frontend.editor.viewer.ViewerPlugin.createTemplate(Viewe
rPlugin.java:90)
at org.hippoecm.frontend.editor.viewer.ViewerPlugin.onModelChanged(Viewe
rPlugin.java:68)
at org.apache.wicket.Component.modelChanged(Component.java:2105)
at org.hippoecm.frontend.service.render.AbstractRenderService.onEvent(Ab
stractRenderService.java:219)
at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationConte
xt.notifyObservers(ObservableRegistry.java:76)
at org.hippoecm.frontend.model.event.JcrEventListener.onEvent(JcrEventLi
stener.java:62)
at org.hippoecm.frontend.JcrObservationManager$JcrListener.process(JcrOb
servationManager.java:753)
at org.hippoecm.frontend.JcrObservationManager.processEvents(JcrObservat
ionManager.java:1035)
at org.hippoecm.frontend.Home.processEvents(Home.java:145)
at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(Plugi
nRequestCycleProcessor.java:37)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
ava:1175)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
355)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
va:200)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1084)
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(Co
ncurrentLoginFilter.java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
60)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
26)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
5)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:488)
Caused by: java.lang.NullPointerException
at org.hippoecm.frontend.editor.model.ValueTemplateProvider.load(ValueTe
mplateProvider.java:184)
at org.hippoecm.frontend.editor.model.AbstractProvider.size(AbstractProv
ider.java:75)
at org.hippoecm.frontend.editor.plugins.field.FieldPlugin$TemplateContro
ller.start(FieldPlugin.java:185)
at org.hippoecm.frontend.editor.plugins.field.FieldPlugin.updateProvider
(FieldPlugin.java:118)
at org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.<init>
(PropertyFieldPlugin.java:85)
... 42 more