you are essentially running into this:
https://cwiki.apache.org/confluence/display/NETBEANS/Java+Module+System+and+NetBeans+Platform+Applications

-mbien

On 13.04.23 20:23, ingrosariocirr...@libero.it.INVALID wrote:
I upgraded my app from NB12 (java version 8) toNB17 (java version 20)
Build and compile works fine but at Run Time the RCP application halts with this error.
Can anyone help me?
                     Rosario Cirrito

run.run:
apr 13, 2023 8:13:52 PM org.netbeans.ProxyURLStreamHandlerFactory register
SEVERE: No way to find original stream handler for jar protocol
java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not "opens java.net" to unnamed module @21b8d17c at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:387) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:363) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:311) at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:181)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:175)
at org.netbeans.ProxyURLStreamHandlerFactory.register(ProxyURLStreamHandlerFactory.java:59)
at org.netbeans.JarClassLoader.<clinit>(JarClassLoader.java:142)
at org.netbeans.MainImpl.execute(MainImpl.java:153)
at org.netbeans.MainImpl.main(MainImpl.java:60)
at org.netbeans.Main.main(Main.java:58)

------------------------------------------------------------------------------- >Log Session: Thursday, April 13, 2023, 8:13:52?PM Central European Summer Time
>System Info:
Product Version = FastScada2023 17-ac2b269fa33a277ff09bc424fb9a5a8c63ed2194
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 20; Java HotSpot(TM) 64-Bit Server VM 20+36-2344; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 20+36-2344
Java Home = C:\Program Files\Java\jdk-20
System Locale; Encoding = it_IT (fastscada2018); UTF-8
Home Directory = C:\Users\rcirrito
Current Directory = C:\_irc_hor\23_HorCT2\SCADA\scadaDev2023\FastScadaUniv User Directory = C:\_irc_hor\23_HorCT2\SCADA\scadaDev2023\FastScadaUniv\build\testuserdir Cache Directory = C:\_irc_hor\23_HorCT2\SCADA\scadaDev2023\FastScadaUniv\build\testuserdir\var\cache Installation = C:\_irc_hor\23_HorCT2\SCADA\scadaDev2023\FastScadaUniv\build\cluster
C:\Program Files\NetBeans-17\netbeans\platform
C:\Program Files\NetBeans-17\netbeans\platform
Boot & Ext. Classpath =
Application Classpath = C:\Program Files\NetBeans-17\netbeans\platform\lib\boot.jar;C:\Program Files\NetBeans-17\netbeans\platform\lib\org-openide-modules.jar;C:\Program Files\NetBeans-17\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program Files\NetBeans-17\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program Files\NetBeans-17\netbeans\platform\lib\org-openide-util.jar Startup Classpath = C:\Program Files\NetBeans-17\netbeans\platform\core\asm-9.4.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\asm-commons-9.4.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\asm-tree-9.4.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\core-base.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\core.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program Files\NetBeans-17\netbeans\platform\core\org-openide-filesystems.jar;C:\_irc_hor\23_HorCT2\SCADA\scadaDev2023\FastScadaUniv\build\cluster\core\locale\core_fastscada2018.jar ------------------------------------------------------------------------------- java.lang.IllegalStateException: No NetigsoFramework found, is org.netbeans.core.netigso module enabled?
at org.netbeans.NetigsoHandle.getDefault(NetigsoHandle.java:63)
at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:115)
at org.netbeans.ModuleManager.doEnable(ModuleManager.java:1476)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1331)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1256)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:316)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142)
at org.netbeans.core.startup.Main.start(Main.java:303)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
at java.base/java.lang.Thread.run(Thread.java:1623)
Result: 2
BUILD SUCCESSFUL (total time: 8 seconds)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to