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 74344 - Jackpot completely broken on Mustang b78
Summary: Jackpot completely broken on Mustang b78
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Jackpot (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: _ tball
URL:
Keywords:
: 74391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-04 00:58 UTC by _ alexlamsl
Modified: 2006-04-19 00:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ alexlamsl 2006-04-04 00:58:19 UTC
System info:

NetBeans IDE Dev (Build 200603270859)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b78
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Try any project with any of the Query / Transform actions:

org.netbeans.jackpot.engine.EngineException: Error executing operator
	at org.netbeans.jackpot.builder.Engine.runCommand(Engine.java:120)
	at org.netbeans.modules.jackpot.JackpotModule.runCommand
(JackpotModule.java:133)
	at org.netbeans.modules.jackpot.actions.JackpotAction$CommandRunner.run
(JackpotAction.java:81)
[catch] at java.lang.Thread.run(Thread.java:618)
Caused by: java.lang.AbstractMethodError: 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.getPackageName()
Lcom/sun/source/tree/ExpressionTree;
	at com.sun.source.util.TreeScanner.visitCompilationUnit
(TreeScanner.java:51)
	at 
org.netbeans.modules.jackpot.cmds.StatsReporter$TreeCounter.visitCompilationUni
t(StatsReporter.java:99)
	at 
org.netbeans.modules.jackpot.cmds.StatsReporter$TreeCounter.visitCompilationUni
t(StatsReporter.java:72)
	at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept
(JCTree.java:474)
	at org.netbeans.modules.jackpot.cmds.StatsReporter$TreeCounter.scan
(StatsReporter.java:91)
	at org.netbeans.modules.jackpot.cmds.StatsReporter$TreeCounter.scan
(StatsReporter.java:72)
	at com.sun.source.util.TreeScanner.scan(TreeScanner.java:40)
	at org.netbeans.jackpot.tree.TreeScanner.visitPackage
(TreeScanner.java:25)
	at org.netbeans.jackpot.builder.PackageDef.accept(PackageDef.java:62)
	at org.netbeans.modules.jackpot.cmds.StatsReporter$TreeCounter.scan
(StatsReporter.java:91)
	at org.netbeans.modules.jackpot.cmds.StatsReporter$TreeCounter.scan
(StatsReporter.java:72)
	at com.sun.source.util.TreeScanner.scan(TreeScanner.java:40)
	at org.netbeans.jackpot.tree.TreeScanner.visitPackage
(TreeScanner.java:24)
	at org.netbeans.jackpot.builder.PackageDef.accept(PackageDef.java:62)
	at org.netbeans.modules.jackpot.cmds.StatsReporter.apply
(StatsReporter.java:56)
	at org.netbeans.modules.jackpot.cmds.StatsReporter.apply
(StatsReporter.java:35)
	at org.netbeans.jackpot.builder.Engine.runCommand(Engine.java:111)
	... 3 more
Comment 1 _ tball 2006-04-04 21:41:49 UTC
The javac team decided to change several of their public API methods and enum
names without communicating it to anyone else.  Since the changes are
signficant, I'll display a "b78 not supported yet" dialog if Jackpot is run on
it, and then switch the test/dialog to "b78 is minimum Mustang build" when finished.
Comment 2 _ tball 2006-04-04 21:44:32 UTC
*** Issue 74391 has been marked as a duplicate of this issue. ***
Comment 3 _ alexlamsl 2006-04-04 21:57:27 UTC
Uh oh. I'm sorry to hear that.
Comment 4 _ tball 2006-04-05 00:29:52 UTC
Added test and error dialog describing the incompatibility problem.
Comment 5 _ tball 2006-04-05 20:05:13 UTC
With the error dialog added and notice on jackpot.netbeans.org that b78 is
compatible and to use b77 (or earlier) or Java 5, I lowered the priority to a 2.
 More incompatiblities are planned for b79 or b80.  Once those changes are made,
the API should again be stable and Jackpot will be updated to use them as soon
as possible.
Comment 6 _ tball 2006-04-15 00:13:00 UTC
Updated to Mustang b80 (current build).  In addition to numerous API changes,
there were several internal compiler changes which affected Jackpot, hopefully
all of which I caught.  If not, you know what to do...
Comment 7 Jesse Glick 2006-04-18 23:24:38 UTC
I haven't seen the update on the Dev AU yet. Has it really been published?
Comment 8 _ alexlamsl 2006-04-19 00:15:57 UTC
Checking the change logs, it should have been there since "NetBeans IDE 6.0 
daily build 200604161800"

But yes I am still waiting for an update from the AUC. No news so far.