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 158459 - NullPointerException at org.netbeans.modules.java.source.util.LowMemoryNotifier.addLowMemoryListener
Summary: NullPointerException at org.netbeans.modules.java.source.util.LowMemoryNotifi...
Status: RESOLVED DUPLICATE of bug 158421
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-12 14:00 UTC by sternix
Modified: 2009-02-26 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146237


Attachments
stacktrace (1.67 KB, text/plain)
2009-02-12 14:00 UTC, sternix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sternix 2009-02-12 14:00:13 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: OpenJDK Client VM, 14.0-b10, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b01
OS: Windows XP, 5.1, x86

User Comments:
sternix: hi am trying jdk 1.6.0_14-ea-b01 development builds, (you can get it from http://download.java.net/jdk6/binaries/), and want to use G1 gc as default garbage collector, i edit netbeans.conf file like

netbeans_default_options="-J-client -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseG1GC -J-Xverify:none -J-Xss2m -J-Xms768m -J-Xmx768m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"

on starup i got this exception,
Thanks,



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.java.source.util.LowMemoryNotifier.addLowMemoryListener(LowMemoryNotifier.java:103)
        at org.netbeans.modules.java.source.usages.BinaryAnalyser.start(BinaryAnalyser.java:141)
        at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.scanRoots(RepositoryUpdater.java:1798)
        at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.access$2700(RepositoryUpdater.java:1292)
        at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:1443)
        at org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:1335)
Comment 1 sternix 2009-02-12 14:00:27 UTC
Created attachment 76922 [details]
stacktrace
Comment 2 Max Sauer 2009-02-16 12:02:19 UTC
Reassign...
Comment 3 Jiri Prox 2009-02-26 11:08:21 UTC

*** This issue has been marked as a duplicate of 158421 ***