[opencms-dev] Problem with captcha preset in Webform module 2.0.1
gnorrus at libero.it
gnorrus at libero.it
Mon Dec 17 19:28:05 CET 2012
Hi
In tab Additional configuration of Webform module the combo of field "Preset"
is empty
In opencms.log I see the error:
ERROR [.CmsSelectWidgetXmlcontentType: 708] SelectWidget of type "class com.
alkacon.opencms.v8.formgenerator.CmsSelectWidgetXmlcontentType" with
configuration "folder=/system/modules/com.alkacon.opencms.v8.
formgenerator/captcha/|resourcetypeName=xmlcontent|displayOptionMacro=${property.
Title}" could not read the resources to offer.
java.lang.NullPointerException
at com.alkacon.opencms.v8.formgenerator.CmsSelectWidgetXmlcontentType.
parseConfigurationInternal(CmsSelectWidgetXmlcontentType.java:825)
at com.alkacon.opencms.v8.formgenerator.CmsSelectWidgetXmlcontentType.
parseSelectOptions(CmsSelectWidgetXmlcontentType.java:600)
at org.opencms.widgets.A_CmsSelectWidget.getConfiguration(A_CmsSelectWidget.
java:142)
at org.opencms.ade.contenteditor.CmsContentService$TypeVisitor.
readConfiguration(CmsContentService.java:305)
at org.opencms.ade.contenteditor.CmsContentService$TypeVisitor.readTypes
(CmsContentService.java:372)
at org.opencms.ade.contenteditor.CmsContentService$TypeVisitor.readTypes
(CmsContentService.java:384)
at org.opencms.ade.contenteditor.CmsContentService$TypeVisitor.visitTypes
(CmsContentService.java:210)
at org.opencms.ade.contenteditor.CmsContentService.readContentDefinition
(CmsContentService.java:969)
at org.opencms.ade.contenteditor.CmsContentService.loadDefinition
(CmsContentService.java:479)
at org.opencms.ade.contenteditor.CmsContentService.loadDefinition
(CmsContentService.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost
(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost
(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.opencms.gwt.CmsGwtService.service(CmsGwtService.java:191)
at org.opencms.main.OpenCmsCore.invokeGwtService(OpenCmsCore.java:1579)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:150)
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:498)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
394)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
(Http11Protocol.java:188)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.
java:302)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
908)
at java.lang.Thread.run(Thread.java:662)
Inside folder /system/modules/com.alkacon.opencms.v8.formgenerator/captcha/ I
have some xmlcontent that should be displayed inside the combo
is a bug?
thanks
More information about the opencms-dev
mailing list