[ 
https://issues.apache.org/jira/browse/OFBIZ-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650273#action_12650273
 ] 

Karim Rahimpur commented on OFBIZ-2061:
---------------------------------------

It's a Derby specific exception (see code XJ061 in 
[http://db.apache.org/derby/docs/10.4/ref/]) So it shouldn't happen with other 
DBs. I've checked it locally while running with Derby and the error shows up.

I suggest to fix this because by default the systems runs with Derby. What do 
you think?

> packing slip pdf generation fails
> ---------------------------------
>
>                 Key: OFBIZ-2061
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2061
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order, product
>    Affects Versions: SVN trunk
>         Environment: any
>            Reporter: Karim Rahimpur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: PackingSlip.groovy.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> First quick ship an order, then try to obtain the packing slip.
> The systems responds:
> {noformat:nopanel=true}
> The Following Errors Occurred:
> Problems with the response writer/output stream: 
> org.ofbiz.widget.screen.ScreenRenderException:
> Error rendering screen 
> [component://product/widget/facility/ShipmentScreens.xml#PackingSlip.fo]:
> org.ofbiz.base.util.GeneralRuntimeException: Error while checking to see if 
> this is the last result
> (The 'isLast' method is only allowed on scroll cursors.) (Error while 
> checking to see if this is the
> last result (The 'isLast' method is only allowed on scroll cursors.))
> {noformat}
> Tried with this order:
> [https://demo.hotwaxmedia.com/ordermgr/control/orderview?orderId=DEMO10090]
> Link for the packing slip pdf:
> [https://demo.hotwaxmedia.com/facility/control/PackingSlip.pdf?shipmentId=10003]
> The attached patch fixes that in PackingSlip.groovy (against rev. 720237).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to