Bug 84980 - "Missing or old copyright comments" Query fails
"Missing or old copyright comments" Query fails
Status: RESOLVED WONTFIX
Product: contrib
Classification: Unclassified
Component: Jackpot
5.x
All Windows XP
: P3 (vote)
: TBD
Assigned To: issues@contrib
issues@contrib
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-15 10:09 UTC by serkandemir
Modified: 2010-04-27 18:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description serkandemir 2006-09-15 10:09:01 UTC
( from Refactor/Query and Refactor menu, Jackpot module version is 1.4.4)
"Missing or old copyright comments" query fails after try to refactor. 
The stack trace is below. 

org.netbeans.jackpot.engine.EngineException: Error executing operator
	at org.netbeans.jackpot.builder.Engine.runCommands(Engine.java:142)
	at org.netbeans.modules.jackpot.JackpotModule.runCommands(JackpotModule.java:131)
	at
org.netbeans.modules.jackpot.ui.QueryAndRefactorAction$CommandRunner.run(QueryAndRefactorAction.java:111)
[catch] at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
	at
org.netbeans.modules.jackpot.cmds.ChangeCopyright.visitCompilationUnit(ChangeCopyright.java:51)
	at
org.netbeans.modules.jackpot.cmds.ChangeCopyright.visitCompilationUnit(ChangeCopyright.java:34)
	at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:474)
	at org.netbeans.jackpot.tree.NodeScanner.scan(NodeScanner.java:44)
	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.jackpot.tree.NodeScanner.scan(NodeScanner.java:44)
	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.jackpot.tree.NodeScanner.scan(NodeScanner.java:44)
	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.jackpot.builder.MultiTransformer.apply(MultiTransformer.java:56)
	at org.netbeans.jackpot.builder.Engine.runCommands(Engine.java:134)
	... 3 more
Comment 1 Jesse Glick 2010-04-27 18:41:36 UTC
The old Jackpot module is no longer maintained. There is a rewrite in progress at: http://bitbucket.org/jlahoda/jackpot30/wiki/Home


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo