You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sergei Biletnikov (Created) (JIRA)" <ji...@apache.org> on 2011/12/28 19:32:31 UTC

[jira] [Created] (OFBIZ-4637) Can not create drop shipment order

Can not create drop shipment order
----------------------------------

                 Key: OFBIZ-4637
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: Release Branch 11.04
         Environment: My OFBiz 11.04 is updated on 26.12.2011
            Reporter: Sergei Biletnikov


I have a problem when I create a drop shipment order via OFBiz order management component.
How to reproduce:
Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:

ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))

The full stack trace can be found in the attachment.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4637) Can not create drop shipment order

Posted by "mz4wheeler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176980#comment-13176980 ] 

mz4wheeler commented on OFBIZ-4637:
-----------------------------------

On my local 11.04 vendor branch, I manually backed out r1222244, and it returned back to normal:  So, something about 11.04 and this change doesn't agree.  I hope this can be fixed.


r1222244 | jleroux | 2011-12-22 06:16:15 -0800 (Thu, 22 Dec 2011) | 6 lines
Changed paths:
   M /ofbiz/branches/release11.04/framework/entity/src/org/ofbiz/entity/GenericEntity.java

A modified patch from Patrick Antivackis "Null values are not synchronized in http mode" https://issues.apache.org/jira/browse/OFBIZ-4602

                
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4637) Can not create drop shipment order

Posted by "Sergei Biletnikov (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergei Biletnikov updated OFBIZ-4637:
-------------------------------------

    Affects Version/s: SVN trunk
    
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, SVN trunk
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (OFBIZ-4637) Can not create drop shipment order

Posted by "Jacques Le Roux (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-4637:
--------------------------------------

    Assignee: Jacques Le Roux
    
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, SVN trunk
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>            Assignee: Jacques Le Roux
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4637) Can not create drop shipment order

Posted by "mz4wheeler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176926#comment-13176926 ] 

mz4wheeler commented on OFBIZ-4637:
-----------------------------------

This same error occurs when attempting to purchase "dropShip1" product via the ecommerce frontend.  

I too recently updated via SVN.

Exact same error (shown to customer):

The Following Errors Occurred:

ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))

Check out
                
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4637) Can not create drop shipment order

Posted by "Jacques Le Roux (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177975#comment-13177975 ] 

Jacques Le Roux commented on OFBIZ-4637:
----------------------------------------

Thanks Guys, this helped and I hope we have now a better Entity Sync... see OFBIZ-4602
                
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, SVN trunk
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 4.0, Release Branch 09.04, Release Branch 10.04, Release Branch 11.04, SVN trunk
>
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4637) Can not create drop shipment order

Posted by "Sergei Biletnikov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177090#comment-13177090 ] 

Sergei Biletnikov commented on OFBIZ-4637:
------------------------------------------

Trunk version is also affected.
Ok, lets wait for someone who is responsible for the last changes :)
                
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, SVN trunk
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OFBIZ-4637) Can not create drop shipment order

Posted by "mz4wheeler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176958#comment-13176958 ] 

mz4wheeler commented on OFBIZ-4637:
-----------------------------------

Note that I tried to purchase dropShip1 (via ecommerce) on trunk, and it appeared to work.  However, it did NOT create a purchase order to "DemoSupplier" as expected.
                
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OFBIZ-4637) Can not create drop shipment order

Posted by "Jacques Le Roux (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4637.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 11.04
                   Release Branch 10.04
                   Release Branch 09.04
                   Release Branch 4.0

Hi Sergei, Mike,

Thanks for your reports, it should be fixed at
trunk  r1225506
R11.04 r1225512
R10.04 r1225509
R09.04 r1225510
R4.0   r1225511

I will see later what the problem was and will try to redo Patrick's work, it's maybe just because 
set(name, "");
was used, instead 
element.setAttribute(name, "null");


                
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, SVN trunk
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 4.0, Release Branch 09.04, Release Branch 10.04, Release Branch 11.04, SVN trunk
>
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OFBIZ-4637) Can not create drop shipment order

Posted by "Sergei Biletnikov (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergei Biletnikov updated OFBIZ-4637:
-------------------------------------

    Attachment: stacktrace.txt
    
> Can not create drop shipment order
> ----------------------------------
>
>                 Key: OFBIZ-4637
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4637
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04
>         Environment: My OFBiz 11.04 is updated on 26.12.2011
>            Reporter: Sergei Biletnikov
>         Attachments: stacktrace.txt
>
>
> I have a problem when I create a drop shipment order via OFBiz order management component.
> How to reproduce:
> Choose the demo customer, add "dropShip1" item, finalize order by specifying shipment method, payment type and ship address, click "Create Order" and you will see:
> ERROR: Could not create order (problem invoking the service: Could not commit transaction for service [checkCreateDropShipPurchaseOrders] call: Roll back error, could not commit transaction, was rolled back instead because of: Service [addSuggestionsToShoppingList] threw an unexpected exception/errorjava.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot set a value in an immutable entity object.))
> The full stack trace can be found in the attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira