chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Raoul (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-1062) NoClassDefFoundError in workbench.model.ClientModel.createContentStream
Date Thu, 24 May 2018 05:51:00 GMT
Nicolas Raoul created CMIS-1062:
-----------------------------------

             Summary: NoClassDefFoundError in workbench.model.ClientModel.createContentStream
                 Key: CMIS-1062
                 URL: https://issues.apache.org/jira/browse/CMIS-1062
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-workbench
    Affects Versions: OpenCMIS 1.1.0
         Environment: Ubuntu Linux 2018.04

Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
            Reporter: Nicolas Raoul


Steps to reproduce:
 # Install CMIS Workbench 1.1.0 (latest release)
 # Connect to server (I used Alfresco 6.0.5)
 # Go to some folder
 # Click "Create Object"
 # Click
 # Create local file "test.txt" containing "hello"
 # Select that file
 # Enter a name
 # Press "Create Document"
 # Expected: Document gets created and popup goes away. Instead: Nothing happens and the exception
below appears in the console:

{noformat}
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize
class org.apache.chemistry.opencmis.commons.impl.MimeTypes
 at org.apache.chemistry.opencmis.workbench.model.ClientModel.createContentStream(ClientModel.java:300)

 at org.apache.chemistry.opencmis.workbench.model.ClientModel.createDocument(ClientModel.java:316)
 at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog$4.actionPerformed(CreateDocumentDialog.java:266)
 at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)

 at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)

 at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)

 at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) 
 at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270)
 at java.desktop/java.awt.Component.processMouseEvent(Component.java:6589) 
 at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) 
 at java.desktop/java.awt.Component.processEvent(Component.java:6354) 
 at java.desktop/java.awt.Container.processEvent(Container.java:2261) 
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) 
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) 
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) 
 at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) 
 at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543) 
 at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) 
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305) 
 at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) 
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) 
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) 
 at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) 
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) 
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) 
 at java.base/java.security.AccessController.doPrivileged(Native Method) 
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) 
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) 
 at java.base/java.security.AccessController.doPrivileged(Native Method) 
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
 at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) 
 at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)

 at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)

 at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)

 at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
 at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
 at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
 at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
 at java.desktop/java.awt.Component.show(Component.java:1674)
 at java.desktop/java.awt.Component.setVisible(Component.java:1621)
 at java.desktop/java.awt.Window.setVisible(Window.java:1031)
 at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
 at org.apache.chemistry.opencmis.workbench.swing.CreateDialog.showDialog(CreateDialog.java:125)
 at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog.createGUI(CreateDocumentDialog.java:318)
 at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog.<init>(CreateDocumentDialog.java:90)
 at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog.<init>(CreateDocumentDialog.java:85)
 at org.apache.chemistry.opencmis.workbench.ClientFrame$9.actionPerformed(ClientFrame.java:290)
 at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
 at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
 at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
 at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
 at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
 at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980)
 at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1024)
 at java.desktop/java.awt.Component.processMouseEvent(Component.java:6589)
 at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
 at java.desktop/java.awt.Component.processEvent(Component.java:6354)
 at java.desktop/java.awt.Container.processEvent(Container.java:2261)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914)
 at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
 at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305)
 at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
 at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
 at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
 at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
 at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
 at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
 at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
 at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
{noformat}
  !Screenshot from 2018-05-24 14-45-23.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message