Jim,
I added some extra debugging and safety checks to the current SVN trunk (2.7.0-svn-31). Could you please download the latest nightly and check if it works for you? It might incur some *new* bugs, but I'm mainly concerned if it solves these particular issues!
/Janne On 31 May 2008, at 11:40, Janne Jalkanen wrote:
Then I have to admit that I am *totally* stymied.You could add a null-check to the offending line to see that if it helps, but that's really just patching the symptom not the problem. If you could run a debugger and check what is going on (or send me a minimal state of the repository that I can use to replicate the problem), that would be of immense help!/Janne On 31 May 2008, at 11:29, Jim Willeke wrote:There is no "<pagename>-att subdirectory" Not positive if there was an attachment. for the page. Thanks -jim On Sat, May 31, 2008 at 3:50 AM, Janne Jalkanen <[EMAIL PROTECTED]> wrote:Does the page have attachments? And if it does not, can you also check the repository directly if there is an <pagename>-att subdirectory and whetherit is empty? /Janne On 30 May 2008, at 23:48, Jim Willeke wrote:I see nothing on that page. Now it looks like:2008-05-30 16:43:31,348 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Creating WikiContext for session ID=(null); target=LUMiscTricks2008-05-30 16:43:31,348 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Do we need to log the user in? false2008-05-30 16:43:31,348 [main] DEBUG com.ecyrd.jspwiki.WikiSession - Looking up WikiSession for NULL HttpRequest: returning guestSession() 2008-05-30 16:43:31,348 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Creating WikiContext for session ID=(null); target=LUMiscTricks2008-05-30 16:43:31,348 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Do we need to log the user in? false 2008-05-30 16:43:31,349 [main] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Gettingattachments for WikiPage [ldapwiki:LUMiscTricks,ver=1,mod=Sat May 2409:26:01 EDT 2008], name=SunOsIpSetup, version=-1 2008-05-30 16:43:31,349 [main] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - ...needs refresh 2008-05-30 16:43:31,349 [main] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Gettingattachments for WikiPage [ldapwiki:LUMiscTricks,ver=1,mod=Sat May 2409:26:01 EDT 2008], name=UsingRPM, version=-1 2008-05-30 16:43:31,349 [main] DEBUGcom.ecyrd.jspwiki.providers.CachingAttachmentProvider - ...FOUND inthe cache2008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.WikiEngine -Page LUMiscTricks rendered, took 0:00:00.002 2008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Listingattachments for WikiPage [ldapwiki:LUMiscTricks,ver=1,mod=Sat May 2409:26:01 EDT 2008] 2008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - LIST from cache, LUMiscTricks, size=02008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.WikiSession - Looking up WikiSession for NULL HttpRequest: returning guestSession() 2008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Creating WikiContext for session ID=(null); target=VerifyFilePermissions2008-05-30 16:43:31,350 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Do we need to log the user in? false2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiEngine -Page VerifyFilePermissions rendered, took 0:00:00.001 2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Listingattachments for WikiPage [ldapwiki:VerifyFilePermissions,ver=1,mod=FriMay 30 15:38:49 EDT 2008]2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiSession - Looking up WikiSession for NULL HttpRequest: returning guestSession() 2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiContext - Creating WikiContext for session ID=(null); target=AccessControlLists 2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Do we need to log the user in? false2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiSession - Looking up WikiSession for NULL HttpRequest: returning guestSession() 2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiContext - Creating WikiContext for session ID=(null); target=AccessControlLists 2008-05-30 16:43:31,351 [main] DEBUG com.ecyrd.jspwiki.WikiContext -Do we need to log the user in? false2008-05-30 16:43:31,352 [main] FATAL com.ecyrd.jspwiki.WikiEngine -Failed to start managers. java.lang.NullPointerException atcom.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleHyperlinks (JSPWikiMarkupParser.java:1407)atcom.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleOpenbracket (JSPWikiMarkupParser.java:2203)Which (VerifyFilePermissions) has one line: "This function runs various commands and sets owner and permision changes that are made to the OS to Allows support of eDirectory without direct root access." Thanks for the help. -jim On Fri, May 30, 2008 at 4:26 PM, Janne Jalkanen <[EMAIL PROTECTED]> wrote:Looks like a different error, so it sounds very strange.Try looking at the page to find any strange plugin invocation strings.Onetrick would be to split it onto a couple of different pages to see whatpart of the page fails. /Janne On 30 May 2008, at 23:11, Jim Willeke wrote:Is this a clue....? 2008-05-30 16:02:54,149 [JSPWiki Lucene Indexer] DEBUG com.ecyrd.jspwiki.providers.CachingAttachmentProvider - Listing attachments for WikiPage [ldapwiki:OperationsBuildScriptInformation,ver=1,mod=Sat May 24 09:29:11 EDT 2008] 2008-05-30 16:02:54,169 [JSPWiki Lucene Indexer] ERROR com.ecyrd.jspwiki.search.LuceneSearchProvider - Unable to start lucene java.lang.NullPointerException atcom.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCac he.get(AbstractConcurrentReadCache.java:692)at com.opensymphony.oscache.base.Cache.getCacheEntry(Cache.java:657)at com.opensymphony.oscache.base.Cache.putInCache (Cache.java:605) at com.opensymphony.oscache.base.Cache.putInCache (Cache.java:569)atcom.ecyrd.jspwiki.providers.CachingProvider.getTextFromCache (CachingProvider.java:524)atcom.ecyrd.jspwiki.providers.CachingProvider.getPageText (CachingProvider.java:475) at com.ecyrd.jspwiki.PageManager.getPageText (PageManager.java:228)atcom.ecyrd.jspwiki.search.LuceneSearchProvider.doFullLuceneReindex (LuceneSearchProvider.java:214)atcom.ecyrd.jspwiki.search.LuceneSearchProvider $LuceneUpdater.startupTask(LuceneSearchProvider.java:705)atcom.ecyrd.jspwiki.util.WikiBackgroundThread.run (WikiBackgroundThread.java:127)2008-05-30 16:02:54,170 [JSPWiki Lucene Indexer] DEBUGcom.ecyrd.jspwiki.util.WatchDog - JSPWiki Lucene Indexer: Exitingstate Full reindex On Fri, May 30, 2008 at 3:03 PM, Janne Jalkanen <[EMAIL PROTECTED]> wrote:It looks like one of your pages has a plugin invocation which is forsome 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 andlet usknow what the invocation is? You might be able to get some informationout 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, theimportant 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.162008-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] INFOcom.ecyrd.jspwiki.providers.AbstractFileProvider - Wikipages are readfrom '/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] INFOcom.ecyrd.jspwiki.diff.DifferenceManager - Using difference provider:ContextualDiffProvider 2008-05-30 10:11:26,692 [main] INFOcom.ecyrd.jspwiki.search.LuceneSearchProvider - Lucene enabled, cachewill be in: /srv/tomcat/temp/ldapwiki/lucene2008-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] INFOcom.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - Examiningjndi:/localhost/ldapwiki/WEB-INF/web.xml 2008-05-30 10:11:26,709 [main] INFOcom.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - JSPWiki isusing container-managed authentication. 2008-05-30 10:11:26,709 [main] INFOcom.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - JSPWikidetermined 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] INFOcom.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer - AuthorizerWebContainerAuthorizer initialized successfully. 2008-05-30 10:11:26,713 [main] INFOcom.ecyrd.jspwiki.auth.AuthorizationManager - Initialized default security policy: /srv/www/webapps/ldapwiki/WEB-INF/ jspwiki.policy2008-05-30 10:11:26,713 [main] INFOcom.ecyrd.jspwiki.auth.authorize.GroupManager - Attempting to load group database class com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase2008-05-30 10:11:26,714 [main] ERROR com.ecyrd.jspwiki.auth.authorize.XMLGroupDatabase - XML groupdatabase 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] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Using JDK 1.5 PlatformMBeanServer 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] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new adminbean Core bean 2008-05-30 10:11:26,719 [main] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new adminbean User administration 2008-05-30 10:11:26,719 [main] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new adminbean Search manager 2008-05-30 10:11:26,719 [main] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new adminbean Plugins 2008-05-30 10:11:26,719 [main] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new adminbean WikiWizard 2008-05-30 10:11:26,731 [main] INFOcom.ecyrd.jspwiki.ui.admin.AdminBeanManager - Registered new adminbean Plain editor2008-05-30 10:11:26,731 [main] INFO com.ecyrd.jspwiki.WikiEngine -Registering filters2008-05-30 10:11:26,734 [main] INFO com.ecyrd.jspwiki.WikiEngine - Cannot find property file for filters (this is okay, expected to findit as: '/WEB-INF/filters.xml') 2008-05-30 10:11:26,735 [main] INFOcom.ecyrd.jspwiki.render.RenderingManager - Rendering content withcom.ecyrd.jspwiki.render.XHTMLRenderer.2008-05-30 10:11:27,123 [main] INFO com.ecyrd.jspwiki.ReferenceManager- Starting cross reference scan of WikiPages2008-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] ERRORcom.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user databaseproperty jspwiki.xmlUserDatabaseFile not found; trying /srv/www/webapps/ldapwiki/WEB-INF/userdatabase.xml 2008-05-30 10:11:27,127 [main] INFOcom.ecyrd.jspwiki.auth.user.AbstractUserDatabase - XML user databaseat /srv/www/webapps/ldapwiki/WEB-INF/userdatabase.xml2008-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] INFOcom.ecyrd.jspwiki.search.LuceneSearchProvider - Files found in Lucenedirectory, not reindexing.2008-05-30 10:11:28,301 [main] FATAL com.ecyrd.jspwiki.WikiEngine -Failed to start managers. java.lang.NullPointerException atcom.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleHyperlinks (JSPWikiMarkupParser.java:1407)atcom.ecyrd.jspwiki.parser.JSPWikiMarkupParser.handleOpenbracket( JSPWikiMarkupParser.java:2203)at com.ecyrd.jspwiki Any Ideas? Thanks -- -jim Jim Willeke-- -jim Jim Willeke-- -jim Jim Willeke-- -jim Jim Willeke
