NullPointerException in cvslib

"William Mallouk - Gaea Consulting" <[email protected]> Thu, 21 Apr 2005 16:18:45 -0300
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <001c01c546a6$f0110590$2c00a8c0@gollum>
Hello there!

I would be glad if somebody could help me sorting out this problem:

It's been a while I'm having the following stacktrace printout in my application's log:

java.lang.NullPointerException
        at org.netbeans.lib.cvsclient.command.commit.CommitBuilder.processRevision(CommitBuilder.java:155)
        at org.netbeans.lib.cvsclient.command.commit.CommitBuilder.parseLine(CommitBuilder.java:111)
        at org.netbeans.lib.cvsclient.command.BuildableCommand.messageSent(BuildableCommand.java:94)
        at org.netbeans.lib.cvsclient.event.MessageEvent.fireEvent(MessageEvent.java:96)
        at org.netbeans.lib.cvsclient.event.EventManager.fireCVSEvent(EventManager.java:107)
        at org.netbeans.lib.cvsclient.response.MessageResponse.process(MessageResponse.java:52)
        at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:440)
        at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:401)
        at org.netbeans.lib.cvsclient.command.commit.CommitCommand.execute(CommitCommand.java:291)
        at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:484)
        at br.com.gaea.cvsutils.CVSHandler.commit(CVSHandler.java:209)
        at br.com.gaea.cvsutils.CVSHandler.pureCheckin(CVSHandler.java:154)
        at br.com.gaea.gw.commandframework.commands.VersionFileServerCommand.produceResponse(VersionFileServerCommand.java:206)
        at br.com.gaea.gw.commandframework.HttpCommandReceiver.getResponse(HttpCommandReceiver.java:45)
        at br.com.gaea.gw.commandframework.HttpCommandReceiver.doService(HttpCommandReceiver.java:125)
        at br.com.gaea.gw.commandframework.HttpCommandReceiver.doPost(HttpCommandReceiver.java:63)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        ...

This happens when I call the commit command using the cvslib.jar lib for netbeans 3.5. This is probably just an Exception.printStackTrace() call from inside cvslib. I confirmed that the files are being commited to the cvs repository so apparently there's no error, it's just a stacktrace message.

I tried to download the source code from repository with the cvs "-r release35" option, but still I couldn't figure out what's causing the message above to be printed out. Perhaps I'm getting the wrong version of the source code?

Thanks in advance,

William Mallouk
Gaea Consulting
[email protected]
www.gaea.com.br
+55-11-4227-2793