NoSuchMethodError bei Verwendung von FolderStorage
6 posts
• Page 1 of 1
NoSuchMethodError bei Verwendung von FolderStorage
Hallo,
ich versuche gerade, die Exchange Anbindung mit EWS zu realisieren. Konnte bisher alle Fehler eliminieren. Jetzt erscheint aber ein NoSuchMethodError. Kann dies ein Versionskonflikt sein?
java.lang.NoSuchMethodError: javax.rad.persist.ColumnMetaData.createColumnDefinition(Ljavax/rad/persist/ColumnMetaData;)Ljavax/rad/model/ColumnDefinition;
at com.sibvisions.rad.persist.exchange.FolderStorage.<init>(Unknown Source)
at apps.firstapp.frames.MailFrame.<init>(MailFrame.java:54)
at apps.firstapp.FirstApplication.doMail(FirstApplication.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.rad.util.EventHandler$ListenerHandler.dispatchEvent(EventHandler.java:942)
at javax.rad.util.EventHandler.dispatchEvent(EventHandler.java:565)
at javax.rad.util.RuntimeEventHandler.dispatchEvent(RuntimeEventHandler.java:73)
at com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton.actionPerformed(SwingAbstractButton.java:437)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at com.sibvisions.rad.ui.swing.ext.JVxButton.fireActionPerformed(JVxButton.java:466)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
ich versuche gerade, die Exchange Anbindung mit EWS zu realisieren. Konnte bisher alle Fehler eliminieren. Jetzt erscheint aber ein NoSuchMethodError. Kann dies ein Versionskonflikt sein?
java.lang.NoSuchMethodError: javax.rad.persist.ColumnMetaData.createColumnDefinition(Ljavax/rad/persist/ColumnMetaData;)Ljavax/rad/model/ColumnDefinition;
at com.sibvisions.rad.persist.exchange.FolderStorage.<init>(Unknown Source)
at apps.firstapp.frames.MailFrame.<init>(MailFrame.java:54)
at apps.firstapp.FirstApplication.doMail(FirstApplication.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.rad.util.EventHandler$ListenerHandler.dispatchEvent(EventHandler.java:942)
at javax.rad.util.EventHandler.dispatchEvent(EventHandler.java:565)
at javax.rad.util.RuntimeEventHandler.dispatchEvent(RuntimeEventHandler.java:73)
at com.sibvisions.rad.ui.swing.impl.component.SwingAbstractButton.actionPerformed(SwingAbstractButton.java:437)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at com.sibvisions.rad.ui.swing.ext.JVxButton.fireActionPerformed(JVxButton.java:466)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
- stephanf
- Posts: 7
- Joined: Mon Nov 02, 2015 2:33 pm
Re: NoSuchMethodError bei Verwendung von FolderStorage
Oh, klar.
Die Implementierung wurde mit JVx < 2.3 gemacht und da gab es noch eine statische Funktion. Diese ist seit 2.3 nicht mehr statisch. Auf die schnelle ist das nur zu beheben wenn Sie den Storage Code selbst anpassen.
Wir werden den Code in den nächsten Tagen anpassen damit JVx 2.3 unterstützt wird.
Die Implementierung wurde mit JVx < 2.3 gemacht und da gab es noch eine statische Funktion. Diese ist seit 2.3 nicht mehr statisch. Auf die schnelle ist das nur zu beheben wenn Sie den Storage Code selbst anpassen.
Wir werden den Code in den nächsten Tagen anpassen damit JVx 2.3 unterstützt wird.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: NoSuchMethodError bei Verwendung von FolderStorage
Der Source Code wurde bereits am 20.03.2015 (r20) richtig gestellt. Es gibt jedoch kein aktualisiertes jar File sprich Release.
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
Re: NoSuchMethodError bei Verwendung von FolderStorage
Danke für den Hinweis und wurde bereits erledigt, siehe JVx Storages 1.1
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
Re: NoSuchMethodError bei Verwendung von FolderStorage
Mit welcher EWS arbeitet JVX Storages 1.1?
Mit der 1.2 scheint sie zumindest nicht kompatibel zu sein.
Mit der 1.2 scheint sie zumindest nicht kompatibel zu sein.
- stephanf
- Posts: 7
- Joined: Mon Nov 02, 2015 2:33 pm
Re: NoSuchMethodError bei Verwendung von FolderStorage
Die Version war 1.2.1, allerdings wurde diese gepatched um bei den Terminen die Private Option setzen zu können usw. Mittlerweile gibt es einen SNAPSHOT von 2.0.
Die Lizenz war damals noch nicht MIT. Wir haben den Patch zwar an die Entwickler geschickt, aber dieser wurde nie übernommen. MIttlerweile ist die Lizenz MIT.
Haben Sie einen Stack Strace für uns?
Die Lizenz war damals noch nicht MIT. Wir haben den Patch zwar an die Entwickler geschickt, aber dieser wurde nie übernommen. MIttlerweile ist die Lizenz MIT.
Haben Sie einen Stack Strace für uns?
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
6 posts
• Page 1 of 1