FULL PRODUCT VERSION :
1.6.0_11
ADDITIONAL OS VERSION INFORMATION :
Windows Vista
A DESCRIPTION OF THE PROBLEM :
C:\Projects\pti>ant clean build
Buildfile: build.xml
clean:
[delete] Deleting directory C:\Projects\pti\build
deploy-beehive:
[mkdir] Created dir: C:\Projects\pti\build
[echo] Deploy NetUI to webapp C:\Projects\pti\build
deploy.beehive.webapp.runtime:
[echo] Deploy NetUI to webapp rooted at: C:\Projects\pti\build
[copy] Copying 17 files to C:\Projects\pti\build\WEB-INF\lib
[copy] Copying 18 files to C:\Projects\pti\build\resources
[copy] Copying 2 files to C:\Projects\pti\build\WEB-INF
build:
[copy] Copying 110 files to C:\Projects\pti\build
[copy] Copying 1 file to C:\Projects\pti\build\WEB-INF\classes
[echo] Building Controls
[echo] Building Page Flows
Trying to override old definition of task apt
[echo] Building application source files
[apt] Compiling 15 source files to C:\Projects\pti\build\WEB-INF\classes
[apt] An exception has occurred in apt (1.6.0_11). Please file a bug at th
e Java Developer Connection (http://java.sun.com/webapps/bugreport) after check
ing the Bug Parade for duplicates. Include your program and the following diagno
stic in your report. Thank you.
[apt] java.lang.NullPointerException
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt
.java:161)
[apt] at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.ja
va:1794)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitNewArray(TreeScanne
r.java:194)
[apt] at com.sun.tools.javac.tree.JCTree$JCNewArray.accept(JCTree.java
:1294)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitAssign(TreeScanner.
java:203)
[apt] at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1
342)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitAnnotation(TreeScan
ner.java:272)
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt
.java:160)
[apt] at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.ja
va:1794)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitModifiers(TreeScann
er.java:267)
[apt] at com.sun.tools.javac.tree.JCTree$JCModifiers.accept(JCTree.jav
a:1816)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitClassDef(TreeScanne
r.java:62)
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitClassDef(Apt.j
ava:146)
[apt] at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.jav
a:575)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitTopLevel(TreeScanne
r.java:54)
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitTopLevel(Apt.j
ava:124)
[apt] at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTr
ee.java:446)
[apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:213)
[apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java
:258)
[apt] at com.sun.tools.apt.main.Main.compile(Main.java:1102)
[apt] at com.sun.tools.apt.main.Main.compile(Main.java:964)
[apt] at com.sun.tools.apt.Main.processing(Main.java:95)
[apt] at com.sun.tools.apt.Main.process(Main.java:43)
[apt] at com.sun.tools.apt.Main.main(Main.java:34)
[apt] javac: directory not found: C:\Projects\pti\build\WEB-INF\.tmpbeansr
c
[apt] Usage: javac <options> <source files>
[apt] use -help for a list of possible options
BUILD FAILED
C:\Projects\pti\build.xml:121: Compile failed; see the compiler error output for
details.
Total time: 1 second
C:\Projects\pti>
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run Apache Beehive Netui ant script
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
NullPointerException
REPRODUCIBILITY :
This bug can be reproduced always.
1.6.0_11
ADDITIONAL OS VERSION INFORMATION :
Windows Vista
A DESCRIPTION OF THE PROBLEM :
C:\Projects\pti>ant clean build
Buildfile: build.xml
clean:
[delete] Deleting directory C:\Projects\pti\build
deploy-beehive:
[mkdir] Created dir: C:\Projects\pti\build
[echo] Deploy NetUI to webapp C:\Projects\pti\build
deploy.beehive.webapp.runtime:
[echo] Deploy NetUI to webapp rooted at: C:\Projects\pti\build
[copy] Copying 17 files to C:\Projects\pti\build\WEB-INF\lib
[copy] Copying 18 files to C:\Projects\pti\build\resources
[copy] Copying 2 files to C:\Projects\pti\build\WEB-INF
build:
[copy] Copying 110 files to C:\Projects\pti\build
[copy] Copying 1 file to C:\Projects\pti\build\WEB-INF\classes
[echo] Building Controls
[echo] Building Page Flows
Trying to override old definition of task apt
[echo] Building application source files
[apt] Compiling 15 source files to C:\Projects\pti\build\WEB-INF\classes
[apt] An exception has occurred in apt (1.6.0_11). Please file a bug at th
e Java Developer Connection (http://java.sun.com/webapps/bugreport) after check
ing the Bug Parade for duplicates. Include your program and the following diagno
stic in your report. Thank you.
[apt] java.lang.NullPointerException
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt
.java:161)
[apt] at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.ja
va:1794)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitNewArray(TreeScanne
r.java:194)
[apt] at com.sun.tools.javac.tree.JCTree$JCNewArray.accept(JCTree.java
:1294)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitAssign(TreeScanner.
java:203)
[apt] at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1
342)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitAnnotation(TreeScan
ner.java:272)
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitAnnotation(Apt
.java:160)
[apt] at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.ja
va:1794)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitModifiers(TreeScann
er.java:267)
[apt] at com.sun.tools.javac.tree.JCTree$JCModifiers.accept(JCTree.jav
a:1816)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitClassDef(TreeScanne
r.java:62)
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitClassDef(Apt.j
ava:146)
[apt] at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.jav
a:575)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35
)
[apt] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:43
)
[apt] at com.sun.tools.javac.tree.TreeScanner.visitTopLevel(TreeScanne
r.java:54)
[apt] at com.sun.tools.apt.comp.Apt$AptTreeScanner.visitTopLevel(Apt.j
ava:124)
[apt] at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTr
ee.java:446)
[apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:213)
[apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java
:258)
[apt] at com.sun.tools.apt.main.Main.compile(Main.java:1102)
[apt] at com.sun.tools.apt.main.Main.compile(Main.java:964)
[apt] at com.sun.tools.apt.Main.processing(Main.java:95)
[apt] at com.sun.tools.apt.Main.process(Main.java:43)
[apt] at com.sun.tools.apt.Main.main(Main.java:34)
[apt] javac: directory not found: C:\Projects\pti\build\WEB-INF\.tmpbeansr
c
[apt] Usage: javac <options> <source files>
[apt] use -help for a list of possible options
BUILD FAILED
C:\Projects\pti\build.xml:121: Compile failed; see the compiler error output for
details.
Total time: 1 second
C:\Projects\pti>
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run Apache Beehive Netui ant script
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
NullPointerException
REPRODUCIBILITY :
This bug can be reproduced always.
- relates to
-
JDK-7041249 Remove apt tool and API from the JDK
- Closed