lwjwillemsen:
java.lang.Error: factory already defined
at java.base/java.net.URL.setURLStreamHandlerFactory(Unknown Source)
at com.servoy.j2db.smart.J2DBClient.initStreamHandlerFactory(J2DBClient.java:828)
at com.servoy.j2db.smart.J2DBClient.applicationInit(J2DBClient.java:1114)
at com.servoy.j2db.smart.J2DBClient.startupApplication(J2DBClient.java:786)
at com.servoy.j2db.smart.J2DBClient$4.run(J2DBClient.java:693)
at com.servoy.j2db.smart.J2DBClient.mainImpl(J2DBClient.java:717)
at com.servoy.j2db.smart.J2DBClient.main(J2DBClient.java:680)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at jdk.javaws@9/com.sun.javaws.Launcher.executeApplication(Unknown Source)
at jdk.javaws@9/com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at jdk.javaws@9/com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at jdk.javaws@9/com.sun.javaws.Launcher.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
that is this: https://bugs.openjdk.java.net/browse/JDK-8178799
lwjwillemsen:
Caught and handled this exception :
java.lang.NumberFormatException: For input string: “”
at java.base/java.lang.NumberFormatException.forInputString(Unknown Source)
at java.base/java.lang.Integer.parseInt(Unknown Source)
at java.base/java.lang.Integer.parseInt(Unknown Source)
at com.sun.media.imageioimpl.common.ImageUtil.processOnRegistration(ImageUtil.java:1408)
at com.sun.media.imageioimpl.plugins.wbmp.WBMPImageReaderSpi.onRegistration(WBMPImageReaderSpi.java:95)
at java.desktop/javax.imageio.spi.SubRegistry.registerServiceProvider(Unknown Source)
at java.desktop/javax.imageio.spi.ServiceRegistry.registerServiceProvider(Unknown Source)
at java.desktop/javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown Source)
at java.desktop/javax.imageio.spi.IIORegistry.(Unknown Source)
at java.desktop/javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at java.desktop/javax.imageio.ImageIO.(Unknown Source)
at com.servoy.j2db.util.ImageLoader.getSize(ImageLoader.java:562)
at com.servoy.j2db.util.gui.MyImageIcon.(MyImageIcon.java:66)
at com.servoy.j2db.smart.dataui.AbstractScriptLabel.setIconDirect(AbstractScriptLabel.java:636)
at com.servoy.j2db.smart.dataui.AbstractScriptLabel.setIcon(AbstractScriptLabel.java:622)
at com.servoy.j2db.smart.dataui.AbstractScriptLabel.setMediaIcon(AbstractScriptLabel.java:590)
at com.servoy.j2db.component.ComponentFactory.createGraphicalComponent(ComponentFactory.java:1822)
at com.servoy.j2db.component.ComponentFactory.createComponentEx(ComponentFactory.java:349)
at com.servoy.j2db.component.ComponentFactory.createComponent(ComponentFactory.java:257)
at com.servoy.j2db.smart.dataui.DataRendererFactory.placeElements(DataRendererFactory.java:300)
at com.servoy.j2db.smart.dataui.DataRendererFactory.completeRenderers(DataRendererFactory.java:266)
at com.servoy.j2db.FormController.createDataRenderers(FormController.java:449)
at com.servoy.j2db.FormController.init(FormController.java:279)
yes i have seen that before also, but that is deep into java. We can’t do much about that that is ImageIO class init.
Not something we can influence or call differently
Maybe there is some new imageio jar or something that we can ship