Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-3458

NPE when using custom compound address

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • r2.10.00
    • None
    • None

    Description

      create new document type
      add string
      add custom compound as multiple
      done
      update all content

      create a new document instance of the new type
      save
      emtpy streetname
      save

      no feedback that streetname is empty, instead stacktrace below

      stacktrace:
      25.11.2009 10:59:34 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.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1727)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3854)
      at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:1
      51)
      at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableVie
      w.java:116)
      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.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.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.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.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.headerComplete(HttpConnection.java:864)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
      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)
      ... 74 more
      25.11.2009 10:59:34 WARN [org.hippoecm.frontend.plugin.impl.PluginContext.registerService():215] pl
      ugin <unknown> is registering a service when stopping; ignoring

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            swesten Stephan Westen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: