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 88376 - VSS - NPE after Get Latest Version on [Missing] file
Summary: VSS - NPE after Get Latest Version on [Missing] file
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 88378 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-01 08:04 UTC by novakm
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description novakm 2006-11-01 08:04:35 UTC
1) Delete some versioned [Current] file (this will change his status to [Missing]
2) Right click on that [Missing] file and invoke VSS -> Get Latest Version from
the popup menu.
3) Click OK
4) The following NPE exception is thrown:

java.lang.NullPointerException
	at
org.netbeans.modules.java.hints.JavaHintsProvider.resourceParsed(JavaHintsProvider.java:792)
	at org.netbeans.modules.javacore.JMManager$5.run(JMManager.java:1427)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)

Although the exception is thrown, the file status changes to [Current] again and
you can work with it.

-------
NetBeans IDE Dev (Build 200610231800)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b02
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250
-------
Comment 1 Martin Entlicher 2006-11-01 08:56:07 UTC
*** Issue 88378 has been marked as a duplicate of this issue. ***
Comment 2 Jan Lahoda 2006-11-03 10:45:18 UTC
Please try newer build, the Java hints module has been rewritten completely in
the current trunk. Thanks.
Comment 3 Jan Lahoda 2007-06-27 10:47:05 UTC
The hints have been rewritten for NB6.0 - the exception should not happen in the new version.
Comment 4 Quality Engineering 2007-09-20 09:55:14 UTC
Reorganization of java component