It looks like one of your pages has a plugin invocation which is for
some reason killing the parser. This should not be happening,
so it is likely that you've found a bug.
Any chance you could try to figure out what page is causing this and
let us know what the invocation is? You might be able to get some
information out of the parser if you set
log4j.category.com.ecyrd.jspwiki=DEBUG
in your jspwiki.properties.
/Janne
On 30 May 2008, at 17:26, Jim Willeke wrote:
We have three of four JSPWiki Instances working; but this one, the
important one will not work.
We see in the log for this Instance:
We get the error:
2008-05-30 10:11:26,685 [main] INFO com.ecyrd.jspwiki.WikiEngine -
*******************************************
2008-05-30 10:11:26,685 [main] INFO com.ecyrd.jspwiki.WikiEngine -
JSPWiki 2.6.2 starting. Whee!
2008-05-30 10:11:26,685 [main] INFO com.ecyrd.jspwiki.WikiEngine -
Servlet container: Apache Tomcat/6.0.16
2008-05-30 10:11:26,686 [main] INFO com.ecyrd.jspwiki.WikiEngine -
JSPWiki working directory is '/srv/tomcat/temp/ldapwiki'
2008-05-30 10:11:26,687 [main] INFO
com.ecyrd.jspwiki.providers.AbstractFileProvider - Wikipages are read
from '/srv/www/htdocs/ldapwiki'
2008-05-30 10:11:26,687 [main] INFO
com.ecyrd.jspwiki.plugin.PluginManager - Registering plugins
2008-05-30 10:11:26,690 [main] INFO
com.ecyrd.jspwiki.diff.DifferenceManager - Using difference provider:
ContextualDiffProvider
2008-05-30 10:11:26,692 [main] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider - Lucene enabled, cache
will be in: /srv/tomcat/temp/ldapwiki/lucene
2008-05-30 10:11:26,692 [main] INFO com.ecyrd.jspwiki.ui.EditorManager
- Registering editor modules
2008-05-30 10:11:26,695 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager - Checking JAAS
configuration...
2008-05-30 10:11:26,695 [main] INFO
com.ecyrd.jspwiki.auth.AuthenticationManager - JAAS already
configured by some other application (leaving it alone...)
2008-05-30 10:11:26,695 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - Examining
jndi:/localhost/ldapwiki/WEB-INF/web.xml
2008-05-30 10:11:26,709 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - JSPWiki is
using container-managed authentication.
2008-05-30 10:11:26,709 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - JSPWiki
determined the web container manages these roles:
[com.ecyrd.jspwiki.auth.authorize.Role: admin]
[com.ecyrd.jspwiki.auth.authorize.Role: Authenticated]
2008-05-30 10:11:26,709 [main] INFO
com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - Authorizer
WebContainerAuthorizer initialized successfully.
2008-05-30 10:11:26,713 [main] INFO
com.ecyrd.jspwiki.auth.AuthorizationManager - Initialized default
security policy: /srv/www/webapps/ldapwiki/WEB-INF/jspwiki.policy
2008-05-30 10:11:26,713 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager - Attempting to load
group database class com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase
2008-05-30 10:11:26,714 [main] ERROR
com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase - XML group
database property jspwiki.xmlGroupDatabaseFile not found; trying
/srv/www/webapps/ldapwiki/WEB-INF/groupdatabase.xml
2008-05-30 10:11:26,714 [main] INFO
com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase - XML group
database at /srv/www/webapps/ldapwiki/WEB-INF/groupdatabase.xml
2008-05-30 10:11:26,716 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager - Group database
initialized.
2008-05-30 10:11:26,717 [main] INFO
com.ecyrd.jspwiki.auth.authorize.GroupManager - Authorizer
GroupManager initialized successfully; loaded 0 group(s).
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Using JDK 1.5 Platform
MBeanServer
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager -
com.sun.jmx.mbeanserver.JmxMBeanServer
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - DefaultDomain
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new admin
bean Core bean
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new admin
bean User administration
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new admin
bean Search manager
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new admin
bean Plugins
2008-05-30 10:11:26,719 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new admin
bean WikiWizard
2008-05-30 10:11:26,731 [main] INFO
com.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new admin
bean Plain editor
2008-05-30 10:11:26,731 [main] INFO com.ecyrd.jspwiki.WikiEngine -
Registering filters
2008-05-30 10:11:26,734 [main] INFO com.ecyrd.jspwiki.WikiEngine -
Cannot find property file for filters (this is okay, expected to find
it as: '/WEB-INF/filters.xml')
2008-05-30 10:11:26,735 [main] INFO
com.ecyrd.jspwiki.render.RenderingManager - Rendering content with
com.ecyrd.jspwiki.render.XHTMLRenderer.
2008-05-30 10:11:27,123 [main] INFO com.ecyrd.jspwiki.ReferenceManager
- Starting cross reference scan of WikiPages
2008-05-30 10:11:27,123 [main] INFO com.ecyrd.jspwiki.ReferenceManager
- Unable to unserialize old refmgr information, rebuilding database:
/srv/tomcat/temp/ldapwiki/refmgr.ser (No such file or directory)
2008-05-30 10:11:27,127 [main] INFO com.ecyrd.jspwiki.auth.UserManager
- Attempting to load user database class
com.ecyrd.jspwiki.auth.user.XMLUserDatabase
2008-05-30 10:11:27,127 [main] ERROR
com.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user database
property jspwiki.xmlUserDatabaseFile not found; trying
/srv/www/webapps/ldapwiki/WEB-INF/userdatabase.xml
2008-05-30 10:11:27,127 [main] INFO
com.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user database
at /srv/www/webapps/ldapwiki/WEB-INF/userdatabase.xml
2008-05-30 10:11:27,129 [main] INFO com.ecyrd.jspwiki.auth.UserManager
- UserDatabase initialized.
2008-05-30 10:11:27,442 [JSPWiki Lucene Indexer] INFO
com.ecyrd.jspwiki.search.LuceneSearchProvider - Files found in Lucene
directory, not reindexing.
2008-05-30 10:11:28,301 [main] FATAL com.ecyrd.jspwiki.WikiEngine -
Failed to start managers.
java.lang.NullPointerException
at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleHyperlinks
(JSPWikiMarkupParser.java:1407)
at com.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleOpenbracket
(JSPWikiMarkupParser.java:2203)
at com.ecyrd.jspwiki
Any Ideas?
Thanks
--
-jim
Jim Willeke