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 95514 - AssertionError when you open NB6.0
Summary: AssertionError when you open NB6.0
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 09:36 UTC by Fabiola Rios
Modified: 2007-02-16 14:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
assertion stack trace (1.84 KB, text/plain)
2007-02-14 13:31 UTC, Lukas Hasik
Details
new assertion 070214 (1.21 KB, text/plain)
2007-02-15 13:27 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiola Rios 2007-02-14 09:36:01 UTC
AssertionError when you open NB6.0 build 20070213 :


java.lang.AssertionError
	at
org.netbeans.modules.javadoc.hints.JavadocUtilities.findDeprecated(JavadocUtilities.java:332)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider$Analyzer.processDeprecatedAnnotation(JavadocHintProvider.java:278)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider$Analyzer.processNode(JavadocHintProvider.java:271)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider$Analyzer.visitClass(JavadocHintProvider.java:183)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider$Analyzer.visitClass(JavadocHintProvider.java:162)
	at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:596)
	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:52)
	at com.sun.source.util.TreeScanner.scan(TreeScanner.java:75)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider$Analyzer.visitCompilationUnit(JavadocHintProvider.java:177)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider$Analyzer.visitCompilationUnit(JavadocHintProvider.java:162)
	at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:476)
	at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:52)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider.run(JavadocHintProvider.java:132)
	at
org.netbeans.modules.javadoc.hints.JavadocHintProvider.run(JavadocHintProvider.java:105)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1169)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Lukas Hasik 2007-02-14 13:31:31 UTC
Created attachment 38483 [details]
assertion stack trace
Comment 2 Lukas Hasik 2007-02-14 14:13:52 UTC
really annoying. It happens often with mobile project. 
Seems like stopper for M7 for Mobility. We don't want to promote build as
milestone when Assertion appears when he opens/creates file.

Please fix ASAP. 
Comment 3 Jan Pokorsky 2007-02-14 14:39:35 UTC
It would be great to provide more details like the project java platform. The
source file would be helpful too.
Comment 4 Fabiola Rios 2007-02-14 15:39:36 UTC
The exception appears all the time, when you touch any component, open project ,
or create a new project.

I send you a project file.
Comment 5 Lukas Hasik 2007-02-14 15:41:03 UTC
project java platform is "Wireless Toolkit 2.2" that is bundled with Mobility Pack
Comment 6 Jan Pokorsky 2007-02-14 16:07:04 UTC
Thanks for details. The project file is not necessary.
Comment 7 Jan Pokorsky 2007-02-14 17:36:32 UTC
wireless platform does not support annotations

fixed in

/cvs/javadoc/src/org/netbeans/modules/javadoc/hints/JavadocGenerator.java,v  <--
 JavadocGenerator.java
new revision: 1.2; previous revision: 1.1
done
Checking in JavadocHintProvider.java;
/cvs/javadoc/src/org/netbeans/modules/javadoc/hints/JavadocHintProvider.java,v 
<--  JavadocHintProvider.java
new revision: 1.6; previous revision: 1.5
Comment 8 Lukas Hasik 2007-02-15 12:40:14 UTC
The issue doen't happen all times now. Thank you. Decreasing priority and
removing it from stoppers list.

Unfortunately, I have to reopen. 
It happens only when you wanna  use the hint "Create missing javadoc/Fix all
missing javadoc" in a java file in Mobility project.
Comment 9 Jan Pokorsky 2007-02-15 12:56:54 UTC
Could you attach the exception please?
Comment 10 Lukas Hasik 2007-02-15 13:27:15 UTC
Created attachment 38538 [details]
new assertion 070214
Comment 11 Jan Pokorsky 2007-02-15 13:33:09 UTC
This should be already fixed. Please try the latest build.
Comment 12 Lukas Hasik 2007-02-15 13:49:16 UTC
thanks. Will check tommorow
Comment 13 Lukas Hasik 2007-02-16 14:55:22 UTC
the assertion doesn't appear anymore. thanks