Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
Create a new document type
add a string field
add custom compound address
make the latter required
see stacktrace
I'm OK if it not possible to declare a compound as required.
25.11.2009 10:55:20 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():89] java.l
ang.NullPointerException: null
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor77.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm
pl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin(PluginFactory.java:71)
at org.hippoecm.frontend.plugin.impl.PluginManager.start(PluginManager.java:83)
at org.hippoecm.frontend.plugin.impl.PluginContext.start(PluginContext.java:309)
at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:111)
at org.hippoecm.frontend.editor.plugins.field.FieldItemRenderer.<init>(FieldItemRenderer.jav
a:79)
at org.hippoecm.frontend.editor.plugins.field.TemplateController.addModel(TemplateController
.java:85)
at org.hippoecm.frontend.editor.plugins.field.TemplateController.start(TemplateController.ja
va:60)
at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.onBeforeRender(AbstractFie
ldPlugin.java:202)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1061)
at org.apache.wicket.Component.beforeRender(Component.java:1095)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1727)
at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1061)
at org.apache.wicket.Component.beforeRender(Component.java:1095)
at org.apache.wicket.Component.prepareForRender(Component.java:2223)
at org.apache.wicket.Component.prepareForRender(Component.java:2260)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:804)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:680)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:590)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProce
ssor.java:105)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
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:468)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.
java:54)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:2
30)
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:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: java.lang.NullPointerException
at org.hippoecm.frontend.editor.validator.FilteredValidationResult.isValid(FilteredValidatio
nResult.java:61)
at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.<init>(AbstractFieldPlugin
.java:162)
at org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.<init>(PropertyFieldPlugin
.java:59)
... 48 more
25.11.2009 10:55:20 WARN [org.hippoecm.frontend.plugin.impl.PluginContext.registerService():215] pl
ugin <unknown> is registering a service when stopping; ignoring