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 229487 - NullPointerException at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy
Summary: NullPointerException at org.netbeans.modules.versioning.core.api.VCSFileProxy...
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 22:44 UTC by MackSix
Modified: 2013-05-17 00:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 200484


Attachments
stacktrace (4.55 KB, text/plain)
2013-05-07 22:44 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-05-07 22:44:00 UTC
Build: NetBeans IDE Dev (Build 201305032300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
MackSix: 1. Have Mecurial project open.
2. Properties>>Mecurial>>Show Changes opens "Repository Status" window.
3. Move Project via Properties>>Move.
4. After Project is moved, click on the Commit button on the Repository Status window.

This happnes.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy(VCSFileProxy.java:106)
   at org.netbeans.modules.versioning.spi.VersioningSupport.isExcluded(VersioningSupport.java:147)
   at org.netbeans.modules.mercurial.Mercurial.getKnownParent(Mercurial.java:597)
   at org.netbeans.modules.mercurial.Mercurial.getTopmostManagedAncestor(Mercurial.java:544)
   at org.netbeans.modules.mercurial.Mercurial$1.getTopmostManagedAncestor(Mercurial.java:173)
   at org.netbeans.modules.versioning.util.RootsToFile.getRepositoryRoot(RootsToFile.java:127)
Comment 1 MackSix 2013-05-07 22:44:02 UTC
Created attachment 134209 [details]
stacktrace
Comment 2 Ondrej Vrabec 2013-05-13 13:13:22 UTC
fix: http://hg.netbeans.org/core-main/rev/f5156bf8caa1
Comment 3 Quality Engineering 2013-05-15 02:29:42 UTC
Integrated into 'main-golden', will be available in build *201305142300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f5156bf8caa1
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #229487 - NullPointerException at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy
Comment 4 MackSix 2013-05-17 00:52:04 UTC
Verified fixed.

Any button clicked after the project is moved causes a " []" to be appended to the project name on the Mercurial status window tab. Other than that, nothing happens, but no exception occurs. 

Product Version: NetBeans IDE Dev (Build 201305152300)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)