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 14:47:09 UTC

[jira] Created: (JSPWIKI-185) NullPointerException during deployment

NullPointerException during deployment
--------------------------------------

                 Key: JSPWIKI-185
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-185
             Project: JSPWiki
          Issue Type: Bug
    Affects Versions: 2.6.1
         Environment: osx 10.5.2, jvm 1.5.0_13-b05-237, tomcat 5.5.26
            Reporter: iliad


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.


Re: [jira] Created: (JSPWIKI-185) NullPointerException during deployment

Posted by Harry Metske <ha...@gmail.com>.
sounds familiar to me:

https://issues.apache.org/jira/browse/JSPWIKI-164

Harry

2008/2/13, iliad (JIRA) <ji...@apache.org>:
>
> NullPointerException during deployment
> --------------------------------------
>
>                  Key: JSPWIKI-185
>                  URL: https://issues.apache.org/jira/browse/JSPWIKI-185
>              Project: JSPWiki
>           Issue Type: Bug
>     Affects Versions: 2.6.1
>          Environment: osx 10.5.2, jvm 1.5.0_13-b05-237, tomcat 5.5.26
>             Reporter: iliad
>
>
> 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.AprLifecycleListenerlifecycleEvent
> 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.
>
>


-- 
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081

[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "iliad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570141#action_12570141 ] 

iliad commented on JSPWIKI-185:
-------------------------------

Looked again into it, still the same problems. i have no idea how to solve this. fresh tomcat installations, always the same NPE. Any ideas welcome.

> 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: Minor
>
> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "iliad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570168#action_12570168 ] 

iliad commented on JSPWIKI-185:
-------------------------------

:)

i could not access "http://myhost/JSPWiki/Install.jsp" because of the NPE (just gave me a 404).  on my system the "really simple installation" worked only AFTER i had adjusted the above mentioned settings manually.

> 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: Minor
>
> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "iliad (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568642#action_12568642 ] 

Harry Metske commented on JSPWIKI-185:
--------------------------------------

This is an exact duplicate of JSPWIKI-164.
And I did the same modifications, getting the same NPE's at the same statements.
After cleaning up tomcat's work directory, tomcat's temp directory , and jspwiki's work directory, I could not reproduce.......

> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570149#action_12570149 ] 

Janne Jalkanen commented on JSPWIKI-185:
----------------------------------------

Yupyup, I really think you should follow the installation instructions from the README file.

(Granted, we should probably have a better error report, since this is probably a pretty common problem.)

> 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: Minor
>
> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "iliad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568694#action_12568694 ] 

iliad commented on JSPWIKI-185:
-------------------------------

Harry, thanks for your comment! i used a new tomcat installation for this, but i'll have another look on it on friday..

> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "iliad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570153#action_12570153 ] 

iliad commented on JSPWIKI-185:
-------------------------------

i could solve the problem by manually adjusting the following settings in jspwiki.properties:
- jspwiki.fileSystemProvider.pageDir
- jspwiki.basicAttachmentProvider.storageDir
- log4j.appender.FileLog.File

thanks for your quick help!  

> 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: Minor
>
> 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.


[jira] Resolved: (JSPWIKI-185) NullPointerException during deployment

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janne Jalkanen resolved JSPWIKI-185.
------------------------------------

    Resolution: Fixed

NPEs should be gone in 2.7.0-svn-42.  Also, improved the installer a bit to redirect you to the Install.jsp if it detects that the installation is not done yet.

> 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: Minor
>             Fix For: 2.8
>
>
> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570146#action_12570146 ] 

Florian Holeczek commented on JSPWIKI-185:
------------------------------------------

In JSPWIKI-185, Janne wrote:
{quote}You should not deploy JSPWiki from a WAR file.  It is not guaranteed to work.{quote}
You wrote that you're doing this. Try unzipping the WAR file manually to webapps/JSPWiki. Maybe this helps!

> 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: Minor
>
> 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.


[jira] Commented: (JSPWIKI-185) NullPointerException during deployment

Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570158#action_12570158 ] 

Florian Holeczek commented on JSPWIKI-185:
------------------------------------------

Well that's called configuring ;-)
See http://doc.jspwiki.org/2.4/wiki/InstallingJSPWiki
{quote}Next, point your browser to http://myhost/JSPWiki/Install.jsp and follow the on-screen directions. The installer will ask you where you'd like to store wiki pages, put log files, and a few other things. It will also set up a privileged user account that you will use to manage the wiki. After that, you should restart the JSPWiki webapp (or the container) and you should be ready to start using your new wiki.{quote}
I suppose you had ommited this step?

However, JSPWiki should come up with some meaningful log entries instead of NPEs!
A very nice solution would be to automatically detect an initial startup and redirect to Install.jsp automatically.

> 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: Minor
>
> 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.