Search the web
Sign In
New User? Sign Up
jsunit
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Running jsunit on a remote machine   Message List  
Reply | Forward Message #1193 of 1231 |
Hi,

I've been struggling for three days but keep getting an error
referencing fetching the remote config file:

distributed_test:
[junit] Feb 27, 2009 4:23:48 PM
net.jsunit.RemoteConfigurationFetcher fetch
[junit] INFO: Fetching remote machine configuration from
http://myremotemachine:80/jsunit
[junit] Exception in thread "Thread-0" java.lang.RuntimeException:
org.jdom.input.JDOMParseException: Error on line 1: White spaces are
required between publicId and systemId.
[junit] at
net.jsunit.utility.XmlUtility.asXmlDocument(XmlUtility.java:39)
[junit] at
net.jsunit.RemoteMachineServerHitter.hitURL(RemoteMachineServerHitter.java:26)
[junit] at
net.jsunit.RemoteConfigurationSource.<init>(RemoteConfigurationSource.java:18)
[junit] at
net.jsunit.RemoteConfigurationFetcher.fetch(RemoteConfigurationFetcher.java:32)
[junit] at
net.jsunit.RemoteConfigurationFetcher.run(RemoteConfigurationFetcher.java:24)
[junit] Caused by: org.jdom.input.JDOMParseException: Error on
line 1: White spaces are required between publicId and systemId.
[junit] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
[junit] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
[junit] at
net.jsunit.utility.XmlUtility.asXmlDocument(XmlUtility.java:37)
[junit] ... 4 more
[junit] Caused by: org.xml.sax.SAXParseException: White spaces are
required between publicId and systemId.
[junit] at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
[junit] at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLScanner.scanExternalID(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown
Source)
[junit] at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown
Source)
[junit] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[junit] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[junit] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[junit] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[junit] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[junit] at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[junit] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
[junit] ... 6 more
[junit] Testsuite: net.jsunit.DistributedTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] ------------- Standard Error -----------------
[junit] Feb 27, 2009 4:23:48 PM
net.jsunit.RemoteConfigurationFetcher fetch
[junit] INFO: Fetching remote machine configuration from
http://myremotemachine:80/jsunit
[junit] Exception in thread "Thread-0" java.lang.RuntimeException:
org.jdom.input.JDOMParseException: Error on line 1: White spaces are
required between publicId and systemId.
[junit] at
net.jsunit.utility.XmlUtility.asXmlDocument(XmlUtility.java:39)
[junit] at
net.jsunit.RemoteMachineServerHitter.hitURL(RemoteMachineServerHitter.java:26)
[junit] at
net.jsunit.RemoteConfigurationSource.<init>(RemoteConfigurationSource.java:18)
[junit] at
net.jsunit.RemoteConfigurationFetcher.fetch(RemoteConfigurationFetcher.java:32)
[junit] at
net.jsunit.RemoteConfigurationFetcher.run(RemoteConfigurationFetcher.java:24)
[junit] Caused by: org.jdom.input.JDOMParseException: Error on
line 1: White spaces are required between publicId and systemId.
[junit] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
[junit] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
[junit] at
net.jsunit.utility.XmlUtility.asXmlDocument(XmlUtility.java:37)
[junit] ... 4 more
[junit] Caused by: org.xml.sax.SAXParseException: White spaces are
required between publicId and systemId.
[junit] at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
[junit] at
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLScanner.scanExternalID(Unknown Source)
[junit] at
org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown
Source)
[junit] at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown
Source)
[junit] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[junit] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[junit] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[junit] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[junit] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[junit] at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[junit] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
[junit] ... 6 more
[junit] ------------- ---------------- ---------------
[junit]
[junit] Caused an ERROR
[junit] null
[junit] java.lang.reflect.InvocationTargetException
[junit] Caused by: java.lang.NullPointerException
[junit] at
net.jsunit.DistributedTestSuiteBuilder.addTestsForRemoteConfigurationTo(Distribu\
tedTestSuiteBuilder.java:83)
[junit] at
net.jsunit.DistributedTestSuiteBuilder.addTestsTo(DistributedTestSuiteBuilder.ja\
va:76)
[junit] at net.jsunit.DistributedTest.suite(DistributedTest.java:106)
[junit] at net.jsunit.DistributedTest.suite(DistributedTest.java:111)
[junit]

BUILD FAILED
/Users/me/Sites/jsunit2.3/build.xml:131: Test
net.jsunit.DistributedTest failed



I get the same error with 2.2 too. I've run standalone_test on the
remote machine worked fine.

Local machine is a Mac Book Pro the remote is a Win XP.

Please help, my hair is as thin as is acceptable!

TANX
Andrew





Fri Feb 27, 2009 4:29 pm

tanx66
Offline Offline
Send Email Send Email

Forward
Message #1193 of 1231 |
Expand Messages Author Sort by Date

Hi, I've been struggling for three days but keep getting an error referencing fetching the remote config file: distributed_test: [junit] Feb 27, 2009 4:23:48...
Andrew P Massey
tanx66
Offline Send Email
Mar 3, 2009
12:53 am

OK, I did it, I mean I broke it in the first place. 1) I wasn't using the ip address/port correctly 2) an the biggie: I hadn't started the JsUnit server on the...
Andrew P Massey
tanx66
Offline Send Email
Mar 3, 2009
3:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help