incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Mohrmann <mohrm...@mail.upb.de>
Subject Re: Problem with developing my own plugin
Date Wed, 20 Aug 2008 10:49:14 GMT
Hi,

I am using JSPWiki 2.6.3 and a tomcat 5.5.26

Here is my stacktrace:
2008-08-20 12:46:42,531 [http-8080-Processor25] INFO 
com.ecyrd.jspwiki.plugin.PluginManager JSPWiki:/JSPWiki/ 
JSPWiki:http://127.0.0.1:8080/JSPWiki/ - Plugin failed while executing:
java.lang.NoClassDefFoundError: 
org/bibsonomy/rest/client/exception/ErrorPerformingRequestException
    at SearchBibSonomyPlugin.execute(SearchBibSonomyPlugin.java:17)
    at 
com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:383)
    at com.ecyrd.jspwiki.forms.FormOutput.execute(FormOutput.java:127)
    at 
com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:383)
    at 
com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java:158)
    at org.jdom.output.XMLOutputter.printTextRange(XMLOutputter.java:1054)
    at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:934)
    at 
org.jdom.output.XMLOutputter.printContentRange(XMLOutputter.java:1007)
    at 
org.jdom.output.XMLOutputter.outputElementContent(XMLOutputter.java:445)
    at 
com.ecyrd.jspwiki.render.XHTMLRenderer.getString(XHTMLRenderer.java:63)
    at 
com.ecyrd.jspwiki.render.RenderingManager.getHTML(RenderingManager.java:258)
    at 
com.ecyrd.jspwiki.render.RenderingManager.getHTML(RenderingManager.java:299)
    at com.ecyrd.jspwiki.WikiEngine.textToHTML(WikiEngine.java:1469)
    at com.ecyrd.jspwiki.WikiEngine.getHTML(WikiEngine.java:1411)
    at 
com.ecyrd.jspwiki.tags.InsertPageTag.doWikiStartTag(InsertPageTag.java:128)
    at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:89)
    at 
org.apache.jsp.templates.default_.PageTab_jsp._jspx_meth_wiki_005fInsertPage_005f0(PageTab_jsp.java:657)
    at 
org.apache.jsp.templates.default_.PageTab_jsp._jspService(PageTab_jsp.java:270)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
    at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)
    at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:84)
    at 
org.apache.jsp.templates.default_.PageContent_jsp._jspx_meth_wiki_005fInclude_005f0(PageContent_jsp.java:422)
    at 
org.apache.jsp.templates.default_.PageContent_jsp._jspService(PageContent_jsp.java:139)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
    at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)
    at com.ecyrd.jspwiki.tags.ContentTag.doEndTag(ContentTag.java:126)
    at 
org.apache.jsp.templates.default_.ViewTemplate_jsp._jspx_meth_wiki_005fContent_005f0(ViewTemplate_jsp.java:552)
    at 
org.apache.jsp.templates.default_.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:137)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
    at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)
    at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:84)
    at org.apache.jsp.Wiki_jsp._jspService(Wiki_jsp.java:108)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99)
    at com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:91)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: 
org.bibsonomy.rest.client.exception.ErrorPerformingRequestException
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1363)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 89 more
2008-08-20 12:46:42,531 [http-8080-Processor25] INFO 
com.ecyrd.jspwiki.plugin.PluginManager JSPWiki:/JSPWiki/ 
JSPWiki:http://127.0.0.1:8080/JSPWiki/ - Plugin failed while executing:
java.util.MissingResourceException: Can't find resource for bundle 
java.util.PropertyResourceBundle, key plugin.error.pluginfailed
    at java.util.ResourceBundle.getObject(Unknown Source)
    at java.util.ResourceBundle.getObject(Unknown Source)
    at java.util.ResourceBundle.getString(Unknown Source)
    at 
com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:404)
    at com.ecyrd.jspwiki.forms.FormOutput.execute(FormOutput.java:127)
    at 
com.ecyrd.jspwiki.plugin.PluginManager.execute(PluginManager.java:383)
    at 
com.ecyrd.jspwiki.parser.PluginContent.getText(PluginContent.java:158)
    at org.jdom.output.XMLOutputter.printTextRange(XMLOutputter.java:1054)
    at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:934)
    at 
org.jdom.output.XMLOutputter.printContentRange(XMLOutputter.java:1007)
    at 
org.jdom.output.XMLOutputter.outputElementContent(XMLOutputter.java:445)
    at 
com.ecyrd.jspwiki.render.XHTMLRenderer.getString(XHTMLRenderer.java:63)
    at 
com.ecyrd.jspwiki.render.RenderingManager.getHTML(RenderingManager.java:258)
    at 
com.ecyrd.jspwiki.render.RenderingManager.getHTML(RenderingManager.java:299)
    at com.ecyrd.jspwiki.WikiEngine.textToHTML(WikiEngine.java:1469)
    at com.ecyrd.jspwiki.WikiEngine.getHTML(WikiEngine.java:1411)
    at 
com.ecyrd.jspwiki.tags.InsertPageTag.doWikiStartTag(InsertPageTag.java:128)
    at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:89)
    at 
org.apache.jsp.templates.default_.PageTab_jsp._jspx_meth_wiki_005fInsertPage_005f0(PageTab_jsp.java:657)
    at 
org.apache.jsp.templates.default_.PageTab_jsp._jspService(PageTab_jsp.java:270)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
    at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)
    at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:84)
    at 
org.apache.jsp.templates.default_.PageContent_jsp._jspx_meth_wiki_005fInclude_005f0(PageContent_jsp.java:422)
    at 
org.apache.jsp.templates.default_.PageContent_jsp._jspService(PageContent_jsp.java:139)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
    at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)
    at com.ecyrd.jspwiki.tags.ContentTag.doEndTag(ContentTag.java:126)
    at 
org.apache.jsp.templates.default_.ViewTemplate_jsp._jspx_meth_wiki_005fContent_005f0(ViewTemplate_jsp.java:552)
    at 
org.apache.jsp.templates.default_.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:137)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
    at 
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)
    at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:84)
    at org.apache.jsp.Wiki_jsp._jspService(Wiki_jsp.java:108)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99)
    at com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:91)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Unknown Source)




Any suggestions?

THX for the help



Florian Holeczek schrieb:
> Hallo Benedikt,
>
> seems as if there's a problem with internationalization. Could you
> please create a Bug report in the JIRA Bugtracker on this issue?
>
> Which version are you using? I've had a look into the trunk code, and
> according to PluginManager, this error occurs when your plugin throws
> an Exception while executing. You should be able to see a stack trace
> in the logs, which will hopefully give you a hint on what is the
> problem with your code.
>
> Best Regards
>  Florian
>
> Urspr├╝ngliche Nachricht vom 20.08.2008 um 12:16:
>   
>> Hi,
>>     
>
>   
>> I am currently developing my own JSPWiki plugin.
>> So far everything worked well, but now I have a problem.
>> When I try to instantiate my own Java-Objects (I implemented the classes
>> on my own and put them with into the .jar file), I get the following error:
>>     
>
>   
>> Einf├╝gen eines Plugins fehlgeschlagen: Can't find resource for bundle 
>> java.util.PropertyResourceBundle, key plugin.error.pluginfailed
>>     
>
>
>   
>> Has anybody experience with that and knows how to help?
>>     
>
>   
>> Best regards
>>     


Mime
View raw message