You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Rob Moore <ro...@yahoo.com> on 2005/12/15 23:19:58 UTC

JDOM Exception on view/modify properties

Hi,

I'm trying to add a user using the instructions in 
http://jakarta.apache.org/slide/howto-create-users.html. I'm using DAV 
Explorer and when I try to view/modify the properties for the user 
collection I've added for the new user I get the following:

org.jdom.IllegalNameException: The name "null" is not legal for JDOM/XML 
elements: XML names cannot be null or empty.
         at org.jdom.Element.setName(Element.java:206)
         at org.jdom.Element.<init>(Element.java:140)
         at 
org.apache.slide.webdav.util.PropertyHelper.createPrivilegeElement(PropertyHelper.java:1855)
         at 
org.apache.slide.webdav.util.PropertyHelper.computeAcl(PropertyHelper.java:1787)
         at 
org.apache.slide.webdav.util.PropertyHelper.computeProperty(PropertyHelper.java:614)
         at 
org.apache.slide.webdav.util.PropertyHelper.getProperty(PropertyHelper.java:540)
         at 
org.apache.slide.webdav.util.ComputedPropertyProvider.getProperty(ComputedPropertyProvider.java:239)
         at 
org.apache.slide.webdav.util.ResourceWithProvidedProperties.getProperty(ResourceWithProvidedProperties.java:122)
         at 
org.apache.slide.webdav.util.ResourceWithProvidedProperties.getProperty(ResourceWithProvidedProperties.java:103)
         at 
org.apache.slide.webdav.util.PropertyRetrieverImpl.getAllPropertiesOfObject(PropertyRetrieverImpl.java:440)
         at 
org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObject(PropertyRetrieverImpl.java:300)
         at 
org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObject(PropertyRetrieverImpl.java:264)
         at 
org.apache.slide.webdav.method.PropFindMethod.getPropertiesOfObject(PropFindMethod.java:509)
         at 
org.apache.slide.webdav.method.PropFindMethod.executeRequest(PropFindMethod.java:292)
         at 
org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:405)
         at 
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:155) 
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at 
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141) 
      at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:519)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

I've googled on the issue and haven't seen any mention of a similar 
problem so I thought I'd ask if anybody is familiar with it.

Not sure if it's relevant, but I've configured Slide according to the 
instructions on 
http://wiki.apache.org/jakarta-slide/MultipleStoresWithSamples. I don't 
think this is related to the problem but I thought I'd mention it.

Thanks,

Rob






---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: JDOM Exception on view/modify properties

Posted by Gabriel Bermudez <el...@gmail.com>.
Try using another WebDAV client, i've worked with skunkdav
(http://skunkdav.sourceforge.net/)and can't complain.
If it still gives you the same error, maybe your configuration isn't
the right one so use the tomcat+slide bundle :)
Regards

2005/12/15, Rob Moore <ro...@yahoo.com>:
> Hi,
>
> I'm trying to add a user using the instructions in
> http://jakarta.apache.org/slide/howto-create-users.html. I'm using DAV
> Explorer and when I try to view/modify the properties for the user
> collection I've added for the new user I get the following:
>
> org.jdom.IllegalNameException: The name "null" is not legal for JDOM/XML
> elements: XML names cannot be null or empty.
>         at org.jdom.Element.setName(Element.java:206)
>         at org.jdom.Element.<init>(Element.java:140)
>         at
> org.apache.slide.webdav.util.PropertyHelper.createPrivilegeElement(PropertyHelper.java:1855)
>         at
> org.apache.slide.webdav.util.PropertyHelper.computeAcl(PropertyHelper.java:1787)
>         at
> org.apache.slide.webdav.util.PropertyHelper.computeProperty(PropertyHelper.java:614)
>         at
> org.apache.slide.webdav.util.PropertyHelper.getProperty(PropertyHelper.java:540)
>         at
> org.apache.slide.webdav.util.ComputedPropertyProvider.getProperty(ComputedPropertyProvider.java:239)
>         at
> org.apache.slide.webdav.util.ResourceWithProvidedProperties.getProperty(ResourceWithProvidedProperties.java:122)
>         at
> org.apache.slide.webdav.util.ResourceWithProvidedProperties.getProperty(ResourceWithProvidedProperties.java:103)
>         at
> org.apache.slide.webdav.util.PropertyRetrieverImpl.getAllPropertiesOfObject(PropertyRetrieverImpl.java:440)
>         at
> org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObject(PropertyRetrieverImpl.java:300)
>         at
> org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObject(PropertyRetrieverImpl.java:264)
>         at
> org.apache.slide.webdav.method.PropFindMethod.getPropertiesOfObject(PropFindMethod.java:509)
>         at
> org.apache.slide.webdav.method.PropFindMethod.executeRequest(PropFindMethod.java:292)
>         at
> org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:405)
>         at
> org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:155)
>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
>      at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:519)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
>
> I've googled on the issue and haven't seen any mention of a similar
> problem so I thought I'd ask if anybody is familiar with it.
>
> Not sure if it's relevant, but I've configured Slide according to the
> instructions on
> http://wiki.apache.org/jakarta-slide/MultipleStoresWithSamples. I don't
> think this is related to the problem but I thought I'd mention it.
>
> Thanks,
>
> Rob
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org