Job run error

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

Job run error

Wicus
This post was updated on .
Hi,

I'm following the "BOM and Assembly.doc" from opentaps in regard to setting up a manufacturing run.

1.) Creating Products (Finished Goods)
2.) Creating Materials (Raw Materials)
3.) Set-up of Machines (Fixed Assets)
4.) Set-up of BOM
5.) Creating "Routing Tasks" and assigning "Routing Tasks" to "Routings"
6.) Receiving Raw Materials into Inventory
7.) Starting the production run

When ready to start a production run, the moment I click on [Confirm], the following error greets me:

:ERROR MESSAGE:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://manufacturing/widget/manufacturing/JobshopScreens.xml#ProductionRunDeclaration]: org.ofbiz.base.util.GeneralException: Error running Groovy script at location [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy] (Error loading Groovy script at [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy]: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy: 73: unexpected token: if @ line 73, column 9.
1 error
(startup failed, /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy: 73: unexpected token: if @ line 73, column 9.
1 error
)) (Error running Groovy script at location [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy] (Error loading Groovy script at [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy]: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy: 73: unexpected token: if @ line 73, column 9.
1 error
(startup failed, /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy: 73: unexpected token: if @ line 73, column 9.
1 error
)))


I was using OFBiz trunk revision 734729 running on Fedora 10 .... and yet the problem persists after I updated to revision 734910.

Can anyone please advice on this issue....? Is it me ..... or the .... code ... ?

Thanks in advance.

Wicus
Reply | Threaded
Open this post in threaded view
|

Re: JobShop "Confirm" error

Jacques Le Roux
Administrator
Hi Wicus,

I fixed a typo in ProductionRunDeclaration.groovy line 72 (r735418). Could you please confirm it fixes the error you encountered ?

Thanks

Jacques

From: "Wicus" <[hidden email]>

>
> Hi,
>
> When ready to start a production run, the moment I click on [Confirm], once
> the job has been created, the following error greets me:
>
> :ERROR MESSAGE:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://manufacturing/widget/manufacturing/JobshopScreens.xml#ProductionRunDeclaration]:
> org.ofbiz.base.util.GeneralException: Error running Groovy script at
> location
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy]
> (Error loading Groovy script at
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy]:
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed,
> /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy:
> 73: unexpected token: if @ line 73, column 9.
> 1 error
> (startup failed,
> /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy:
> 73: unexpected token: if @ line 73, column 9.
> 1 error
> )) (Error running Groovy script at location
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy]
> (Error loading Groovy script at
> [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy]:
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed,
> /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy:
> 73: unexpected token: if @ line 73, column 9.
> 1 error
> (startup failed,
> /ofbiz/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy:
> 73: unexpected token: if @ line 73, column 9.
> 1 error
> )))
>
>
> OFBiz trunk revision 734729 running on Fedora 10 ....
> --
> View this message in context: http://www.nabble.com/JobShop-%22Confirm%22-error-tp21479802p21479802.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: JobShop "Confirm" error

Wicus
Thanks Jacques, you're the man !  

All is A-OK once I updated to revision 735614.