Hi,

I'm hitting a problem I can't see the cause of again.  When I try to  
get the external url for a document, I get an exception:

Exception in thread "Thread-14" java.lang.NullPointerException
        at com.xpn.xwiki.XWiki.getServletPath(XWiki.java:4317)
        at  
com 
.xpn 
.xwiki 
.web.XWikiServletURLFactory.addServletPath(XWikiServletURLFactory.java: 
208)
        at  
com 
.xpn 
.xwiki 
.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:178)
        at  
com 
.xpn 
.xwiki 
.web 
.XWikiServletURLFactory.createExternalURL(XWikiServletURLFactory.java: 
273)
        at com.xpn.xwiki.doc.XWikiDocument.getExternalURL(XWikiDocument.java: 
925)

Not tried to run it any other way but as xe-debug-web. I did not get  
this problem before, can it have something to do with the switch to  
version 1.7-SNAPSHOT? I'm not sure if it's related, but I also get a  
LOT of these errors:

org.hibernate.ObjectNotFoundException: No row with the given  
identifier exists: [com.xpn.xwiki.doc.XWikiDocument#723512152]

I tried flattening the database, let the xwiki rebuild it from  
scratch, I keep getting these.

Cheers,
J.L.Simon
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to