Bug 11167 - [PATCH] NPE with XMLFileDescriptorsStore
Summary: [PATCH] NPE with XMLFileDescriptorsStore
Status: RESOLVED WONTFIX
Alias: None
Product: Slide
Classification: Unclassified
Component: Stores (show other bugs)
Version: Nightly
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 12:30 UTC by Stephan Michels
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
This patch should solve the problem (812 bytes, patch)
2002-07-25 12:31 UTC, Stephan Michels
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Michels 2002-07-25 12:30:48 UTC
I got a NPE if I use the XMLFileDescriptorsStore and try the
following sequence:
cd files; mkcol 1; rm 1; mkcol 2; mkcol 1

java.lang.NullPointerException
	at slidestore.file.AbstractUriProperties.createObject(AbstractUriProperties.java:181)
	at
slidestore.file.XMLFileDescriptorsStore.createObject(XMLFileDescriptorsStore.java:292)
	at org.apache.slide.store.AbstractStore.createObject(AbstractStore.java:589)
	at org.apache.slide.store.StandardStore.createObject(StandardStore.java:209)
	at org.apache.slide.structure.StructureImpl.create(StructureImpl.java:416)
	at org.apache.slide.webdav.method.MkcolMethod.executeRequest(MkcolMethod.java:237)
	at
org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:323)
	at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:221)
Comment 1 Stephan Michels 2002-07-25 12:31:39 UTC
Created attachment 2486 [details]
This patch should solve the problem
Comment 2 Oliver Zeigermann 2003-12-18 12:36:58 UTC
XMLFileDescriptorsStore is no longer supported