jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harry Metske <harry.met...@gmail.com>
Subject JUnit testing 3.0 => "Page removed already!?! " errors
Date Fri, 10 Apr 2009 17:30:43 GMT
the WikiEngineTest also reports a lot of these errors (because it happens in
the tearDown method) :

Page removed already!?!

org.apache.wiki.InternalWikiException: Page removed already!?!
at
org.apache.wiki.search.SearchManager.actionPerformed(SearchManager.java:388)
at
org.apache.wiki.event.WikiEventManager$WikiEventDelegate.fireEvent(WikiEventManager.java:568)
at
org.apache.wiki.event.WikiEventManager.fireEvent(WikiEventManager.java:349)
at
org.apache.wiki.content.ContentManager.fireEvent(ContentManager.java:1079)
at
org.apache.wiki.content.ContentManager.deletePage(ContentManager.java:827)
at org.apache.wiki.TestEngine.emptyRepository(TestEngine.java:198)
at org.apache.wiki.WikiEngineTest.tearDown(WikiEngineTest.java:74)
Caused by: org.apache.wiki.content.PageNotFoundException: Main:mrmxyzptlk
at org.apache.wiki.content.ContentManager.getPage(ContentManager.java:1183)
at org.apache.wiki.WikiEngine.getPage(WikiEngine.java:1961)
at org.apache.wiki.WikiEngine.getPage(WikiEngine.java:1955)
at
org.apache.wiki.search.SearchManager.actionPerformed(SearchManager.java:382)

Is this because the page was never added to the SearchEngine to be indexed ?
Or is there a double delete somewhere ?

Harry

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message