Dev - Help need with quickshipment.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev - Help need with quickshipment.

Lei Gao-2
Hi guys,

I just got this error after I did some change on the order module. I got the following error.
  • ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/opt/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10025, statusId=SHIPMENT_SHIPPED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-04-13 20:58:09.0(java.sql.Timestamp)][createdTxStamp,2006-04-13 20:58:09.0(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-04-15 11:47:21.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-04-15 11:47:21.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)], locale=en_US]]: Problems with the transaction. (Service target threw an unexpected exception (null))]
So, generally if we have such kind error happened with a XML based service, what we can do to figure out what was wrong? What I mean is, let's say if a  Java code has errors, I could put breakpoint, if a FTL has errors, I can put log, what I can do for a XML service? For this particular error, what I can do?

Thanks
Lei



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Help need with quickshipment.

Scott Gray

Hi Lei

 

I don’t know much about this stuff but I notice there is a <Log> tag is the xsd and some info about it in here http://www.ofbiz.org/docs/minilang.html

Hope that helps a bit until someone else comes along

 

Regards

Scott

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Lei Gao
Sent: Monday, 17 April 2006 2:25 p.m.
To: OFBiz Project Development Discussion
Subject: [OFBiz] Dev - Help need with quickshipment.

 

Hi guys,

I just got this error after I did some change on the order module. I got the following error.

  • ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/opt/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10025, statusId=SHIPMENT_SHIPPED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-04-13 20:58:09.0(java.sql.Timestamp)][createdTxStamp,2006-04-13 20:58:09.0(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-04-15 11:47:21.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-04-15 11:47:21.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)], locale=en_US]]: Problems with the transaction. (Service target threw an unexpected exception (null))]

So, generally if we have such kind error happened with a XML based service, what we can do to figure out what was wrong? What I mean is, let's say if a  Java code has errors, I could put breakpoint, if a FTL has errors, I can put log, what I can do for a XML service? For this particular error, what I can do?

Thanks
Lei


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Help need with quickshipment.

Lei Gao-2
Thanks Scott,

That surely is going to help.

Best
Lei

On 4/16/06, Scott Gray <[hidden email] > wrote:

Hi Lei

 

I don't know much about this stuff but I notice there is a <Log> tag is the xsd and some info about it in here <a href="http://www.ofbiz.org/docs/minilang.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.ofbiz.org/docs/minilang.html

Hope that helps a bit until someone else comes along

 

Regards

Scott

 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Lei Gao
Sent: Monday, 17 April 2006 2:25 p.m.
To: OFBiz Project Development Discussion
Subject: [OFBiz] Dev - Help need with quickshipment.

 

Hi guys,

I just got this error after I did some change on the order module. I got the following error.

  • ERROR: Could not complete the Sub-method used by quickShip methods to create a shipment [file:/opt/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#createShipmentForFacilityAndShipGroup] process [problem invoking the [updateShipment] service with the map named [packedContext] containing [[shipmentId=10025, statusId=SHIPMENT_SHIPPED, userLogin=[GenericEntity:UserLogin][createdStamp,2006-04-13 20:58:09.0(java.sql.Timestamp)][createdTxStamp,2006-04-13 20:58:09.0(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-04-15 11:47:21.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-04-15 11:47:21.0(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)], locale=en_US]]: Problems with the transaction. (Service target threw an unexpected exception (null))]

So, generally if we have such kind error happened with a XML based service, what we can do to figure out what was wrong? What I mean is, let's say if a  Java code has errors, I could put breakpoint, if a FTL has errors, I can put log, what I can do for a XML service? For this particular error, what I can do?

Thanks
Lei



_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev