Re: CMIS Workbench Issue

2012-09-24 Thread Florian Müller

Hi Ian,

Could please create a JIRA issue!? I will look into that.


Cheers,

Florian



I just noticed a minor problem with workbench 0.7.0. When updating the 
properties for an unfiled object a null pointer exception is thrown. The stack 
trace shows

at 
org.apache.chemistry.opencmis.workbench.model.ClientModel.reloadFolder(ClientModel.java:192)
at 
org.apache.chemistry.opencmis.workbench.swing.ActionPanel.actionPerformed(ActionPanel.java:114)
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)

If looks like it is trying to reload the folder even though the document is 
unfiled. This happens as the editor is opened and when the update button is 
clicked.

Regards,
Ian




CMIS Workbench Issue

2012-09-24 Thread Ian Ashley
I just noticed a minor problem with workbench 0.7.0. When updating the 
properties for an unfiled object a null pointer exception is thrown. The stack 
trace shows

at 
org.apache.chemistry.opencmis.workbench.model.ClientModel.reloadFolder(ClientModel.java:192)
at 
org.apache.chemistry.opencmis.workbench.swing.ActionPanel.actionPerformed(ActionPanel.java:114)
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)

If looks like it is trying to reload the folder even though the document is 
unfiled. This happens as the editor is opened and when the update button is 
clicked.

Regards,
Ian