Elements Type lost when deserializing a collection in Flex

I am running FlexBuilder, BlazeDS, SBI (Spring Blaze Integration), Hibernate with Tomcat 6 on a local machine.
I have a layoutStructure object that holds layoutModule objects in its layoutStructure.children ArrayCollection. On the server LayoutStructure.java contains a List<LayoutModule> children collection annotated OneToMany to the LayoutModule table. I can see in the BlazeDS debugger that the List<LayoutModule> being sent from the server correctly contains LayoutModule objects but when it is being deserialized in Flex all of them lose their type and are translated into Object type.
Can anyone please let me know why do you thing that is? I have all the [RemoteClass(alias=" ... ")] mappings correctly done. Here is some of the code (omitting all the packaging information):
LayoutStructure.java:
@Entity
@Table (name="layoutstructure")
public class LayoutStructure implements Serializable
    private static final long serialVersionUID = 8935662122890799233L;
    @Id 
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Column(name="layoutStructureId")
    public Integer id ;
    @OneToOne(
        cascade=CascadeType.ALL,
        optional=false)
    public User user;
    @OneToMany(
        fetch = FetchType.EAGER,
        cascade = CascadeType.ALL )
    @JoinColumn(
        name = "fk_layoutId",
        nullable = false )
    @org.hibernate.annotations.IndexColumn(
        name = "position")
    public List<LayoutModule> children ;
LayoutModule.java:
@Entity
@Table (name = "layout_module")
public class LayoutModule implements Serializable
    private static final long serialVersionUID = -4413201380054375907L;
     * NanToNullProxy() needed in order to null out the id:Number
     * property coming from Flex in a newly created object (it
     * defaults to NaN in Flex but I need it NULL for Hibernate
     * to persist it as a new object).
    public LayoutModule(){
        BeanProxy bp = new NanToNullProxy();
        bp.setIncludeReadOnly(true);
        PropertyProxyRegistry.getRegistry().register(LayoutModule.class, bp);
    private Integer id;
    @Id @GeneratedValue( strategy=GenerationType.AUTO )
    public Integer getId() {
        return id;
    public void setId(Integer id) {
        this.id = id;
LayoutModule.as:
    [Bindable]
    [RemoteClass(alias="test.layout.LayoutModule")]
    public class LayoutModule extends EventDispatcher implements IUID
         * The id number to store in the database.
        public var id : Number ;
         * Unique Id needed for proper identification
         * in the tree component when it is being
         * reopened to the same LayoutUnit after refreshing
         * the dataProvider.
        public function get uid():String
            return String(id) + "c";
        public function set uid( uid:String ):void
Any help would be greatly apprectiated. Thanks. Dahn.

Hi DJ
Thanks for the quick reply.
The good news is that what you suggest simplifies my process a lot. So thanks for that.
The bad news in the order in still wrong. I.E it's not as the collection order, but it is the same order as the Process Multiple file route!
So a step forward, but not quite there yet.
Thanks so far!
Chris

Similar Messages

  • I am trying to use my adobe premiere elements 12 and when I go to click on a "new project" it takes me to the sign in page. Once I type my information in and click on "sign in" a little 'thinking circle' pops up and it just keeps spinning

    I am trying to use my adobe premiere elements 12 and when I go to click on a "new project" it takes me to the sign in page. Once I type my information in and click on "sign in" a little 'thinking circle' pops up and it just keeps spinning but it never ends up doing anything. Please help me with this issue. I really need to get this project started like yesterday. Thank you.

    dplum12
    What computer operating system is your Premiere Elements 12 running on? Did you have the opportunity to update 12 to 12.1 Update yet using an opened project's Help Menu/Update? If not, please do so when you get the opportunity.
    For now I will assume that your computer is Windows 7, 8, or 8.1 64 bit. Please try the following suggestions to overcome your Premiere Elements Sign In issue.
    http://www.atr935.blogspot.com/2014/04/pe12-premiere-elements-12-editor-will.html
    and, if you get any messages about Internet connect and the computer clock, please review the following
    http://www.atr935.blogspot.com/2014/04/pe12-sign-in-failure-connect-to.html
    Please let us know the outcome.
    Thank you.
    ATR

  • Variable not found when package executes.".The element cannot be found in a collection."

    This is a very simple tutorial demonstrating script task. 2 variables
    intvar int32 5
    strvar string 0
    And a script task with this code
    If Dts.Variables("intVar").Value > 10 Then
                Dts.Variables("strVar").Value = "Big"
            Else
                Dts.Variables("strVar").Value = "Small"
            End If
            MsgBox(Dts.Variables("strVar").Value)
    below is the error msg
    SSIS package "Package.dtsx" starting.
    Error: 0x1 at Script Task: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The element cannot be found in a collection. This error happens when
    you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
     ---> System.Runtime.InteropServices.COMException (0xC0010009): The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not
    there.
       at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100.get_Item(Object Index)
       at Microsoft.SqlServer.Dts.Runtime.Variables.get_Item(Object index)
       --- End of inner exception stack trace ---
       at Microsoft.SqlServer.Dts.Runtime.Variables.get_Item(Object index)
       at ST_ce37649a37c146518fa69eff106c6625.vbproj.ScriptMain.Main()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
    Task failed: Script Task
    Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "Package.dtsx" finished: Failure.
    The program '[2824] Package.dtsx: DTS' has exited with code 0 (0x0).

    Must be a typo in variable name (not matching declaration)
    Arthur My Blog
    there is one more reason for the problem - 
    I had the code
    DataColumn dc = null;
    dc = myDataTable.Columns["PERSON_NAME"];
    The column to be fetched was NAME and not PERSON_NAME...someone changed it in the db :(

  • APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VE

    Hi.,
    Getiing Error while running the quickpay request.
    Application :11.5.10.2
    Database :10.2.0.5
    OS : HP UX
    Error
    HR_51118_HRPROC_ERR_OCC_ON_ASG
    ASGNO 179279
    APP-PAY-51118: Error was encountered when processing assignment 179279
    HR_51119_HRPROC_ERR_OCC_ON_ET
    ETNAME US_TAX_VERTEX
    APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VERTEX
    Invalid jurisdiction code found in primary work location

    Please see (Payroll Process Fails: FORMULA_ERROR_TEXT A compiled version of the formula 431 cannot be found Compiled Version of formula cannot be found [ID 358881.1]).
    Thanks,
    Hussein

  • My downloaded version of Photoshop Elements 6 was lost when my computer crashed. How do I re-install?

    My downloaded version of Photoshop Elements 6 for windowns
    was lost when my computer crashed. How can I re-download?

    Unfortunately there isn't a download available for PSE 6, so if you didn't save your original download, I'm afraid you're out of luck. The downloads available at adobe are mostly the trials for older versions and for PSE 6 you couldn't activate the trial by entering a serial number so it wouldn't help you any.

  • Since I have Firefox 4 on my minilapatop, I type two or three times faster than the text in the browswer can keep up with. It results in parts of texts lost, when I am typing.

    It's what I wrote above. I am not a fast typer, but when writing texts or composing e-mails, the texts cannot follow me and I loose texts. I have a small eee-PC with Windows 7 running. It worked great, until I upgraded to Firefox 4.

    Sorry this is a user to user technical forum.  There is NO APPLE here as stated in the term of use when you signed up for this forum.
    here are some battery tips
    http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/
    http://www.apple.com/batteries/iphone.html

  • OCI-21500 when binding a collection

    Hello all:
    I've got a very strange behaviour when binding a collection. If I try to bind an empty collection, my program runs. BUT when I add one element to the collection, I've got a SIGSEGV and this message appears:
    -21500: internal error code, arguments: [kohrsc153], [], [], [], [], [], [], []
    Errors in file :
    OCI-21500: internal error code, arguments: [kohrsc153], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    Error: stisini(),13 - Can't open /oracle1/app/oracle/product/9.2.0.1.0/bin/oracleError: Stack Initialization Failure
    Error: ssdinit() failed 13
    calling call entry argument values in hex
    location type point (? means dubious value)
    ----- Argument/Register Address Dump -----
    ----- End of Call Stack Trace -----
    Any idea?

    This is my code:
    CREATE TYPE my_collection IS TABLE OF my_element;
    I'm trying to call to a PLSQL procedure:
    PROCEDURE get_collection(
    v_collection IN OUT my_collection
    Then, in the C program:
    sword code = OCI_SUCCESS;
    OCITable pList              = (OCITable )0;
    char *statement_sql      = "begin package.get_collection(:list); end;";
    code=OCITypeByName(
    envhp,
    errhp,
    svchp,
    (CONST text *)ORA_SCHEMA,
    (ub4)ORA_SCHEMA_LEN,
    (CONST text *)("MY_ELEMENT"),
    (ub4)strlen("MY_ELEMENT"),
    NULL,
    (ub4)0,
    OCI_DURATION_SESSION,
    OCI_TYPEGET_ALL,
    &(DataClass)
    code=OCITypeByName(
    envhp,
    errhp,
    svchp,
    (CONST text *)ORA_SCHEMA,
    (ub4)ORA_SCHEMA_LEN,
    (CONST text *)("MY_COLLECTION"),
    (ub4)strlen("MY_COLLECTION"),
    NULL,
    (ub4)0,
    OCI_DURATION_SESSION,
    OCI_TYPEGET_ALL,
    &(DataListClass)
    code = OCIObjectNew(
    envhp,
    errhp,
    svchp,
    OCI_TYPECODE_NAMEDCOLLECTION,
    (DataListClass),
    (dvoid *)0,
    OCI_DURATION_DEFAULT,
    TRUE,
    (dvoid **)&(pList)
    /* Add one element */
    code = OCIObjectNew(
    envhp,
    errhp,
    svchp,
    OCI_TYPECODE_OBJECT,
    (DataClass),
    (dvoid *)0,
    OCI_DURATION_DEFAULT,
    TRUE,
    (dvoid **)&(elemData)
    code = OCIStringAssignText(
    envhp,
    errhp,
    (text *)"Name1",
    (ub4)strlen("Name1"),
    &(elemData->dataName)
    code = OCICollAppend(
    envhp,
    errhp,
    (CONST dvoid *)&(elemData),
    (dvoid **)NULL,
    (OCIColl *)(pCollection)
    code = OCIStmtPrepare2((OCISvcCtx *)svchp,(OCIStmt **)&stmtp,
    (OCIError *)errhp, (unsigned char *)statement_sql, strlen(statement_sql),
    NULL,0,OCI_NTV_SYNTAX,OCI_DEFAULT);
    /* Bind */
    code = OCIBindByPos(
    stmtp,
    &bind,
    errhp,
    (ub4)1,
    (dvoid* *) NULL,
    (sb4) 0,
    SQLT_NTY,
    (dvoid *) 0, (ub2 *)0, (ub2 *)0,
    (ub4) 0, (ub4 *) 0, (ub4) OCI_DEFAULT);
    code = OCIBindObject(
         bind,
    errhp,
    DataListClass,
    (dvoid **) &pList,
    (ub4 *) 0,
    (dvoid **)0,
    (ub4 *) 0);
    /* Execute */
    code = OCIStmtExecute(svchp, stmtp, errhp, (ub4)1, (ub4)0,
    (CONST OCISnapshot *) NULL,(OCISnapshot *) NULL, OCI_DEFAULT);
    I'm trying to run this code in an Oracle 9i environment.
    Thanks in advance.

  • BPM - An empty container element was specified when sending

    Hello Experts,
    My BPM process looks as below:
    Receive -> Loop (execute if the status of IDoc is ERROR(E))--> Mapping ---> End Loop --> Send
    The message is failing in BPM workflow with the log: An empty container element was specified when sending
    Container  for receive and send stepe are different. IP in SXI_CACHE has process code 0.
    Mapping program is defined between the abstarct msg type of receive step and abstract msg type of Send step.
    Th message being processed has initial status as ERROR and after the mapping step is exceuted, it retrieves teh current status i.e SUCCESS. This ends the loop step and while tying to send the messgae to target system, this error occurs.
    Pls advice if I am missing anything.
    Thanks,
    Elizabeth.

    Go to transaction SWWL  , select your integration process instance and delete it
    Create your process with a new name and run the scenario again
    Re: Prob with Integration Process
    regards
    Ninad

  • ERROR: -Type conflict when calling a function module

    hi to all,
    when iam executing the program in browser   Type conflict when calling a function module  error is showing, i have bind all the attribute correctly still iam getting error, WHEN I  CLICK ON THE SEARCH BUTTON DATA IS NOT COMING  TO MY TABLE ITAB1 plz help me....
      DATA:
          NODE_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_IP_SELECTION                   TYPE IF_PLANNING_HISTORY=>ELEMENT_IP_SELECTION ,
          ITAB TYPE TABLE OF ZSL_PL_UPDATE1,
          WA TYPE ZSL_PL_UPDATE1.
      navigate from <CONTEXT> to <IP_SELECTION> via lead selection
        NODE_IP_SELECTION = WD_CONTEXT->GET_CHILD_NODE( NAME = `IP_SELECTION` ).
      get element via lead selection
        ELEM_IP_SELECTION = NODE_IP_SELECTION->GET_ELEMENT(  ).
      get all declared attributes
        ELEM_IP_SELECTION->GET_STATIC_ATTRIBUTES(
          IMPORTING
            STATIC_ATTRIBUTES = STRU_IP_SELECTION ).
    CALL FUNCTION 'ZBAPI_PL_UPDATE'
            EXPORTING
              GV_LIFNR           =  STRU_IP_SELECTION-LIFNR
              GV_MATNR           = STRU_IP_SELECTION-LIFNR
              GV_GJAHR           = ' '
            GV_WEEK_LOW        =   STRU_IP_SELECTION-FROM_WEEK
             GV_WEEK_HIGH       =  STRU_IP_SELECTION-TO_WEEK
          IMPORTING
            RETURN             =
            TABLES
              GT_PL_UPDATE       = ITAB
             DATA:
               NODE_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_NODE,
               ELEM_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_ELEMENT,
               STRU_PLANN_NODE                     TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               WA1 TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               ITAB1 TYPE TABLE OF IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE.
              LOOP AT ITAB INTO WA.
               MOVE-CORRESPONDING WA TO WA1.
               APPEND WA1 TO ITAB1.
              ENDLOOP.
           navigate from <CONTEXT> to <PLANN_NODE> via lead selection
             NODE_PLANN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = `PLANN_NODE` ).
             CALL METHOD NODE_PLANN_NODE->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB1
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    ENDMETHOD.

    CALL FUNCTION 'ZBAPI_PL_UPDATE'
    EXPORTING
    GV_LIFNR = STRU_IP_SELECTION-LIFNR
    GV_MATNR = STRU_IP_SELECTION-LIFNR
    GV_GJAHR = ' '
    GV_WEEK_LOW = STRU_IP_SELECTION-FROM_WEEK
    GV_WEEK_HIGH = STRU_IP_SELECTION-TO_WEEK
    IMPORTING
    RETURN =
    TABLES
    GT_PL_UPDATE = ITAB
    Problem is here
    check out the type GV_GJAHR whether it accepts string type.
    thanks
    sarbjeet singh

  • The cryptic error - element cannot be found in a collection ?

    I have encountered this error in the script task a few times. The causes are - Variable is present in code,  but not added to task list OR, you try to create a DataColumn with the wrong column name, OR the variable in the task list has been deleted.
    When you make such mistakes, you get the cryptic error - 
    Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. 
    ---> Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
     ---> System.Runtime.InteropServices.COMException (0xC0010009): The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not
    there.
    How do I guess the EXACT source of the problem from this cryptic error message ?
    I am sure that I am a beginner compared to the developers who made SSIS. But, what amazes me is that they could not even show which element was missing ? As a result, the developer has to look at all the variables in his code and see if they are in the list.
    Is this error so cryptic in even SSIS 2012 ? This should not have been too hard for the highly paid programmers to figure out.

    The thing is the variables are stored as an array or to be precise a collection so the variable name is the key and as you might have noticed in other programming languages that the values are not displayed in the error or the stack trace so according to
    the base engine the variable name is just a string value and nothing more so it will throw the error 
    "The element cannot be found in a collection"
    instead of showing which which variable.
    Surender Singh Bhadauria
    My Blog

  • Could not generate stub object - The element type "META" must be terminated by the matching end-tag "".

    I am getting the following error message when I try invoking
    a webservice.
    Could not generate stub objects for web service invocation.
    Name: ProgrammePrivilege. WSDL:
    https://clientaccweb.reseaudistinction.com/CardHolderInfo.asmx?WSDL.
    org.xml.sax.SAXException: Fatal Error: URI=null Line=11: The
    element type "META" must be terminated by the matching end-tag "".
    It is recommended that you use a web browser to retrieve and
    examine the requested WSDL document for correctness. If the
    requested WSDL document can't be retrieved or it is dynamically
    generated, it is likely that the target web service has programming
    errors.
    The problem is, the webservice is working fine, the
    application was working yesterday, the error message just appears
    after a couple of days and I have to refresh the service in the CF
    Administrator. Once I refresh it, everything starts working again.
    Anyone else got this problem? ANY help would be appreciated!
    If you guys need my code anyway, I can attach it but like I
    said, everything works for a couple of days, then, out of the blue,
    it stops working so I doubt that it's my CFINVOKE that's the
    problem...

    Similar kind of problems here - reported back to Adobe a
    couple of months ago, so let's wait and hope for the best. My
    problems have related to registering multiple web services and
    executing them. One problem is that, If I register two identical
    (and quite complex) web services, I can only execute either of
    them. After CF restart, either of them works, but invoking the
    other doesn't work.
    For example; CF_Restart -> Try A first, A works -> B
    doesn't. Also, CF_Restart -> Try B first, B works -> A
    doesn't.
    CFMX7.0.2, Apache 2.2, WinXP

  • Anyone having problems with Elements organiser 13 when try to import photos from Mac photos which was an upgrade from Iphotos on 9th April 2015. Before when I was using Iphotos all was ok...

    Anyone having problems with Elements organiser 13 when try to import photos from Mac photos which was an upgrade from Iphotos on 9th April 2015. Before when I was using Iphotos all was ok...

    hi I have been trying to do this, but PE13 comes up with a fail message saying that file types are not supported, am only trying to import jpeg files so can't understand this.  So far have been unable to use PE13 at all, any ideas anyone please!

  • Why does the folder "C:\Program Files\Adobe\Elements" open automatically when I start my PC?

    Why does the folder "C:\Program Files\Adobe\Elements" open automatically when I start my PC? How do I adjust settings to stop this from happening?

    Hi,
    This folder is probably treated as a program to run at startup.
    So you will have to look at the places where such programs are referenced.
    For instance, you may have a shortcut to that folder in your Start Menu > Startup.
    Or it may be in the Registry.
    Click on Start >  Execute, the type msconfig and click OK.
    This will show you in the Startup tab all the programs launched at startup.
    Astugev

  • Cost Element  Type change  with balance in it

    Hi All,
    I have a P &L account created in FS00 maintained as cost element of type 1 , and now we want to change it as type 12 sales and Deductions Cost element, so when I try to change in FS00 it didn't allow me to do so as it is having some balance, so 
    What can I do now ?
    How can I change that cost element type from 1 to 12 ?
    How can I clear  the balance that  is that account now ?
    and where can I see what  balance is in that Cost element?
    Your Help greately appreciated,
    Sandhya

    Hi Eli,
    Thank you for the valueble report, But it shows I have no data in that cost element ,
    But When I try to change the CE category in FS00 it is saying the transactional data exists Message KS134 , 
    where can I see the actual dollar amount sitting in that Cost Element?
    and
    If I don't know how much in that CE how can I transfer the amount from this CE to another CE?
    Please Help me Guru s,,,
    Sandhya

  • Change cost element type 4 to 1

    Hello,
    I want to change a cost element type "4" to "1". But SAP does not allow it because the plan data on the cost element.
    How can I change the type? Please any help.
    Thanks

    HI,
    I'm afraid if dependent data (actual and/or planning data) exist for cost element for the fiscal year, then there is no way to change the category type until the next fiscal year.  This is to prevent inconsistency in the data for a given fiscal year.  When posting the first transaction data (plan or actual posting), a year dependent entry is created in a control table for the cost element. You can only change the category if NO transaction data exist for the relevant year or if all the transaction data for this cost element/year
    is deleted.
    An option is to create a new analysis period (KA02 -> Basic Screen -> Edit -> Analysis Period) and specify the new cost element category. The new analysis period can only be specified in yearly intervals.
    For further information on this please review the attached note:
    37093 Master data: change/delete validity period
    Regards,
    Abhisek

Maybe you are looking for

  • Unable to bluetooth from my mobile to my macbook pro

    Im trying to send a picture, it finds the macbook fine, syncs up ok, ask me to choose a key, I choose my usual 4 digit number and click continue, the macbook asks for me to enter the pin, it thinks then says its paired properly, my phone however say

  • Can I use Mac Book at same time as watching something on Apple TV?

    Hi I recently purchased a Mac Book Pro along with Apple TV. I purchased a movie via Lovefilm (UK based site) on a "watch it now" basis.  I then proceeded to watch using Airplay and "mirroring".  However doing it this way I quickly realised that while

  • Cannot open pdf docs from within Eudora.  Registry problem?

    My email client is Eudora, which has worked well for many years, but it recently lost the ability to open pdf email attachments in Adobe Reader from within it. I have tried the  standard file association solution and that has not helped. I am posting

  • ORA-01801 does not exist in Oracle Errors Documentation

    Hi, <br> RMAN issed to me the following error: <br> RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: ==========================================

  • How do I reduce the size of a JPEG scan

    I need to attach 10 JPEG scans to an email as an attachment. When I  try this the email will not send because of the size of the jpeg's. If I send from iPhoto, I can reduce the size and get it sent, but on the receiving end the scans are all "kluged"