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 179072 - [68cat] NoClassDefFoundError: Could not initialize class org.netbeans.modules.java.hints.jackpot.impl.RulesManager
Summary: [68cat] NoClassDefFoundError: Could not initialize class org.netbeans.modules...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: David Strupl
URL:
Keywords:
: 179748 180186 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-28 06:07 UTC by alied
Modified: 2010-02-03 21:53 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163922


Attachments
stacktrace (1.14 KB, text/plain)
2009-12-28 06:07 UTC, alied
Details
stacktrace (1.14 KB, text/plain)
2010-01-04 13:28 UTC, alied
Details
stacktrace (1.14 KB, text/plain)
2010-01-11 05:40 UTC, alied
Details
stacktrace (1.13 KB, text/plain)
2010-02-02 04:29 UTC, Alexandr Scherbatiy
Details
Proposed patch (62.98 KB, patch)
2010-02-03 00:58 UTC, David Strupl
Details | Diff
Better patch - hopefully (1.00 KB, patch)
2010-02-03 01:01 UTC, David Strupl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2009-12-28 06:07:27 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4568-on-091221)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows Vista, 6.0, x86

User Comments:
GUEST: file opened and syntax highliting processed

GUEST: one exception per Java File opening

alied: after switch from a source file to another and selecting the Navigator



Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.java.hints.jackpot.impl.RulesManager
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.computeHints(HintsInvoker.java:147)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.computeHints(HintsInvoker.java:140)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.run(HintsInvoker.java:118)
   at org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.run(HintsInvoker.java:105)
   at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:291)
   at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:654)
Comment 1 alied 2009-12-28 06:07:32 UTC
Created attachment 92956 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-12-28 21:54:46 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163922
Comment 3 Exceptions Reporter 2009-12-30 06:26:22 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163922
Comment 4 alied 2010-01-04 13:28:48 UTC
Created attachment 93059 [details]
stacktrace
Comment 5 Jesse Glick 2010-01-06 17:29:07 UTC
The jackpot.rules module is no longer supported.
Comment 6 alied 2010-01-11 05:40:05 UTC
Created attachment 93170 [details]
stacktrace

after activating a source window
Comment 7 Jesse Glick 2010-01-21 15:20:55 UTC
*** Bug 179748 has been marked as a duplicate of this bug. ***
Comment 8 Alexandr Scherbatiy 2010-02-02 04:29:43 UTC
Created attachment 93754 [details]
stacktrace

Steps to reproduce:
- Create a JavaFX project
- Create a 'MyInterface' Java interface
- Copy the code to the interface:
-------------------------------------------------------------
public interface MyInterface<T extends Comparable> {
     T getType(T t);
}
-------------------------------------------------------------

The exception pops up
Comment 9 Alexandr Scherbatiy 2010-02-02 04:32:55 UTC
According to the statistics the issue has 52 duplicates: 
http://statistics.netbeans.org/analytics/detail.do?id=163922

Should not it be P1 issue?
Comment 10 Jesse Glick 2010-02-02 14:53:20 UTC
In fact looks to come from java.hints module.
Comment 11 David Strupl 2010-02-03 00:58:01 UTC
Created attachment 93785 [details]
Proposed patch
Comment 12 David Strupl 2010-02-03 01:01:06 UTC
Ooops, I apologize ... I have tried to export the diff from the IDE. It was 2 lines fix. I will try to re-attach the proper file ...
Comment 13 David Strupl 2010-02-03 01:01:59 UTC
Created attachment 93786 [details]
Better patch - hopefully
Comment 14 Jan Lahoda 2010-02-03 01:16:23 UTC
Please push that change. Thanks.
Comment 15 David Strupl 2010-02-03 02:14:24 UTC
http://hg.netbeans.org/jet-main/rev/743312b0a3a0
Comment 16 Jan Lahoda 2010-02-03 02:42:07 UTC
*** Bug 180186 has been marked as a duplicate of this bug. ***
Comment 17 Jesse Glick 2010-02-03 08:00:29 UTC
For a P1 fix like this I would recommend also incrementing the module spec version, to push the fix to dev AU users.
Comment 18 Quality Engineering 2010-02-03 21:53:15 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/743312b0a3a0
User: David Strupl <dstrupl@netbeans.org>
Log: Using the hints module classloader.
Issue #179072 - [68cat] NoClassDefFoundError: Could not initialize class org.netbeans.modules.java.hints.jackpot.impl.RulesManager