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 70471 - Exception when modify file outside of Netbeans
Summary: Exception when modify file outside of Netbeans
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: 2005-12-15 15:45 UTC by _ viendu
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (please check the whole file, Netbeans was kept opened the day before) (101.00 KB, text/plain)
2005-12-20 14:28 UTC, _ viendu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ viendu 2005-12-15 15:45:37 UTC
I have a java file opened in Netbeans.  Next, I modify the file outside of
Netbeans.  Usually, this is not a problem.  However, this time, I get this error:

java.lang.NullPointerException
	at
org.netbeans.modules.javacore.parser.ResourceInfo.refreshASTree(ResourceInfo.java:68)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:1146)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:515)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getParser(SemiPersistentElement.java:829)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.initCheck(ResourceImpl.java:1447)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.size(ResourceImpl.java:1467)
	at org.netbeans.modules.java.JavaEditor.refreshAnnotations(JavaEditor.java:414)
	at org.netbeans.modules.java.JavaEditor.access$400(JavaEditor.java:89)
	at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:260)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 _ viendu 2005-12-15 15:47:20 UTC
This is the latest qbuild 200512011057
The OS is Mandrake 10.1 Community
JDK 1.5.0_04-b05
Comment 2 Jan Becicka 2005-12-20 08:14:19 UTC
Please attach your messages.log. Thanks
Comment 3 _ viendu 2005-12-20 14:28:45 UTC
Created attachment 27976 [details]
messages.log (please check the whole file, Netbeans was kept opened the day before)
Comment 4 Jan Becicka 2006-10-26 16:26:46 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 5 Quality Engineering 2007-09-20 12:10:43 UTC
Reorganization of java component