I've have successfully used the functions from the simpleInterface get,checkin and checkout. I am now trying to do an add. From what I can see the parmeters are correct here is the stacktrace:

ac - C:\software\eclipse\eclipse-SDK-3.0-win32\eclipse\conf.xml
ac - C:\software\cvs\sourcejammer-client-2.1.0.0.gpl\SourceJammer\client\conf\conf.xml
cc - C:\software\cvs\sourcejammer-client-2.1.0.0.gpl\SourceJammer\client\conf\clientconf.xml
Connected to nas01 @ http://204.241.124.180:8080/sourcejammer/servlet/rpcrouter
# Connected to archive nas01.
top level:AEv2
next level:test
next level:doc
next level:src
next level:java
java has kids
# Returning file information.
# Returning file information.
java.lang.NullPointerException
        at org.sourcejammer.client.simpletools.SimpleInterface.addFile(Unknown Source)
        at org.sourcejammer.client.simpletools.SimpleInterface.addFile(Unknown Source)
        at com.regulusgroup.appbuilder.actions.OpenSJ.addVarFile(OpenSJ.java:779)
        at com.regulusgroup.appbuilder.actions.OpenSJ.access$1(OpenSJ.java:764)
        at com.regulusgroup.appbuilder.actions.OpenSJ$2.handleEvent(OpenSJ.java:383)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
        at com.regulusgroup.appbuilder.RcpApplication.run(RcpApplication.java:17)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
        at org.eclipse.core.launcher.Main.run(Main.java:644)
        at org.eclipse.core.launcher.Main.main(Main.java:628)
adding proj id:9
adding file:test.var
adding localDir:C:\development\AEv2\src\test.var
adding desc:path
# Session ended.
Disconnected

Reply via email to