Probleme mit den Webstart Demos

Allgemeine Fragen zu Source Code, Build Management, Code Richtlinien, Konfiguration usw.

Probleme mit den Webstart Demos

Postby mzeller » Thu Apr 28, 2016 2:25 pm

Hallo,

wir sind noch immer im Entscheidungsprozess, ob JVx ja oder nein.

Leider kann ich eure Demos einfach nicht starten. Ich habe es schon mit verschiedenen Java-Versionen versucht, die Sicherheitseinstellungen geändert - bisher ohne Erfolg.

Ich bekomme beim Start der ERP-Demo folgende Exception:

Code: Select all
java.lang.NullPointerException
   at com.sun.java.swing.plaf.gtk.Metacity.getInt(Metacity.java:843)
   at com.sun.java.swing.plaf.gtk.Metacity.calculateButtonSize(Metacity.java:1011)
   at com.sun.java.swing.plaf.gtk.Metacity$TitlePaneLayout.minimumLayoutSize(Metacity.java:709)
   at com.sun.java.swing.plaf.gtk.Metacity$TitlePaneLayout.preferredLayoutSize(Metacity.java:694)
   at java.awt.Container.preferredSize(Container.java:1794)
   at java.awt.Container.getPreferredSize(Container.java:1778)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
   at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
   at javax.swing.plaf.basic.BasicDesktopIconUI.getPreferredSize(BasicDesktopIconUI.java:149)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
   at javax.swing.JInternalFrame$JDesktopIcon.updateUI(JInternalFrame.java:2238)
   at javax.swing.JInternalFrame$JDesktopIcon.<init>(JInternalFrame.java:2167)
   at javax.swing.JInternalFrame.<init>(JInternalFrame.java:351)
   at javax.swing.JInternalFrame.<init>(JInternalFrame.java:283)
   at com.sibvisions.rad.ui.swing.ext.JVxInternalFrame.<init>(JVxInternalFrame.java:190)
   at com.sibvisions.rad.ui.swing.ext.JVxInternalFrame.<init>(JVxInternalFrame.java:176)
   at com.sibvisions.rad.ui.swing.impl.container.SwingInternalFrame.<init>(SwingInternalFrame.java:72)
   at com.sibvisions.rad.ui.swing.impl.SwingFactory.createInternalFrame(SwingFactory.java:631)
   at javax.rad.genui.container.UIInternalFrame.<init>(UIInternalFrame.java:57)
   at com.sibvisions.apps.projx.Login.configure(Unknown Source)
   at com.sibvisions.apps.projx.ProjX.initApplication(Unknown Source)
   at com.sibvisions.apps.projx.ProjX.<init>(Unknown Source)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
   at com.sibvisions.util.Reflective.construct(Reflective.java:156)
   at com.sibvisions.util.Reflective.construct(Reflective.java:137)
   at com.sibvisions.util.Reflective.construct(Reflective.java:108)
   at com.sibvisions.rad.ui.ApplicationUtil.createApplication(ApplicationUtil.java:118)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication.startupInternal(SwingApplication.java:308)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication.access$000(SwingApplication.java:97)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication$1.run(SwingApplication.java:246)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
   at com.sun.java.swing.plaf.gtk.Metacity.getInt(Metacity.java:843)
   at com.sun.java.swing.plaf.gtk.Metacity.calculateButtonSize(Metacity.java:1011)
   at com.sun.java.swing.plaf.gtk.Metacity$TitlePaneLayout.minimumLayoutSize(Metacity.java:709)
   at com.sun.java.swing.plaf.gtk.Metacity$TitlePaneLayout.preferredLayoutSize(Metacity.java:694)
   at java.awt.Container.preferredSize(Container.java:1794)
   at java.awt.Container.getPreferredSize(Container.java:1778)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
   at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
   at javax.swing.plaf.basic.BasicDesktopIconUI.getPreferredSize(BasicDesktopIconUI.java:149)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
   at javax.swing.JInternalFrame$JDesktopIcon.updateUI(JInternalFrame.java:2238)
   at javax.swing.JInternalFrame$JDesktopIcon.<init>(JInternalFrame.java:2167)
   at javax.swing.JInternalFrame.<init>(JInternalFrame.java:351)
   at javax.swing.JInternalFrame.<init>(JInternalFrame.java:283)
   at com.sibvisions.rad.ui.swing.ext.JVxInternalFrame.<init>(JVxInternalFrame.java:190)
   at com.sibvisions.rad.ui.swing.ext.JVxInternalFrame.<init>(JVxInternalFrame.java:176)
   at com.sibvisions.rad.ui.swing.impl.SwingFactory.showError(SwingFactory.java:1088)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication.handleException(SwingApplication.java:721)
   at javax.rad.application.genui.UILauncher.handleException(UILauncher.java:155)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication.startupInternal(SwingApplication.java:326)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication.access$000(SwingApplication.java:97)
   at com.sibvisions.rad.ui.swing.impl.SwingApplication$1.run(SwingApplication.java:246)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



Ich bin auf Ubuntu 14.04 LTS mit folgender Java-Version:

Java Web Start 11.45.2.14
JRE-Version verwenden 1.8.0_45-b14 Java HotSpot(TM) 64-Bit Server VM


Habt ihr irgendeine Ahnung, woran das liegen kann?

LG
Martin
mzeller
 
Posts: 22
Joined: Tue Apr 19, 2016 10:48 am
Location: Vienna

Re: Probleme mit den Webstart Demos

Postby Support@SIB » Thu Apr 28, 2016 7:45 pm

Huh, ja das Problem kommt mal vom LaF und wir hatten das auch schon. Wir haben dann den Window Manager geändert, weil Unity Probleme machte. Dann funktionierte es. Wir haben einfach durchprobiert.
User avatar
Support@SIB
 
Posts: 198
Joined: Mon Sep 28, 2009 1:56 pm


Return to Allgemeine Fragen