You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "iliad (JIRA)" <ji...@apache.org> on 2008/02/13 17:03:09 UTC
[jira] Commented: (JSPWIKI-185) NullPointerException during
deployment
[ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568603#action_12568603 ]
iliad commented on JSPWIKI-185:
-------------------------------
Janne, thx for the quick hint. i uncommented already logging in WatchDog.java. I got a different nullpointer exception
10:21:19,725 INFO [ServerDetector:76] Detected server tomcat
10:21:19,865 INFO [AutoDeployDir:76] Auto deploy scanner started for ../deploy
Starting up background thread: JSPWiki Lucene Indexer.
Starting up background thread: WatchDog for 'JSPWiki'.
Starting up background thread: JSPWiki Lucene Indexer.
Loading jar:file:/Users/jens/my/data/proj/tytti/tomcat/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cms-redirects.properties
10:21:35,109 INFO [[/tunnel-web]:646] Loading Spring root WebApplicationContext
10:21:37,669 INFO [[/tunnel-web]:646] Loading WebApplicationContext for Spring FrameworkServlet 'SpringServlet'
Background thread error: (stack trace follows)
java.lang.NullPointerException
at com.ecyrd.jspwiki.util.WatchDog$WatchDogThread.backgroundTask(WatchDog.java:378)
at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
Exception in thread "WatchDog for 'JSPWiki'" com.ecyrd.jspwiki.InternalWikiException
at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
WatchDog.java
376: public void backgroundTask() throws Exception
377: {
378: synchronized( c_kennel )
379: {
380: for( Iterator i = c_kennel.entrySet().iterator(); i.hasNext(); )
> NullPointerException during deployment
> --------------------------------------
>
> Key: JSPWIKI-185
> URL: https://issues.apache.org/jira/browse/JSPWIKI-185
> Project: JSPWiki
> Issue Type: Bug
> Components: Core & storage
> Affects Versions: 2.6.1
> Environment: osx 10.5.2, jvm 1.5.0_13-b05-237, tomcat 5.5.26
> Reporter: iliad
> Priority: Blocker
>
> Thanks a lot for helping! I just wanted to have a first look on JSPWiki and got the following problem:
> - installed new naked tomcat 5.5.26
> - copied JSPWiki.war into webapps
> - http://localhost:8080/JSPWiki/ gives a 404 error page
> - catalina.out:
> Feb 13, 2008 3:35:42 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
> Feb 13, 2008 3:35:42 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Feb 13, 2008 3:35:42 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 724 ms
> Feb 13, 2008 3:35:42 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Feb 13, 2008 3:35:42 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
> Feb 13, 2008 3:35:42 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Feb 13, 2008 3:35:42 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive JSPWiki.war
> Starting up background thread: JSPWiki Lucene Indexer.
> Starting up background thread: WatchDog for 'JSPWiki'.
> Starting up background thread: JSPWiki Lucene Indexer.
> Feb 13, 2008 3:35:44 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error filterStart
> Feb 13, 2008 3:35:44 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/JSPWiki] startup failed due to previous errors
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
> at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
> at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
> at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
> at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Feb 13, 2008 3:35:45 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Feb 13, 2008 3:35:45 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Feb 13, 2008 3:35:45 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/23 config=null
> Feb 13, 2008 3:35:45 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Feb 13, 2008 3:35:45 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3413 ms
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
> at com.ecyrd.jspwiki.util.WatchDog.enterState(WatchDog.java:231)
> at com.ecyrd.jspwiki.search.LuceneSearchProvider$LuceneUpdater.backgroundTask(LuceneSearchProvider.java:711)
> at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "JSPWiki Lucene Indexer" com.ecyrd.jspwiki.InternalWikiException
> at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
> Background thread error: (stack trace follows)
> java.lang.NullPointerException
> at com.ecyrd.jspwiki.util.WatchDog$WatchDogThread.backgroundTask(WatchDog.java:375)
> at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:135)
> Exception in thread "WatchDog for 'JSPWiki'" com.ecyrd.jspwiki.InternalWikiException
> at com.ecyrd.jspwiki.util.WikiBackgroundThread.run(WikiBackgroundThread.java:171)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.