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 75095 - Random NPE from javacore
Summary: Random NPE from javacore
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-15 15:59 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (226.28 KB, text/plain)
2006-04-15 16:00 UTC, _ tboudreau
Details
Dump file also in log (8.32 KB, text/plain)
2006-04-15 16:01 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-04-15 15:59:38 UTC
Same project set up as issue 66340.  In this case, I simply switched tabs 
using the mouse, to edit javax.realtime.Clock - the following NPE appeared:

java.lang.NullPointerException
	at org.netbeans.modules.javacore.parser.ASTProvider.createBounds
(ASTProvider.java:407)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.cachePositions
(ResourceImpl.java:487)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getFeaturePosition
(ResourceImpl.java:473)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getPosition
(FeatureImpl.java:270)
	at org.netbeans.modules.javacore.JMManager.getElementPosition
(JMManager.java:771)
	at org.netbeans.modules.javacore.JMManager.getElementPosition
(JMManager.java:757)
	at org.netbeans.modules.java.OverrideAnnotation$Descriptor.getLine
(OverrideAnnotation.java:157)
	at org.netbeans.modules.java.OverrideAnnotation.updateLine
(OverrideAnnotation.java:64)
	at org.netbeans.modules.java.OverrideAnnotationSupport$1.run
(OverrideAnnotationSupport.java:149)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1177)
	at 
org.netbeans.modules.java.OverrideAnnotationSupport.processOverriddenAnnotation
(OverrideAnnotationSupport.java:156)
	at 
org.netbeans.modules.java.OverrideAnnotationSupport.processOverriddenAnnotation
Impl(OverrideAnnotationSupport.java:180)
	at org.netbeans.modules.java.OverrideAnnotationSupport.access$400
(OverrideAnnotationSupport.java:45)
	at 
org.netbeans.modules.java.OverrideAnnotationSupport$Request.computeAnnotations
(OverrideAnnotationSupport.java:362)
	at org.netbeans.modules.java.OverrideAnnotationSupport$Request.run
(OverrideAnnotationSupport.java:346)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:514)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:947)
Comment 1 _ tboudreau 2006-04-15 16:00:38 UTC
Created attachment 29872 [details]
Log file
Comment 2 _ tboudreau 2006-04-15 16:01:50 UTC
Created attachment 29873 [details]
Dump file also in log
Comment 3 _ tboudreau 2006-04-15 16:02:28 UTC
Build is 060407 running on Mustang b77.
Comment 4 Jan Becicka 2006-10-26 16:27:19 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 5 Quality Engineering 2007-09-20 09:50:43 UTC
Reorganization of java component