Menu

#106 Module Explorer causes NullPointerException

open
nobody
5
2004-07-03
2004-07-03
No

When I'm trying to list all available modules on e.g. :
pserver:anonymous@cvs.sourceforge.net/cvsroot/jedit ,
Gruntspud shows an empty dialog with "Details..." and
"OK" and under Details it says "Caused by ...java.lang.
NullPointerException" and the following:

java.lang.NullPointerException
at org.netbeans.lib.cvsclient.command.checkout.
ModuleListBuilder.processModule(ModuleListBuilder.java:
80)
at org.netbeans.lib.cvsclient.command.checkout.
ModuleListBuilder.parseLine(ModuleListBuilder.java:58)
at org.netbeans.lib.cvsclient.command.
BuildableCommand.messageSent(BuildableCommand.java:
94)
at org.netbeans.lib.cvsclient.command.checkout.
CheckoutCommand.messageSent(CheckoutCommand.
java:759)
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.
ErrorResponse.process(ErrorResponse.java:38)
at org.netbeans.lib.cvsclient.Client.
handleResponse(Client.java:474)
at org.netbeans.lib.cvsclient.Client.
processRequests(Client.java:435)
at org.netbeans.lib.cvsclient.command.checkout.
CheckoutCommand.execute(CheckoutCommand.java:249)
at org.netbeans.lib.cvsclient.Client.
executeCommand(Client.java:518)
at gruntspud.CVSCommandHandler$CommandGroup.
doCommand(CVSCommandHandler.java:581)
at gruntspud.CVSCommandHandler$CommandGroup.
doDir(CVSCommandHandler.java:510)
at gruntspud.CVSCommandHandler$CommandGroup.
doNodes(CVSCommandHandler.java:388)
at gruntspud.CVSCommandHandler$CommandGroup.
run(CVSCommandHandler.java:330)

This error occurs also on :ssh:- and :ssh2:-Connections.

Discussion

  • Markus Birth

    Markus Birth - 2004-07-04

    Logged In: YES
    user_id=701876

    Adding a final slash after the path to the Repository makes
    Gruntspud say "Login failed" (tried :pserver:anonymous@cvs.
    sf.net) and do the NullPointerException AFTERWARDS.

     
  • t_magicthize

    t_magicthize - 2004-09-04

    Logged In: YES
    user_id=553482

    Im not sure on this one - works for me. Its a pain, but you
    do need to edit the modules file CVSROOT/modules, listing
    all of the modules. Im pretty sure sourceforge does't
    maintain this file automatically, so its up to the jEdit
    maintainers to do so - which they dont!
    (http://cvs.sourceforge.net/viewcvs.py/jedit/CVSROOT/modules?rev=1.1&view=markup)

    Eclispe and other IDEs can list modules without having to do
    this, but I havnt looked into how they do it yet.

    Brett

     

Log in to post a comment.