Hello !

I use Maven-1.0-rc3/cvslib-3.6 on windows xp.

I try to regenerate the commons-vfs site and during the changelog creation i get the following output

site:run-reports:
   [echo] Generating the Change Log...
maven-changelog-plugin:report:
   [echo] Generating the changelog report
*org.netbeans.lib.cvsclient.command.CommandException*
ChangeLog found: 0 entries

After some fiddeling around with the debugger i managed to get the following stacktrace out of maven

java.lang.NullPointerException
at org.netbeans.lib.cvsclient.command.BasicCommand.getFileEndingWith(BasicCommand.java:150)
at org.netbeans.lib.cvsclient.command.log.LogBuilder.createFile(LogBuilder.java:295)
at org.netbeans.lib.cvsclient.command.log.LogBuilder.processWorkingFile(LogBuilder.java:221)
at org.netbeans.lib.cvsclient.command.log.LogBuilder.parseLine(LogBuilder.java:157)
at org.netbeans.lib.cvsclient.command.BuildableCommand.messageSent(BuildableCommand.java:95)
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:485)
at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:439)
at org.netbeans.lib.cvsclient.command.log.LogCommand.execute(LogCommand.java:132)
at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:533)
at org.apache.maven.cvslib.CvsConnection.executeCommand(CvsConnection.java:88)
at org.apache.maven.cvslib.CvsConnection.processCommand(CvsConnection.java:376)
at org.apache.maven.cvslib.CvsChangeLogGenerator.getEntries(CvsChangeLogGenerator.java:100)
at org.apache.maven.changelog.ChangeLog.generateEntries(ChangeLog.java:235)
at org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java:214)
.....


After decompile the BasicCommand, line 150 is the following code

/* 150*/        for(index = 0; index < files.length; index++) {

so the only thing which could happen here ist that the files array is "null".


Issuing the command (using the cygwin-cvs.exe)
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic log -d "2004-04-26<2004-05-27"
brings a perfect log.


I already tried to checkout commons-vfs to a completely empty directory and retry the "maven site" command - same failure.
Even trying this on another machine doesnt change anything.


I tried Mave-1.0-rc2 too - with the same result (in fact rc2 was the first i got this failure, then i upgraded to rc3 - never used any maven version before)

Logging the network traffic on my firewall shows me, that the cvs communication is running.

This is something which already worked, i do not manage to find out what has been changed.
So now i do not know what to do next?


Any ideas??

Thanks,
Mario

Reply via email to