| Title | NPEDuringRename |
| Date | 25-Aug-2006 16:37:40 EEST |
| Version | 2.4.36 |
| Submitter | John Volkar |
| Bug criticality | MediumBug |
| Browser version | |
| Bug status | ClosedBug |
| PageProvider used | Versioning file system provider |
| Servlet Container | |
| Operating System | |
| URL | |
| Java version |
I did a rename successfully, then immediatly did a second rename of a different page which failed.
Error Message
An unknown exception java.lang.NullPointerException was caught by Error.jsp.
Exception
java.lang.NullPointerException
Place where detected
com.ecyrd.jspwiki.PageManager.getCurrentLock(), line 300
I did no further investigation on this, but a look at line 300 is probably in order. I think that the second page had a reference to the first, and that I had the update referrs checkbox selected.
--John Volkar
Two pages, First refers to Second, rename First to NewFirst, try to rename second to NewSecond. On rename of Second you get this NPE. I think that has to do with Bug Reference To Renamed Page Not Cleared, it's tryign to get a lock on a page that doesn't exist anylonger (maybe?).
--John Volkar
Closing the bug, since it's a duplicate of BugReferenceToRenamedPageNotCleared, and that one has just been fixed by Janne.