Describe the bug
When I install your plugin 0.12.4 I got an exception while unpacking the plugin while installing.
java.lang.ArrayIndexOutOfBoundsException: 64
at java.base/java.util.jar.JarFile.match(JarFile.java:941)
at java.base/java.util.jar.JarFile.checkForSpecialAttributes(JarFile.java:971)
at java.base/java.util.jar.JarFile.isMultiRelease(JarFile.java:366)
at java.base/java.util.jar.JarFile$JarFileEntry.<init>(JarFile.java:604)
at java.base/java.util.jar.JarFile.getEntry(JarFile.java:487)
at org.netbeans.StandardModule.loadLocalizedProps(StandardModule.java:345)
at org.netbeans.StandardModule.getLocalizedAttribute(StandardModule.java:169)
at org.openide.modules.ModuleInfo.getDisplayName(ModuleInfo.java:60)
at org.netbeans.core.startup.NbEvents.logged(NbEvents.java:191)
[catch] at org.netbeans.Events.log(Events.java:141)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:321)
at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93)
at org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384)
at org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982)
at org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Warning - could not install some modules:
com.junichi11.netbeans.modules.color.codes.preview - org.netbeans.InvalidException: StandardModule:com.junichi11.netbeans.modules.color.codes.preview jarFile: C:\Users\Chris\AppData\Roaming\Netbeans\11.3\modules\com-junichi11-netbeans-modules-color-codes-preview.jar: java.lang.ArrayIndexOutOfBoundsException: 64
Steps to Reproduce
- Download your plugin (0.12.4 latest release)
- Go to the plugin manager
- Go to the tab downloaded
- Choose the npm file from your system
- Go through the installation wizard
Expected behavior
It should install successfully without errors
Actual behavior
It tries to load the plugin manager again to update the UI and it hangs, I just can click close. And in the notification area I see the error, which I mentioned above.
Environments (please complete the following information):
- OS: Windows 10 64bit latest update
- NetBeans Version: 11.3
- Plugin Version: 0.12.4
- Java: 9.0.1
Product Version: Apache NetBeans IDE 11.3
Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
Runtime: Java(TM) SE Runtime Environment 9.0.1+11
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\11.3
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\11.3
Additional context
When I restart NetBeans and opens the plugin manager, everything is empty, I can't see any plugins and the exception appears again. After I remove your jar file from the modules folder, everything works again. So I need to remove your plugin manually to see the list of plugins again.
Describe the bug
When I install your plugin 0.12.4 I got an exception while unpacking the plugin while installing.
Steps to Reproduce
Expected behavior
It should install successfully without errors
Actual behavior
It tries to load the plugin manager again to update the UI and it hangs, I just can click close. And in the notification area I see the error, which I mentioned above.
Environments (please complete the following information):
Additional context
When I restart NetBeans and opens the plugin manager, everything is empty, I can't see any plugins and the exception appears again. After I remove your jar file from the modules folder, everything works again. So I need to remove your plugin manually to see the list of plugins again.