« Return to Thread: Three annoying bugs with NetBeans 6.1

Re: Three annoying bugs with NetBeans 6.1

by Martin.Novak@Sun.Com :: Rate this Message:

Reply to Author | View in Thread

MassimoH wrote:

  
  I can respond only to the third issue you described. Could you 
elaborate more, what does not work? I am
using Mercurial plugin without any problem (though it could be faster). 
When you push commit, nothing is committed
or what exactly is the problem? The warning dialog is a bit confusing, 
we know. The module was implemented for the
latest Mercurial version at that time. But it works with any newer and 
also with TortoiseHg.

Martin

    

The commit just doesn't work. I select "commit" from the menus and I get a
good message in the Mercurial console window, but nothing gets committed.

Looking through my NetBeans log files I see this Mercurial exception (I
recently filed under [Issue 134906]):

SEVERE [org.openide.util.RequestProcessor]
java.lang.ClassNotFoundException: org.ini4j.IniParser
       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at
org.apache.tools.ant.module.bridge.AntBridge$MaskedClassLoader.loadClass(AntBridge.java:667)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at org.ini4j.ServiceFinder.findServiceClass(ServiceFinder.java:142)
Caused: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser not
found
       at org.ini4j.ServiceFinder.findServiceClass(ServiceFinder.java:146)
       at org.ini4j.ServiceFinder.findService(ServiceFinder.java:174)
Caused: java.lang.IllegalArgumentException: Provider org.ini4j.IniParser
could not be instantiated
       at org.ini4j.ServiceFinder.findService(ServiceFinder.java:178)
       at org.ini4j.IniParser.newInstance(IniParser.java:42)
       at org.ini4j.Ini.load(Ini.java:247)
       at org.ini4j.Ini.<init>(Ini.java:185)
       at
org.netbeans.modules.mercurial.config.HgConfigFiles.loadSystemAndGlobalFile(HgConfigFiles.java:350)
       at
org.netbeans.modules.mercurial.config.HgConfigFiles.<init>(HgConfigFiles.java:101)
       at
org.netbeans.modules.mercurial.config.HgConfigFiles.getInstance(HgConfigFiles.java:114)
       at
org.netbeans.modules.mercurial.util.HgCommand.doCommit(HgCommand.java:1651)
       at
org.netbeans.modules.mercurial.ui.commit.CommitAction.performCommit(CommitAction.java:381)
       at
org.netbeans.modules.mercurial.ui.commit.CommitAction.access$100(CommitAction.java:90)
       at
org.netbeans.modules.mercurial.ui.commit.CommitAction$3.perform(CommitAction.java:237)
       at
org.netbeans.modules.mercurial.HgProgressSupport.performIntern(HgProgressSupport.java:98)
       at
org.netbeans.modules.mercurial.HgProgressSupport.run(HgProgressSupport.java:91)
       at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
  
And does it work from console? This may be connected to issue 134924 I've encountered yesterday. But as you said that if you try it more times, it proceeds eventually? This seems to be different from that issue... I see that you filed a bug 134906, thank you. I will continue in my comments there.

Martin

 « Return to Thread: Three annoying bugs with NetBeans 6.1