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 160524

Summary: NullPointerException at org.netbeans.modules.mercurial.ui.wizards.ClonePathsPanel.isValid
Product: versioncontrol Reporter: tkrd_oiax <tkrd_oiax>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=147764
Issue Type: DEFECT Exception Reporter: 147764
Attachments: stacktrace

Description tkrd_oiax 2009-03-18 08:43:32 UTC
Build: NetBeans IDE 6.5.1 (Build 200903060201)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27-11-generic, i386

User Comments:
GUEST: newbie attempting to synchronise with a mercurial repository which requires a login (user/password).

GUEST: I tried to check out a project using Mercurial using "Versioning" --> "Mercurial" when the Exception occured. No project was open at the time.

GUEST: Trying to clone hg repository. Before installed TortoiseHG, Mercurial Version is 1.1.2

moser: tried to invoke Versioning > Mercurial > Clone Other

GUEST: Attempting to clone a repository.

GUEST: Trying to import a project from a mecurial repo

GUEST: trying to clone a mercurial repository

rusexton: When running NetBeansIDE 6.5 with java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6.1) Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)
I have no problems running anything.

But!!!!!! 

When running NetBeansIDE 6.5 with java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)

After choosing from the main menu Versioning > Mercurial > Clone Other... I get this exception.

GUEST: I tried to clone a Mercurial, and i get this message.

GUEST: Just installed Mercurial 1.1.2, then installed NB 6.5, and then clicked MenuItem Versioning->Clone others ... 
That was all what i did.

tkrd_oiax: Tried to clone with Mercurial.

marciolopes: I tried to clone a mercurial repositorie, and i get this message error.
I have the latest version of Netbeans (6.5)

sflemming: Clicked Versioning->Mercurial->Clone other. 
HG 1.1.2 from Tortoise HG package installed.
Same problem with Windows 7 beta built 7000.

bmm: Cloning Mercurial Repo

squalyl: just clicked the "versioning->mercurial->clone" menu option :(

GUEST: Versioning/Mercurial/Clone other..

Nothing happens except this error message.

GUEST: This problem does not happen in the 64 bit version of Windows 7 @ my desktop, at least no to me, and its the same latest version of the plugin.

I'm running currently on an Acer One A150, Windows 7 build 7000 32 bits.

mathewboorman: Selected menu option to clone a Mercurial repo.

This is a fresh box all new installs:

- NB6.5 install on Vista, jdk 6.
- got all updates (including a mercurial change)
- installed TortoiseHg (no reboot)
- restarted NB so it picks up path updates.

rusexton: I chose from the main menu bar 
      Versioning > Mercurial > Clone Other ...
and boom this exception.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.mercurial.ui.wizards.ClonePathsPanel.isValid(ClonePathsPanel.java:77)
        at java.awt.Component.invalidateIfValid(Component.java:2740)
        at java.awt.Component.setLocale(Component.java:1810)
        at javax.swing.JComponent.<init>(JComponent.java:595)
        at javax.swing.JPanel.<init>(JPanel.java:65)
        at javax.swing.JPanel.<init>(JPanel.java:92)
Comment 1 tkrd_oiax 2009-03-18 08:43:38 UTC
Created attachment 78353 [details]
stacktrace
Comment 2 Ondrej Vrabec 2009-03-18 09:02:57 UTC

*** This issue has been marked as a duplicate of 157898 ***