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

Making a (string) field in the template editor first multiple and then require results in stacktrace and four warnings in the logs

    XMLWordPrintable

Details

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

    Description

      23.11.2009 12:10:47 ERROR [org.hippoecm.frontend.plugin.impl.PluginFactory.createPlugin():89] java.lang.IllegalArgumentException: Setting the index on a single valued property
      java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedConstructorAccessor115.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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:249)
      at org.hippoecm.frontend.plugin.impl.ClusterControl.start(ClusterControl.java:111)
      at org.hippoecm.frontend.editor.builder.RenderPluginEditorPlugin.updatePreview(RenderPluginEditorPlugin.java:282)
      at org.hippoecm.frontend.editor.plugins.field.FieldPluginEditorPlugin.access$400(FieldPluginEditorPlugin.java:48)
      at org.hippoecm.frontend.editor.plugins.field.FieldPluginEditorPlugin$PropertyEditor$3.onEvent(FieldPluginEditorPlugin.java:119)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:77)
      at org.hippoecm.frontend.editor.builder.TemplateBuilder$BuilderTypeDescriptor$1.onEvent(TemplateBuilder.java:348)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:77)
      at org.hippoecm.editor.tools.JcrTypeDescriptor$1.onEvent(JcrTypeDescriptor.java:432)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:77)
      at org.hippoecm.editor.tools.JcrFieldDescriptor.processEvents(JcrFieldDescriptor.java:166)
      at org.hippoecm.frontend.model.ocm.JcrObject$1.onEvent(JcrObject.java:115)
      at org.hippoecm.frontend.model.event.ObservableRegistry$ObservationContext.notifyObservers(ObservableRegistry.java:77)
      at org.hippoecm.frontend.model.event.JcrEventListener.onEvent(JcrEventListener.java:64)
      at org.hippoecm.frontend.JcrObservationManager$JcrListener.process(JcrObservationManager.java:646)
      at org.hippoecm.frontend.JcrObservationManager.processEvents(JcrObservationManager.java:1050)
      at org.hippoecm.frontend.Home.processEvents(Home.java:150)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:37)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
      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:230)
      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.IllegalArgumentException: Setting the index on a single valued property
      at org.hippoecm.frontend.model.properties.JcrPropertyValueModel.setIndex(JcrPropertyValueModel.java:290)
      at org.hippoecm.frontend.model.properties.JcrPropertyValueModel.<init>(JcrPropertyValueModel.java:104)
      at org.hippoecm.frontend.model.PropertyValueProvider.addNew(PropertyValueProvider.java:101)
      at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.getProvider(AbstractFieldPlugin.java:215)
      at org.hippoecm.frontend.editor.plugins.field.AbstractFieldPlugin.<init>(AbstractFieldPlugin.java:119)
      at org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin.<init>(PropertyFieldPlugin.java:59)
      ... 48 more
      23.11.2009 12:10:47 WARN [org.hippoecm.frontend.plugin.impl.PluginContext.registerService():174] plugin <unknown> is registering a service when stopping; ignoring
      23.11.2009 12:10:47 WARN [org.hippoecm.frontend.editor.builder.RenderPluginEditorPlugin.updatePreview():290] No render service found in plugin preview
      23.11.2009 12:10:47 WARN [org.apache.wicket.markup.html.form.AbstractTextComponent.getModelType():166] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[]]:expression=[size] for [MarkupContainer [Component id = widget]], please set the type yourself.
      23.11.2009 12:10:47 WARN [org.apache.wicket.markup.resolver.WicketMessageResolver$MessageContainer.onComponentTagBody():221] No value found for wicket:message tag with key: mandatory

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified