• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
D2W removing qualifier field crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W removing qualifier field crash


  • Subject: D2W removing qualifier field crash
  • From: Ian Joyner <email@hidden>
  • Date: Wed, 1 Mar 2006 11:30:57 +1100

I have a model with PERSON <- MEMBER. Member is a subclass of person, qualified by a single character 'type' attribute. I generate a Direct to Web project and by default, the 'type' attribute is shown on the query screen for member. This is meaningless, so I use WebAssistant to hide it, but having done so, I get the following crash. Does anyone have an insight as to why this is? (I've already submitted a bug report to Apple.) WebAssistant has added the following rule twice (when type is removed for some strange reason) to user.d2wmodel, and this seems to be the problem:

{
"class" = "com.webobjects.directtoweb.Rule";
"author" = "100";
"rhs" = {
"class" = "com.webobjects.directtoweb.Assignment";
"keyPath" = "keyWhenRelationship";
};
"lhs" = {
"class" = "com.webobjects.eocontrol.EOAndQualifier";
"qualifiers" = (
{
"class" = "com.webobjects.eocontrol.EOKeyValueQualifier";
"value" = "query";
"selectorName" = "isEqualTo";
"key" = "task";
},
{
"class" = "com.webobjects.eocontrol.EOKeyValueQualifier";
"value" = "Member";
"selectorName" = "isEqualTo";
"key" = "entity.name";
},
{
"class" = "com.webobjects.eocontrol.EOKeyValueQualifier";
"value" = "uniform_sizes";
"selectorName" = "isEqualTo";
"key" = "propertyKey";
}
);
};
},

Error:
java.lang.NullPointerException
Reason:

Stack trace:
File
Line#
Method
Package


Class.java
1830
searchFields
java.lang
Class.java
1214
getDeclaredField
java.lang
D2WUtils.java
267
dataTypeForCustomKeyAndEntity
com.webobjects.directtoweb
D2WContext.java
589
customAttribute
com.webobjects.directtoweb
D2WContext.java
577
attributeForProperty
com.webobjects.directtoweb
D2WContext.java
562
attribute
com.webobjects.directtoweb
D2WContext.java
532
attribute
com.webobjects.directtoweb
DefaultAssignment.java
163
defaultDisplayNameForProperty
com.webobjects.directtoweb
GeneratedMethodAccessor50.java
NA
invoke
sun.reflect
DelegatingMethodAccessorImpl.java
25
invoke
sun.reflect
Method.java
324
invoke
java.lang.reflect
NSKeyValueCoding.java
684
methodValue
com.webobjects.foundation
NSKeyValueCoding.java
1160
valueInObject
com.webobjects.foundation
NSKeyValueCoding.java
1268
valueForKey
com.webobjects.foundation
KeyValuePath.java
136
valueForKeyOnObject
com.webobjects.directtoweb
DefaultAssignment.java
50
fire
com.webobjects.directtoweb
Rule.java
346
fire
com.webobjects.directtoweb
D2WModel.java
1480
_fireRule
com.webobjects.directtoweb
D2WModel.java
1525
fireRuleForKeyPathInContext
com.webobjects.directtoweb
D2WFastModel.java
184
fireRuleForKeyPathInContext
com.webobjects.directtoweb
D2WContext.java
278
inferValueForKey
com.webobjects.directtoweb
D2WContext.java
166
valueForKey
com.webobjects.directtoweb
D2WComponent.java
375
displayNameForProperty
com.webobjects.directtoweb
D2WComponent.java
563
displayNameForKeyWhenRelationship
com.webobjects.directtoweb





 _______________________________________________
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

  • Next by Date: Re: Filemaker und WebObjects?
  • Next by thread: Re: Filemaker und WebObjects?
  • Index(es):
    • Date
    • Thread