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 233602 - NPE in Exceptions.printStackTrace
Summary: NPE in Exceptions.printStackTrace
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 234240 235566 235846 236017 237051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-29 15:16 UTC by TimKack
Modified: 2013-10-14 12:22 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202634


Attachments
stacktrace (4.62 KB, text/plain)
2013-07-29 15:16 UTC, TimKack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TimKack 2013-07-29 15:16:18 UTC
This issue was reported manually by TimKack.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build nbms-and-javadoc-11142-on-20130617)
VM: OpenJDK 64-Bit Server VM, 24.0-b50, OpenJDK Runtime Environment, 1.7.0_40-b31
OS: Linux

User Comments:
TimKack: Trying to add an JIRA tracker.
Problem happen when I tried to validate settings.




Stacktrace: 
java.lang.ClassNotFoundException: org.jdesktop.swingx.icon.PainterIcon
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Comment 1 TimKack 2013-07-29 15:16:19 UTC
Created attachment 137953 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-07-30 11:49:13 UTC
The error comes from team.ide.IDEServicesImpl.createBusyIcon
Comment 3 Tomas Stupka 2013-07-31 12:07:56 UTC
> The error comes from team.ide.IDEServicesImpl.createBusyIcon
looking on the messages.log there are also other exceptions - e.g. java.lang.ClassNotFoundException: org.netbeans.modules.php.editor.indent.ui.FmtTabsIndents, 

that all together with errors like 
ModuleCL@af652f5[org.netbeans.modules.editor.util], ModuleCL@4aeebde2[org.netbeans.modules.lexer], ModuleCL@68d3725[org.netbeans.api.progress], ...663 more]
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
	at org.netbeans.ModuleManager$SystemClassLoader.loadClass(ModuleManager.java:722)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:270)
	at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.findClass(BinaryFS.java:848)
	at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.methodValue(BinaryFS.java:788)
[catch] at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:703)
	at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:549)

please evaluate
Comment 4 Jaroslav Tulach 2013-08-01 13:26:06 UTC
There is a lot of 

WARNING [org.netbeans.modules.masterfs.watcher.Watcher]: Cannot add filesystem watch for /home/tkack/Sources/TIER3/sandbox/9.1.110082.0/base/systemlib: java.io.IOException: addWatch on /home/tkack/Sources/TIER3/sandbox/9.1.110082.0/base/systemlib errno: 28

the error code 28 means that the system run out of inotify handles. Probably because the TIER3 directory is huge(?).

The java.lang.NullPointerException at
org.openide.util.Exceptions$AnnException.getMessage(Exceptions.java:238)
org.openide.util.Exceptions$AnnException.toString(Exceptions.java:321)
is fixed in ergonomics#cef66f451a55

Then there is
INFO [org.netbeans.core.browser.webview.WebBrowserImplProvider]: JavaFX runtime is too old - minimum version required is 2.2.0b20
so probably just update your JDK. 

Marking fixed due to the NPE fix. Otherwise the status would be worksforme, I guess.
Comment 5 Quality Engineering 2013-08-08 02:30:05 UTC
Integrated into 'main-silver', will be available in build *201308072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cef66f451a55
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #233602: Prevent NPE in AnnException.toString()
Comment 6 Martin Kozeny 2013-08-12 08:18:06 UTC
*** Bug 234240 has been marked as a duplicate of this bug. ***
Comment 7 Marek Fukala 2013-09-05 16:41:02 UTC
*** Bug 235566 has been marked as a duplicate of this bug. ***
Comment 8 Milos Kleint 2013-09-16 08:20:07 UTC
*** Bug 235846 has been marked as a duplicate of this bug. ***
Comment 9 Milos Kleint 2013-09-16 12:48:18 UTC
*** Bug 236017 has been marked as a duplicate of this bug. ***
Comment 10 Milutin Kristofic 2013-10-14 12:22:54 UTC
*** Bug 237051 has been marked as a duplicate of this bug. ***