chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: browser deleteTree
Date Thu, 06 Jun 2013 06:04:36 GMT
 Hi Michael,

 Please open an JIRA issue. I'll look for a solution.


 Thanks,

 Florian


> Hi,
>
> I have an client issue with deleteTree if compression is on using the
> browser binding.
> The client tries to parse an empty response as json.
> The server does not return a content-length header for gzip encoded
> entities.
> resp.getContentLength() is null,
> so !BigInteger.ZERO.equals(resp.getContentLength()) is true
> The stacktrace is below.
> Using version 0.9.0. Same problem with 0.9.0-beta1.
>
> Michael
>
> 
> org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
> Parsing exception!
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.parse(AbstractBrowserBindingService.java:314)
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.parseObject(AbstractBrowserBindingService.java:278)
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.browser.ObjectServiceImpl.deleteTree(ObjectServiceImpl.java:503)
> at
> 
> org.apache.chemistry.opencmis.client.runtime.FolderImpl.deleteTree(FolderImpl.java:194)
> at
> 
> org.apache.chemistry.opencmis.workbench.actions.DeleteTreePanel.doAction(DeleteTreePanel.java:75)
> at
> 
> org.apache.chemistry.opencmis.workbench.swing.ActionPanel.actionPerformed(ActionPanel.java:120)
> at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
> at
> 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
> at
> 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
> at 
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> at
> 
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
> at java.awt.Component.processMouseEvent(Component.java:6382)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
> at java.awt.Component.processEvent(Component.java:6147)
> at java.awt.Container.processEvent(Container.java:2083)
> at java.awt.Component.dispatchEventImpl(Component.java:4744)
> at java.awt.Container.dispatchEventImpl(Container.java:2141)
> at java.awt.Component.dispatchEvent(Component.java:4572)
> at 
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
> at 
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
> at java.awt.Container.dispatchEventImpl(Container.java:2127)
> at java.awt.Window.dispatchEventImpl(Window.java:2489)
> at java.awt.Component.dispatchEvent(Component.java:4572)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)
> at java.awt.EventQueue.access$400(EventQueue.java:82)
> at java.awt.EventQueue$2.run(EventQueue.java:669)
> at java.awt.EventQueue$2.run(EventQueue.java:667)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> 
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> at
> 
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
> at java.awt.EventQueue$3.run(EventQueue.java:683)
> at java.awt.EventQueue$3.run(EventQueue.java:681)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> 
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
> at
> 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
> at
> 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
> at
> 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
> at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> Caused by: Unexpected token END OF FILE at position 0.
> at
> 
> org.apache.chemistry.opencmis.commons.impl.json.parser.JSONParser.parse(JSONParser.java:271)
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.parse(AbstractBrowserBindingService.java:312)
> ... 41 more


Mime
View raw message