Webdav bug eXist v3.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Webdav bug eXist v3.0

wsalesky
Hi All, 
First thanks for all the work that has gone into the two new releases, I have been looking forward to moving several of my projects over to v3.0 for a while, and for the most part it has gone very well.  However in the past day I have started having issues with webdav. I am using eXist v3 (develop-acd0c14) .

Accessing eXist via webdav from oxygen I get the following error (to be clear this was working earlier today):

ERROR (StandardFilter.java [process]:68) - process 
java.lang.NullPointerException: null
at org.exist.webdav.ExistCollection.initMetadata(ExistCollection.java:120) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.<init>(MiltonCollection.java:123) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.getCollectionResources(MiltonCollection.java:157) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.getChildren(MiltonCollection.java:177) ~[exist-webdav.jar:?]
at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:180) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.appendResponses(PropFindPropertyBuilder.java:107) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.buildProperties(PropFindPropertyBuilder.java:86) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.webdav.PropFindHandler.processExistingResource(PropFindHandler.java:132) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:149) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.webdav.PropFindHandler.processResource(PropFindHandler.java:103) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:91) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.webdav.PropFindHandler.process(PropFindHandler.java:97) ~[milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52) [milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40) [milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228) [milton-api-1.8.1.3.jar:?]
at com.bradmcevoy.http.MiltonServlet.service(MiltonServlet.java:195) [milton-servlet-1.8.1.3.jar:?]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) [exist-optional.jar:?]
at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:219) [exist-optional.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [servlet-api-3.1.jar:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:396) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]

Thanks!
-Winona

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: Webdav bug eXist v3.0

Dmitriy Shabanov
Hi,

Can you access that collection somehow else?

Somehow you collection have owner id that can't be resolved to account (no account with that id). I wonder, is it storage corruption or account was deleted?

On Fri, Mar 10, 2017 at 6:17 AM, Winona Salesky <[hidden email]> wrote:
Hi All, 
First thanks for all the work that has gone into the two new releases, I have been looking forward to moving several of my projects over to v3.0 for a while, and for the most part it has gone very well.  However in the past day I have started having issues with webdav. I am using eXist v3 (develop-acd0c14) .

Accessing eXist via webdav from oxygen I get the following error (to be clear this was working earlier today):

ERROR (StandardFilter.java [process]:68) - process 
java.lang.NullPointerException: null
at org.exist.webdav.ExistCollection.initMetadata(ExistCollection.java:120) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.<init>(MiltonCollection.java:123) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.getCollectionResources(MiltonCollection.java:157) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.getChildren(MiltonCollection.java:177) ~[exist-webdav.jar:?]


--
Dmitriy Shabanov

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: Webdav bug eXist v3.0

wsalesky
Ah, thank you, yes it is a db corruption. I have cleared the db and restarted it that seems to have solved the issue. 
-Winona

On Fri, Mar 10, 2017 at 2:34 AM, Dmitriy Shabanov <[hidden email]> wrote:
Hi,

Can you access that collection somehow else?

Somehow you collection have owner id that can't be resolved to account (no account with that id). I wonder, is it storage corruption or account was deleted?

On Fri, Mar 10, 2017 at 6:17 AM, Winona Salesky <[hidden email]> wrote:
Hi All, 
First thanks for all the work that has gone into the two new releases, I have been looking forward to moving several of my projects over to v3.0 for a while, and for the most part it has gone very well.  However in the past day I have started having issues with webdav. I am using eXist v3 (develop-acd0c14) .

Accessing eXist via webdav from oxygen I get the following error (to be clear this was working earlier today):

ERROR (StandardFilter.java [process]:68) - process 
java.lang.NullPointerException: null
at org.exist.webdav.ExistCollection.initMetadata(ExistCollection.java:120) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.<init>(MiltonCollection.java:123) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.getCollectionResources(MiltonCollection.java:157) ~[exist-webdav.jar:?]
at org.exist.webdav.MiltonCollection.getChildren(MiltonCollection.java:177) ~[exist-webdav.jar:?]


--
Dmitriy Shabanov


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open