plist problem
plist problem
- Subject: plist problem
- From: Corin Lawson <email@hidden>
- Date: Tue, 8 Nov 2005 17:16:16 +1100
Hi,
I made some changes, by hand, to some of the .plist files of my eo
model. When I ran my app next it gave this error: "Property list
parsing failed while attempting to read array. No comma found between
array elements." I have searched for the missing comma but I can not
find it. I tried reverting back to the old copy but I got the same
error. I desperation I scrap the entire file and recreated it in
EOModeler. Yet I still get this error:
java.lang.IllegalArgumentException: Property list parsing failed
while attempting to read array. No comma found between array
elements. At line number: 59, column: 78.
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._readArrayContentsIntoArray
(NSPropertyListSerialization.java:773)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._readObjectIntoObjectReference
(NSPropertyListSerialization.java:580)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._readDictionaryContentsIntoDictionary
(NSPropertyListSerialization.java:836)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._readObjectIntoObjectReference
(NSPropertyListSerialization.java:584)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._readDictionaryContentsIntoDictionary
(NSPropertyListSerialization.java:836)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._readObjectIntoObjectReference
(NSPropertyListSerialization.java:584)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities._propertyListFromString(NSPropertyListSerialization.java:
397)
at com.webobjects.foundation.NSPropertyListSerialization
$_Utilities.propertyListFromString(NSPropertyListSerialization.java:375)
at
com.webobjects.foundation.NSPropertyListSerialization.propertyListFromSt
ring(NSPropertyListSerialization.java:80)
at
com.webobjects.foundation.NSPropertyListSerialization.propertyListWithPa
thURL(NSPropertyListSerialization.java:93)
at com.webobjects.eoaccess.EOModel.entityNamed(EOModel.java:
307)
at com.webobjects.eoaccess.EORelationship.<init>
(EORelationship.java:716)
at com.webobjects.eoaccess.EOEntity.relationships
(EOEntity.java:845)
at com.webobjects.eoaccess.EOEntity.relationshipNamed
(EOEntity.java:708)
at com.webobjects.eoaccess.EOEntity.classProperties
(EOEntity.java:887)
at
com.webobjects.eoaccess.EOEntity._propertyDictionaryInitializer
(EOEntity.java:3141)
at
com.webobjects.eoaccess.EOEntity._newDictionaryForProperties
(EOEntity.java:3488)
at
com.webobjects.eoaccess.EOEntityClassDescription._newDictionaryForProper
ties(EOEntityClassDescription.java:68)
at
com.webobjects.eocontrol.EOGenericRecord.__setClassDescription
(EOGenericRecord.java:110)
at
com.webobjects.eocontrol.EOGenericRecord.__setClassDescription
(EOGenericRecord.java:100)
at com.webobjects.eocontrol.EOGenericRecord.<init>
(EOGenericRecord.java:72)
at com.auststyle.bders.eom.EOResellerPricingPack.<init>
(EOResellerPricingPack.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance
(Constructor.java:274)
at
com.webobjects.foundation._NSUtilities.instantiateObjectWithConstructor(
_NSUtilities.java:594)
at
com.webobjects.eoaccess.EOEntityClassDescription.createInstanceWithEditi
ngContext(EOEntityClassDescription.java:207)
at com.webobjects.eoaccess.EORelationship._deferredFault
(EORelationship.java:1851)
at
com.webobjects.eoaccess._EODBCtxEntityInfo.computeRelationshipInfoForEnt
ityObjectRow(EODatabaseContext.java:6863)
at
com.webobjects.eoaccess._EODBCtxEntityInfo.infoForEntityObjectRow
(EODatabaseContext.java:6903)
at
com.webobjects.eoaccess.EODatabaseContext.initializeObjectRowEntityEditi
ngContext(EODatabaseContext.java:2406)
at com.webobjects.eoaccess.EODatabaseContext.initializeObject
(EODatabaseContext.java:3725)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.initializeObject
(EOObjectStoreCoordinator.java:646)
at com.webobjects.eocontrol.EOEditingContext.initializeObject
(EOEditingContext.java:3744)
at com.webobjects.eoaccess.EODatabaseChannel
$_EODatabaseChannelFetchResult.initializeObjects
(EODatabaseChannel.java:479)
at
com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecification
EditingContext(EODatabaseContext.java:3231)
at
com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(
EODatabaseContext.java:3337)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecif
ication(EOObjectStoreCoordinator.java:539)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(
EOEditingContext.java:4053)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(
EOEditingContext.java:4438)
at com.auststyle.bders.eom.EOReseller.fetchResellerById
(EOReseller.java:87)
at
com.auststyle.bders.ws.BDResellerWebServices.authenticateReseller
(BDResellerWebServices.java:140)
at
com.auststyle.bders.ws.BDResellerWebServices.authenticateReseller
(BDResellerWebServices.java:122)
at com.auststyle.bders.ws.BDResellerWebServices.createMember
(BDResellerWebServices.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod
(RPCProvider.java:372)
at org.apache.axis.providers.java.RPCProvider.processMessage
(RPCProvider.java:292)
at org.apache.axis.providers.java.JavaProvider.invoke
(JavaProvider.java:276)
at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.handlers.soap.SOAPService.invoke
(SOAPService.java:437)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:
316)
at
com.webobjects.appserver._private.WOWebService.performActionNamed
(WOWebService.java:364)
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:240)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest
(WOActionRequestHandler.java:142)
at
com.webobjects.appserver._private.WOWebServiceRequestHandler.handleReque
st(WOWebServiceRequestHandler.java:88)
at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1306)
at com.webobjects.appserver._private.WOWorkerThread.runOnce
(WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)
This is the offending file:
--- BEGIN ---
{
attributes = (
{
allowsNull = Y;
columnName = "pricing_pack_crt_date";
externalType = DATE;
name = createDate;
valueClassName = NSCalendarDate;
valueType = D;
},
{
columnName = "pricing_pack_id";
externalType = int;
name = id;
precision = 10;
valueClassName = NSNumber;
valueType = l;
},
{
allowsNull = Y;
columnName = "pricing_pack_mod_date";
externalType = DATE;
name = modifyDate;
valueClassName = NSCalendarDate;
valueType = D;
},
{
allowsNull = Y;
columnName = "pricing_pack_description";
externalType = varchar;
name = packDescription;
valueClassName = NSString;
valueType = S;
width = 50;
},
{
columnName = "pricing_pack_TLD_id";
externalType = int;
name = tldId;
precision = 10;
valueClassName = NSNumber;
valueType = l;
width = 10;
}
);
attributesUsedForLocking = (id, packDescription, tldId);
className = "com.auststyle.bders.eom.EOResellerPricingPack";
classProperties = (packDescription, createDate, modifyDate,
pricing, resellers);
externalName = "res_pricing_pack";
fetchSpecificationDictionary = {};
internalInfo = {
"_clientClassPropertyNames" = (
pricingPackDescription,
pricingPackTldId,
pricingPackCrtDate,
pricingPackModDate
);
};
name = EOResellerPricingPack;
primaryKeyAttributes = (id);
relationships = (
{
destination = EOResellerTldPricing;
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = ({destinationAttribute = pricingPackId;
sourceAttribute = id; });
name = pricing;
},
{
destination = EOReseller;
internalInfo = {"_nameInObjectStore" = eoresellers; };
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = ({destinationAttribute = resPricingPackId;
sourceAttribute = id; });
name = resellers;
}
);
}
--- END ---
Any suggestions?
Corin.
_______________________________________________
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