• 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
Re: Migrations and ERAttachment error followup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migrations and ERAttachment error followup


  • Subject: Re: Migrations and ERAttachment error followup
  • From: "Sr. Ângelo Andrade Cirino" <email@hidden>
  • Date: Sun, 05 Aug 2012 14:16:18 -0300

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Migrations and ERAttachment error followup (From: David Holt <email@hidden>)
 >Re: Migrations and ERAttachment error followup (From: "Sr. Ângelo Andrade Cirino" <email@hidden>)
 >Re: Migrations and ERAttachment error followup (From: David Holt <email@hidden>)

  • Prev by Date: Re: WOPopUpButton not working on ipad
  • Next by Date: Wonder 5.7.0 release
  • Previous by thread: Re: Migrations and ERAttachment error followup
  • Next by thread: Re: Can not launch WOnder app / was: WOnder install fails
  • Index(es):
    • Date
    • Thread