Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ULC 8 with Java 11
#1
Hey everyone
I just wanted to do a quick test with ULC 8 and Java 11 on the client side.
We use ULC 8.0.22, Adopt-OpenJdk 11.0.3 and IcedTea 1.7.1 for webstart.

After the application starts, we get the following exception
Code:
java.lang.Error: no ComponentUI class for: javax.swing.JRadioButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=null,paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]
       at java.desktop/javax.swing.UIDefaults.getUIError(Unknown Source)
       at java.desktop/javax.swing.MultiUIDefaults.getUIError(Unknown Source)
       at java.desktop/javax.swing.UIDefaults.getUI(Unknown Source)
       at java.desktop/javax.swing.UIManager.getUI(Unknown Source)
       at java.desktop/javax.swing.JRadioButton.updateUI(Unknown Source)
       at java.desktop/javax.swing.AbstractButton.init(Unknown Source)
       at java.desktop/javax.swing.JToggleButton.<init>(Unknown Source)
       at java.desktop/javax.swing.JRadioButton.<init>(Unknown Source)
       at java.desktop/javax.swing.JRadioButton.<init>(Unknown Source)
       at java.desktop/javax.swing.colorchooser.ColorPanel.<init>(Unknown Source)
       at java.desktop/javax.swing.colorchooser.ColorChooserPanel.<init>(Unknown Source)
       at java.desktop/javax.swing.colorchooser.ColorChooserComponentFactory.getDefaultChooserPanels(Unknown Source)
       at java.desktop/javax.swing.plaf.basic.BasicColorChooserUI.createDefaultChoosers(Unknown Source)
       at java.desktop/javax.swing.plaf.basic.BasicColorChooserUI.installUI(Unknown Source)
       at java.desktop/javax.swing.JComponent.setUI(Unknown Source)
       at java.desktop/javax.swing.JColorChooser.setUI(Unknown Source)
       at java.desktop/javax.swing.JColorChooser.updateUI(Unknown Source)
       at java.desktop/javax.swing.JColorChooser.<init>(Unknown Source)
       at java.desktop/javax.swing.JColorChooser.<init>(Unknown Source)
       at java.desktop/javax.swing.JColorChooser.<init>(Unknown Source)
       at com.ulcjava.base.client.ClientInfo$JColorChooser.<init>(ClientInfo.java:12)
       at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
       at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
       at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
       at java.base/java.lang.Class.newInstance(Unknown Source)
       at com.canoo.common.ClassUtilities.createInstance(ClassUtilities.java:194)
       at com.ulcjava.base.client.ClientInfo.b(ClientInfo.java:192)
       at com.ulcjava.base.client.ClientInfo.updateUIDefaults(ClientInfo.java:189)
       at com.ulcjava.base.client.ClientInfo.setIncludeUIDefaults(ClientInfo.java:103)
       at com.ulcjava.base.client.ClientInfo.a(ClientInfo.java:211)
       at com.ulcjava.base.client.ClientInfo.<init>(ClientInfo.java:223)
       at com.ulcjava.base.client.ClientEnvironmentAdapter$0.run(ClientEnvironmentAdapter$0.java:1)
       at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
       at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
       at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
       at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
       at java.base/java.security.AccessController.doPrivileged(Native Method)
       at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
       at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
       at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
       at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
       at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
       at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
       at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
       at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
It looks like there are no matching UI-classes on the client side.
Has anyone had any success in running ULC with Java 11? According to this Thread https://riasuite.canoo.com/forum/showthr...p?tid=7866 it should still work.
Thanks
Orlando
Reply


Forum Jump: