You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2008/01/28 14:19:35 UTC

[jira] Resolved: (JSPWIKI-164) NullPointerException in com.ecyrd.jspwiki.util.WatchDog

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

Harry Metske resolved JSPWIKI-164.
----------------------------------

    Resolution: Cannot Reproduce

Cleaned up tomcat's work directory, tomcat's temp directory (filesys was almost full), jspwiki's work directory.
Can't reproduce anymore right now.
Upgraded to 2.6.1-cvs-9, including patches for JSPWiki-10 JSPWiki-50 JSPWiki-100, so we can start some testing.

> NullPointerException in com.ecyrd.jspwiki.util.WatchDog
> -------------------------------------------------------
>
>                 Key: JSPWIKI-164
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-164
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.6.1
>         Environment: z/OS 1.8
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 z/OS s390x-64 j9vmmz6423-20071007 (JIT enabled)
> Tomcat 5.5.17
> JSPWiki 2.6.1-cvs-9
>            Reporter: Harry Metske
>
> I can successfully run JSPWiki 2.6.1 (all releases) on Linux with Sun JDK 5, but on an IBM JDK on z/OS JSPWiki does not startup.
> The stdout shows the following NPE's :
> Starting up background thread: JSPWiki Lucene Indexer.                                                        
> Starting up background thread: WatchDog for 'JSPWiki'.                                                        
> Starting up background thread: JSPWiki Lucene Indexer.                                                        
> 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.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)
> I'm not quite sure if this is a JVM bug or a JSPWiki bug.
> I ran some additional debug-versions of JSPWiki, these showed that more static class variables, for instance c_kennel was null at line 375.

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