Re: WO Example does not run
Re: WO Example does not run
- Subject: Re: WO Example does not run
- From: Robert Walker <email@hidden>
- Date: Fri, 30 Sep 2005 09:50:33 -0400
What version of WO are you running? I was able to run this example
in development mode on WO 5.2.4/Xcode 2.0. Maybe the problem was
introduced in WO 5.3/Xcode 2.1. Are you sure you removed the
comments from all the XML files? Sounds to me like it's having
trouble de-serializing the XML objects.
On Sep 30, 2005, at 5:39 AM, Blue Moon wrote:
Hi there,
I'm trying to run the JCDiscussionBoard example JavaClient
application which can be found in /Developer/Examples/
JavaWebObjects, but the app raises an exception when starting up:
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.IllegalStateException: Server exception: The string "--"
is not permitted within comments.
java.lang.IllegalStateException: Server exception: The string "--"
is not permitted within comments.
at
com.webobjects.eodistribution.client.EODistributedObjectStore._checkRe
turnValuesForExceptions(EODistributedObjectStore.java:569)
at
com.webobjects.eodistribution.client.EODistributedObjectStore.invokeSt
atelessRemoteMethodWithKeyPath(EODistributedObjectStore.java:1102)
at
com.webobjects.eogeneration.client._EORemoteXMLProvider._provideXMLs
(_EORemoteXMLProvider.java:30)
at
com.webobjects.eogeneration.EOControllerFactory._concreteEvaluateMulti
pleRules(EOControllerFactory.java:398)
at
com.webobjects.eogeneration.EOControllerFactory._evaluateMultipleRules
(EOControllerFactory.java:499)
at
com.webobjects.eogeneration.EOControllerFactory._concreteGenerateSpeci
ficationsAndActions(EOControllerFactory.java:564)
at
com.webobjects.eogeneration.EOControllerFactory._defaultSpecifications
(EOControllerFactory.java:630)
at
com.webobjects.eogeneration.EOControllerFactory._activateDefaultContro
llers(EOControllerFactory.java:775)
at
com.webobjects.eogeneration.EOControllerFactory.activateDefaultControl
lers(EOControllerFactory.java:792)
at
com.webobjects.eogeneration.EODynamicApplication.finishInitialization(
EODynamicApplication.java:107)
at com.webobjects.eoapplication.EOApplication$1.run
(EOApplication.java:512)
at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
I thought the app might be receiving invalid XML from the server,
so I ran tcpflow to see what was being exchanged. The tcp dump
seems to imply that the server is notifying the client of a server
side exception:
192.168.001.020.49954-192.168.001.020.50193: .........................
,com.webobjects.foundation.NSForwardException.........1The string
"--" is not permitted within comments.
I noticed that the original source files of the example app did
include "--" inside comments, so I removed all comments, but that
did not help either.
Does anyone have a clue?
Thanks,
Rudi Angela
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden