Re: ERXBatchingDisplayGroup - qualifier variable '$acctId' is unbound
Re: ERXBatchingDisplayGroup - qualifier variable '$acctId' is unbound
- Subject: Re: ERXBatchingDisplayGroup - qualifier variable '$acctId' is unbound
- From: Chuck Hill <email@hidden>
- Date: Fri, 19 Mar 2010 15:26:32 -0700
On Mar 19, 2010, at 3:14 PM, Baiss Eric Magnusson wrote:
The error in ERXBatchingDisplayGroup which does not occur in
ERXDisplayGroup is:
Caused by: com.webobjects.foundation.NSForwardException
[java.lang.IllegalStateException] sqlStringForKeyValueQualifier:
attempt to generate SQL for
com.webobjects.eocontrol.EOKeyValueQualifier (acctId = $acctId)
failed because the qualifier variable '$acctId' is unbound.
Looks like you have a model based qualifier that you have not provided
a value for $acctId. I don't know why that is different between
these display groups.
:java.lang.IllegalStateException: sqlStringForKeyValueQualifier:
attempt to generate SQL for
com.webobjects.eocontrol.EOKeyValueQualifier (acctId = $acctId)
failed because the qualifier variable '$acctId' is unbound.
at
com
.webobjects
.appserver
._private
.WOComponentDefinition
.finishInitializingComponent(WOComponentDefinition.java:672)
at com.webobjects.appserver.WOComponent.<init>(WOComponent.java:241)
at Components.SecureComponent.<init>(SecureComponent.java:11)
at Components.CurrentSit.<init>(CurrentSit.java:35) // calling the
super()
... 45 more
Caused by: java.lang.IllegalStateException:
sqlStringForKeyValueQualifier:
attempt to generate SQL for
com.webobjects.eocontrol.EOKeyValueQualifier (acctId = $acctId)
failed because the qualifier variable '$acctId' is unbound.
at com.webobjects.jdbcadaptor.FrontbasePlugIn
$
FrontbaseExpression
.sqlStringForKeyValueQualifier(FrontbasePlugIn.java:1351)
*******************************
$acctId is an Integer, I searched and found no null acctId's in the
DB?
This is not related to what is in the database.
Is this an Integer - String conversion problem?
From what I can read <unbound> implies never been set.
As a rough guess, you are missing a step setting up the qualifier for
ERXBatchingDisplayGroup
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