incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JSPWIKI-447) InstantiationException in PluginManager
Date Sun, 30 Nov 2008 14:23:44 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harry Metske closed JSPWIKI-447.
--------------------------------

    Resolution: Fixed

Fixed in 3.0.0-svn-16

> InstantiationException in PluginManager
> ---------------------------------------
>
>                 Key: JSPWIKI-447
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-447
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.8, 2.8.1, 2.8.2, 3.0
>         Environment: N/A
>            Reporter: Harry Metske
>            Assignee: Harry Metske
>            Priority: Minor
>             Fix For: 3.0
>
>
> During startup the PluginManager throws the following Exceptions :
> 2008-11-30 13:33:23,443 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager  - Cannot
initialize plugin com.ecyrd.jspwiki.forms.FormElement
> java.lang.InstantiationException
>        at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at java.lang.Class.newInstance0(Class.java:355)
>        at java.lang.Class.newInstance(Class.java:308)
>        at com.ecyrd.jspwiki.plugin.PluginManager$WikiPluginInfo.newPluginInstance(PluginManager.java:798)
>        at com.ecyrd.jspwiki.plugin.PluginManager$WikiPluginInfo.initializePlugin(PluginManager.java:897)
>        at com.ecyrd.jspwiki.plugin.PluginManager.registerPlugin(PluginManager.java:692)
>        at com.ecyrd.jspwiki.plugin.PluginManager.registerAllPlugins(PluginManager.java:718)
>        at com.ecyrd.jspwiki.plugin.PluginManager.<init>(PluginManager.java:199)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>        at com.ecyrd.jspwiki.util.ClassUtil.getMappedObject(ClassUtil.java:277)
>        at com.ecyrd.jspwiki.util.ClassUtil.getMappedObject(ClassUtil.java:229)
>        at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:531)
>        at com.ecyrd.jspwiki.WikiEngine.<init>(WikiEngine.java:400)
>        at com.ecyrd.jspwiki.WikiEngine.getInstance(WikiEngine.java:341)
>        at com.ecyrd.jspwiki.ui.WikiServletFilter.init(WikiServletFilter.java:80)
>        at com.ecyrd.jspwiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:76)
>        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
>        at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
>        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
>        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
>        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
>        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
>        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>        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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> This is done for :
> metskem@blackpearl:/var/jspwiki/log$ grep 'Cannot initialize plugin' jspwiki.log 
> 2008-11-28 20:20:37,433 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager  - Cannot
initialize plugin com.ecyrd.jspwiki.plugin.AbstractReferralPlugin
> 2008-11-28 20:20:37,621 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager  - Cannot
initialize plugin com.ecyrd.jspwiki.forms.FormElement
> 2008-11-28 20:20:37,631 [main] INFO com.ecyrd.jspwiki.plugin.PluginManager  - Cannot
initialize plugin com.ecyrd.jspwiki.plugin.WikiPlugin
> The PluginManager user the Stripes Resolver Utility to find implementations of WikiPlugin:
> resolver.findImplementations( WikiPlugin.class, paths );
> This list also includes Interfaces and abstract classes, those should be excluded from
registering.
> Fix is being worked on

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message