Em 04/08/2012, às 17:29, David Holt escreveu:

> You can't create a foreign key in the ERAttachment tables. It just creates 
> problems.
> 


Hi David,

This issue is solved, but I have another one, that shows up either in the old 
project or in a new one that I created exclusively to test ERAttachment, a very 
simple one, with a very simple model. After selecting the file to upload, the 
application enters an infinite loop with the following error:

Ago 05 14:09:30 testeDW[52400] ERROR org.jabsorb.JSONRPCBridge Page: 
er.modern.look.pages.ERMODWizardCreationPage - Configuration: CreatePacote - 
exception occured
IllegalArgumentException: Attempt to insert null object into an 
com.webobjects.foundation.NSMutableDictionary.
     ... skipped 6 stack elements
  at 
er.extensions.eof.ERXEOControlUtilities.newPrimaryKeyDictionaryForEntityNamed(ERXEOControlUtilities.java:1238)
  at 
er.extensions.eof.ERXEOControlUtilities.newPrimaryKeyDictionaryForObject(ERXEOControlUtilities.java:1206)
  at 
er.extensions.eof.ERXGenericRecord.primaryKeyDictionary(ERXGenericRecord.java:871)
  at 
er.extensions.eof.ERXGenericRecord.rawPrimaryKeyInTransaction(ERXGenericRecord.java:695)
  at 
er.extensions.eof.ERXGenericRecord.primaryKeyInTransaction(ERXGenericRecord.java:710)
  at 
er.attachment.processors.ERAttachmentProcessor._parsePathTemplate(ERAttachmentProcessor.java:168)
  at 
er.attachment.processors.ERDatabaseAttachmentProcessor._process(ERDatabaseAttachmentProcessor.java:57)
  at 
er.attachment.processors.ERDatabaseAttachmentProcessor._process(ERDatabaseAttachmentProcessor.java:1)
  at 
er.attachment.processors.ERAttachmentProcessor.process(ERAttachmentProcessor.java:346)
  at 
er.attachment.processors.ERAttachmentProcessor.process(ERAttachmentProcessor.java:284)
  at 
er.attachment.components.ERAttachmentUpload._uploadSucceeded(ERAttachmentUpload.java:184)
  at 
er.attachment.components.ERAttachmentUpload.uploadSucceeded(ERAttachmentUpload.java:197)
     ... skipped 13 stack elements
  at er.ajax.AjaxFileUpload.uploadSucceeded(AjaxFileUpload.java:381)
  at 
er.ajax.AjaxFlexibleFileUpload.uploadSucceeded(AjaxFlexibleFileUpload.java:566)
  at 
er.ajax.AjaxFlexibleFileUpload.refreshState(AjaxFlexibleFileUpload.java:321)
  at er.ajax.AjaxFlexibleFileUpload.uploadState(AjaxFlexibleFileUpload.java:299)
     ... skipped 4 stack elements
  at org.jabsorb.JSONRPCBridge.call(JSONRPCBridge.java:650)
  at er.ajax.AjaxProxy.handleRequest(AjaxProxy.java:195)
     ... skipped 105 stack elements
  at er.ajax.AjaxRequestHandler.handleRequest(AjaxRequestHandler.java:17)
     ... skipped 3 stack elements
  at testeDW.app.Application.dispatchRequest(Application.java:41)
  ... skipped 3 stack elements

I googled for the problem and found that about a year ago someone had the same 
problem and nobody presented a solution:

multipart error when trying to display uploader

Angelo

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to