Re: computeQueryDictionaryInContext error
Re: computeQueryDictionaryInContext error
- Subject: Re: computeQueryDictionaryInContext error
- From: Chuck Hill <email@hidden>
- Date: Thu, 18 Dec 2008 14:28:51 -0800
Hi Mark,
This is probably better on the Wonder list as this seems to be a
Wonder issue. It might be that your Wonder code needs to be updated.
The line numbers below are not close to what is in the head.
On Dec 18, 2008, at 1:59 PM, Mark Morris wrote:
I see my ERExtensions says it's at version 4.0.0.500.
More on the error itself:
java.lang.RuntimeException: computeQueryDictionaryInContext failed.
at
er.extensions.ERXWOForm._appendHiddenFieldsToResponse(ERXWOForm.java:
228)
at er.extensions.ERXWOForm.appendChildrenToResponse(ERXWOForm.java:
256)
at er.extensions.ERXWOForm.appendToResponse(ERXWOForm.java:396)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects
.appserver
._private
.WOComponentContent.appendToResponse(WOComponentContent.java:51)
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
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
com
.webobjects
.appserver.WOComponent._appendPageToResponse(WOComponent.java:1574)
at
com
.webobjects
.appserver.WOComponent._generateResponseInContext(WOComponent.java:
1543)
at
com
.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:
1538)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:
278)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
at
er
.extensions
.ERXDirectActionRequestHandler
.handleRequest(ERXDirectActionRequestHandler.java:82)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:
1439)
at Application.dispatchRequest(Application.java:169)
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.NoSuchMethodException:
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement
.computeQueryDictionaryInContext(java.lang.String,
com.webobjects.appserver.WOAssociation,
com.webobjects.foundation.NSDictionary,
com.webobjects.appserver.WOContext)
at java.lang.Class.getDeclaredMethod(Class.java:1909)
at
er.extensions.ERXWOForm._appendHiddenFieldsToResponse(ERXWOForm.java:
224)
... 24 more
Wonder thinks you are using WO 5.4, but it is failing trying to call a
5.4 only method. I am not sure why or what is going on.
This is in response to a Direct Action url containing form values.
This app worked before I started the conversion to WOLips (and
subsequently, after the error, more updating of tools). Also, I get
the console startup messages Randall mentioned:
402 [main] INFO er.extensions.ERXApplication$JarChecker - The
following packages appear multiple times:
(Lots here)
and
578 [main] WARN er.extensions.ERXApplication$JarChecker - The
following packages have different versions, you should remove the
version you don't want:
com/webobjects/appserver/xml/_private->(4853->/Library/Frameworks/
ERExtensions.framework/Resources/Java/ERExtensions.jar, 4663->/
System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar)
com/webobjects/eocontrol->(5225->/System/Library/Frameworks/
JavaEOControl.framework/Resources/Java/javaeocontrol.jar, 4298->/
Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions.jar)
Still not confident I've deciphered the details on that one....
That is probably just normal debug messages from ERXApplication. I
don't actually subclass ERXApplication. Those packages do exist in
both (Wonder patches bugs in WO).
Chuck
On Dec 18, 2008, at 3:37 PM, Chuck Hill wrote:
Is there a stack trace? A more complete error message?
Chuck
On Dec 18, 2008, at 1:29 PM, Mark Morris wrote:
I'm struggling with the exact same error right now, and also have
the console message symptoms Randall mentions.
I was thinking perhaps I have incompatible versions of something.
Here's what I have (after trying to update everything to see if it
would help):
WebObjects 5.4.3
Eclipse 3.3.2
WOLips 3.3.5594
Wonder - I copied the latest version of the 5.4 frameworks this
morning
Anything there look like it would cause a problem?
Thanks for any help!
Regards,
Mark
On Dec 18, 2008, at 2:46 PM, Chuck Hill wrote:
On Dec 18, 2008, at 12:16 PM, Randall Perry wrote:
The 5.4 _source_ version of Wonder needs the New Hotness
version of WOLips if
you are building it. And that needs Eclipse 3.4. If you just
have the binary
install, then either one should be fine.
It's just the binary.
Where did you install them?
/Library/Frameworks, as instructed in the Easy+Binary+Download+a
nd+Install wiki page.
Check the application's classpath, where is it
looking for these libraries? Do you have a permissions
problem?
Frameworks have read all access.
Checked the run output and got this message on many packages:
"The following packages appear multiple times:"
Also got a warn message on these 2:
Dec 18 12:59:04 SooperSeekrit[49205] (ERXApplication.java:513)
WARN
er.extensions.ERXApplication$JarChecker - The following
packages have
different versions, you should remove the version you don't want:
com/webobjects/appserver/xml/_private->(4853->/Library/
Frameworks/ERExtensio
ns.framework/Resources/Java/ERExtensions.jar,
4663->/System/Library/Frameworks/JavaWebObjects.framework/
Resources/Java/jav
awebobjects.jar)
com/webobjects/eocontrol->(5225->/System/Library/Frameworks/
JavaEOControl.fr
amework/Resources/Java/javaeocontrol.jar,
4298->/Library/Frameworks/ERExtensions.framework/Resources/Java/
ERExtensions
.jar)
I don't get either of those errors. Look in your project under
woproject/ant.* and see if those files have bad or duplicate
entries in them.
New. Hotness. Rules.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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