Doug Smith - 2006-02-27

I just downloaded AppExchange data loader 7.0.  I extracted it, then ran it with the following command line:

java -Xms64m -Xmx512m -DentityExpansionLimit=128000 -Dsalesforce.config.dir="%cd%\conf" -classpath "%cd%\sforcedataloader.jar" SforceDataLoaderRunner

The GUI launches.  I entered my username and password, and the error displayed is "java.lang.NullPointerException" -- the dreaded NPE. 

Here's the full stack trace:

2006-02-27 11:37:08,402 ERROR [main] client.PartnerClient connect (PartnerClient.java:140) - ; nested exception is:
        java.lang.NullPointerException
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:396)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at com.sforce.soap.partner.SoapBindingStub.login(SoapBindingStub.java:1208)
        at com.sforce.dataloader.client.PartnerClient.connect(PartnerClient.java:134)
        at com.sforce.dataloader.controller.LoaderController.login(LoaderController.java:138)
        at com.sforce.dataloader.ui.extraction.ExtractionSettingsPage$2.run(ExtractionSettingsPage.java:139)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at com.sforce.dataloader.ui.extraction.ExtractionSettingsPage$1.widgetSelected(ExtractionSettingsPage.java:136)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        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.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at com.sforce.dataloader.ui.uiActions.ExtractUIAction.run(ExtractUIAction.java:53)
        at com.sforce.dataloader.ui.LoaderWindow$1.run(LoaderWindow.java:147)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at com.sforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:107)
        at com.sforce.dataloader.controller.LoaderController.createAndShowGUI(LoaderController.java:157)
        at SforceDataLoaderRunner.main(SforceDataLoaderRunner.java:43)

java.lang.NullPointerException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
        at org.apache.axis.client.Call.invoke(Call.java:2251)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at com.sforce.soap.partner.SoapBindingStub.login(SoapBindingStub.java:1208)
        at com.sforce.dataloader.client.PartnerClient.connect(PartnerClient.java:134)
        at com.sforce.dataloader.controller.LoaderController.login(LoaderController.java:138)
        at com.sforce.dataloader.ui.extraction.ExtractionSettingsPage$2.run(ExtractionSettingsPage.java:139)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at com.sforce.dataloader.ui.extraction.ExtractionSettingsPage$1.widgetSelected(ExtractionSettingsPage.java:136)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        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.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at com.sforce.dataloader.ui.uiActions.ExtractUIAction.run(ExtractUIAction.java:53)
        at com.sforce.dataloader.ui.LoaderWindow$1.run(LoaderWindow.java:147)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at com.sforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:107)
        at com.sforce.dataloader.controller.LoaderController.createAndShowGUI(LoaderController.java:157)
        at SforceDataLoaderRunner.main(SforceDataLoaderRunner.java:43)
Caused by: java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:396)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        ... 26 more