Re: AjaxExample2 - error
Re: AjaxExample2 - error
- Subject: Re: AjaxExample2 - error
- From: "J Stephanos" <email@hidden>
- Date: Tue, 25 Nov 2008 14:50:05 -0500
Ricardo:
> Were you able to run AjaxExample2 successfully?
Yes. Started from square one. I ended up deleting all references to it (in Eclipse) and then re-imported the project to make a local copy in my workspace. That solved the problem. Of course, I am running in Eclipse. Haven't done an ant build. Have to confess that I can't remember why I wanted it running from the command line. :-(
Don't know if that answers your question. Hope it helps.
--JSt
On Tue, Nov 25, 2008 at 2:18 PM, Ricardo J. Parada
<email@hidden> wrote:
On Oct 12, 2008, at 8:06 PM, J Stephanos wrote:
When I try to run AjaxExample2, I get this error:
AjaxExample2
Error: com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
AjaxHeaderFooter: 3:36: wo:str {null={value=$^title}} has no WOElement
Reason: wo:str {null={value=$^title}} has no WOElement
What is the problem here?
AjaxExample runs ok.
--JSt
Were you able to run AjaxExample2 successfully?
Last night I built project wonder from the command line using:
ant frameworks; sudo ant frameworks.install
ant applications; sudo ant applications.install
ant examples; sudo ant examples.install
I then ran AjaxExample2 from the command line and got this same error that you ran into. Here's the stack trace.
Nov 24 23:10:43 AjaxExample2[49638] (ERXNSLogLog4jBridge.java:43) WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
com.webobjects.appserver.parser.woml.WOMLTemplateParserException: AjaxHeaderFooter: 3:36: wo:str {null={value=$^title}} has no WOElement
[2008-11-25 14:10:43 EST] <WorkerThread1> com.webobjects.appserver.parser.woml.WOMLTemplateParserException: AjaxHeaderFooter: 3:36: wo:str {null={value=$^title}} has no WOElement
at com.webobjects.appserver.parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:368)
at com.webobjects.appserver.parser.woml.WOMLTemplateParser.parse(WOMLTemplateParser.java:653)
at com.webobjects.appserver.parser.WOHTMLTemplateParser.parse(WOHTMLTemplateParser.java:40)
at com.webobjects.appserver.parser.WOComponentTemplateParser.templateWithHTMLAndDeclaration(WOComponentTemplateParser.java:438)
at com.webobjects.appserver._private.WOComponentDefinition.template(WOComponentDefinition.java:364)
at com.webobjects.appserver.WOComponent.template(WOComponent.java:499)
at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1112)
at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:106)
at er.ajax.example2.components.AjaxHeaderFooter.appendToResponse(AjaxHeaderFooter.java:15)
at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:106)
at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1385)
at er.extensions.appserver.ERXSession.appendToResponse(ERXSession.java:540)
at com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1794)
at er.extensions.appserver.ERXApplication.appendToResponse(ERXApplication.java:1556)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1656)
at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1620)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.RuntimeException: wo:str {null={value=$^title}} has no WOElement
at com.webobjects.appserver.parser.woml.WOMLTemplateParser.createWOElements(WOMLTemplateParser.java:512)
at com.webobjects.appserver.parser.woml.WOMLTemplateParser.endElement(WOMLTemplateParser.java:735)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.webobjects.appserver.parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:339)
... 28 more
Nov 24 23:10:43 AjaxExample2[49638] (ERXApplication.java:1368) ERROR er.extensions.appserver.ERXApplication - Exception caught: wo:str {null={value=$^title}} has no WOElement
Extra info: {
"CurrentComponentHierarchy" = (
"er.ajax.example2.components.Main",
"er.ajax.example2.components.AjaxHeaderFooter"
);
"CurrentComponent" = "er.ajax.example2.components.AjaxHeaderFooter";
"PreviousPageList" = ();
"Headers" = {
"accept-encoding" = "gzip, deflate";
"user-agent" = "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.2 Safari/525.26.12";
"accept" = "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
"host" = "localhost:49638";
"accept-language" = "en-us";
"connection" = "keep-alive";
};
"CurrentPage" = "er.ajax.example2.components.Main";
"Session" = "<er.ajax.example2.Session sessionID=OWZltNvd85EhNjzC7TBy0M timeOut(sec)=3600.0 terminating=false _wasTimedOut=false contextArray=null contextPageInfos=null languages=(\"English_US\", \"English\", \"Nonlocalized\") componentState=null currentContextID=0 distributionEnabled=false cookieRendezVousEnabled=true URLRendezVousEnabled=fals localizer=<er.extensions.localization.ERXLocalizer English> messageEncoding=<er.extensions.appserver.ERXMessageEncoding encoding: ISO8859_1> browser=<er.extensions.appserver.ERXBasicBrowser browserName: Safari, version: 525.26.12, mozillaVersion: 5.0, platform: MacOS>>";
"Bundles" = {
"Ajax" = "";
"ERExtensions" = "";
"JavaWebObjects" = "5.4.3";
"ERJars" = "";
"JavaJDBCAdaptor" = "5.4.3";
"JavaXML" = "5.4.2";
"JavaEOAccess" = "5.4.3";
"JavaEOControl" = "5.4.2";
"JavaFoundation" = "5.4.3";
"JavaWOJSPServlet" = "5.4.2";
"AjaxExample2" = "";
"JavaWOExtensions" = "";
};
"URL" = "/cgi-bin/WebObjects/AjaxExample2.woa";
}
_______________________________________________
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