This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228220 - ArrayIndexOutOfBoundsException when starting netbeans
Summary: ArrayIndexOutOfBoundsException when starting netbeans
Status: RESOLVED DUPLICATE of bug 228156
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 19:17 UTC by attila.kelemen
Modified: 2013-04-05 08:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FINE level logs (636.71 KB, text/plain)
2013-04-03 19:17 UTC, attila.kelemen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description attila.kelemen 2013-04-03 19:17:39 UTC
Created attachment 133286 [details]
FINE level logs

Ever since I accidentally started two NetBeans instances concurrently NetBeans reports this exception after startup:

java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at java.io.PushbackInputStream.unread(PushbackInputStream.java:235)
	at org.netbeans.modules.uihandler.Installer.copyWithEncoding(Installer.java:1458)
	at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1634)
	at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:1001)
	at org.netbeans.modules.uihandler.Installer.access$400(Installer.java:114)
	at org.netbeans.modules.uihandler.Installer$2Auto.run(Installer.java:576)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)


Additional notes:
- I have attached FINE level logs (kept only the logs around the exceptions and removed some logs being output too many times (the same log message was written a lot of times).
- When concurrently starting NetBeans it did actually install my plugin (Gradle Support).
- I believe that it is a NetBeans bug (and not my plugin's) because starting the plugin from the IDE does not cause this error. Also, it occurs even if no Gradle project is being opened on startup.
- Removing the user directory did not help (I did not try complete reinstall of NB).
- NetBeans seems to work fine after reporting this issue and never reports it again.
Comment 1 attila.kelemen 2013-04-03 20:34:41 UTC

*** This bug has been marked as a duplicate of bug 228115 ***
Comment 2 Marian Mirilovic 2013-04-05 08:42:57 UTC

*** This bug has been marked as a duplicate of bug 228156 ***