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.
NB6 200603121900, Mustang b75, project using JDK5u6 following the instructions to do a Transform --> Clean Up, Exception is thrown: org.netbeans.jackpot.engine.EngineException: Error executing operator at org.netbeans.jackpot.builder.Engine.runScript(Engine.java:148) at org.netbeans.modules.jackpot.JackpotModule.runCommand (JackpotModule.java:130) at org.netbeans.modules.jackpot.actions.JackpotAction$CommandRunner.run (JackpotAction.java:77) [catch] at java.lang.Thread.run(Thread.java:626) Caused by: java.lang.AssertionError at org.netbeans.jackpot.pretty.ImportAnalysis.neededImports (ImportAnalysis.java:81) at org.netbeans.jackpot.save.Commit.commit(Commit.java:316) at org.netbeans.jackpot.builder.DefaultEnvironment.toSource (DefaultEnvironment.java:120) at org.netbeans.jackpot.transform.TransformResult.toSource (TransformResult.java:74) at org.netbeans.jackpot.transform.TransformResult.makeSelection (TransformResult.java:57) at org.netbeans.jackpot.transform.TransformResult$TransformerResultImpl.getElement (TransformResult.java:88) at org.netbeans.modules.jackpot.ModuleContext.checkSourceFiles (ModuleContext.java:128) at org.netbeans.modules.jackpot.ModuleContext.acceptResults (ModuleContext.java:120) at org.netbeans.jackpot.transform.Transformer.show(Transformer.java:87) at org.netbeans.jackpot.query.Query.apply(Query.java:74) at org.netbeans.jackpot.builder.Engine.runScript(Engine.java:141) ... 3 more
I cannot reproduce this problem: did you run this on a publicly available project I can look at? If not, what project type was it? At a minimum, I'll enhance the assert message to display which file it is having problems with.
Yup - I'm playing it with NapkinLAF; I'll pack up the exact project here. And by the way all the queries are disabled somehow with the same project.
Created attachment 29232 [details] Project Files
Fixed, problem was due to no symbol for import statements which reference class fields (ie, "import foo.bar.Class.SOME_CONSTANT;"). Few people import individual constants, but since Ken Arnold helped write the Java Programming Language book, I won't argue with him. The fix should show up in tomorrow's daily build. I haven't been able to test updating yet, but unless the alpha update center's URL gets changed with each build, you should be able to pull it down using the Daily Update Center.
I waited all day for the update, and discovered that the new module's version number stays the same as the old one. Oh well. It is working now - thanks; I've got another EngineException when doing code transform, but I think I'll file it as a seperate issue.