MRP

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

MRP

Wicus

Hi,

Referencing the opentaps documentation on a MRP run, I cannot get an MRP Log report

1.) All products have Suppliers defined as "Main Supplier"
2.) All products have minimum stock level defined within the Facility they are located.





Would anyone know why it is failing all the MRP runs ...
Reply | Threaded
Open this post in threaded view
|

Re: MRP

Wicus

Is there anyone out there that might shed any amount of light on this issue ..... ?    
Reply | Threaded
Open this post in threaded view
|

Re: MRP

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

what issue.. don't see any

Wicus sent the following on 1/23/2009 3:14 AM:
>
> Is there anyone out there that might shed any amount of light on this issue
> ..... ?     :-((
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJeamIrP3NbaWWqE4RAi/RAJ4rLbs9ZT5Tkk0ex4VmT48MyxOBmACeIOON
cWgx7jYcuSpc7AM3Ngs2/OU=
=Cxrz
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: MRP

Jacopo Cappellato-4
In reply to this post by Wicus
Hi Wicus,

you may find an error in the log.

Jacopo

On Jan 23, 2009, at 4:14 AM, Wicus wrote:

>
>
> Is there anyone out there that might shed any amount of light on  
> this issue
> ..... ?     :-((
> --
> View this message in context: http://www.nabble.com/MRP-tp21600231p21622659.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: MRP

Wicus
Hi Jacopo

Herewith the best extract I believe in regard to the related issue...


2009-01-26 11:26:44,214 (default-invoker-Thread-6) [  ServiceDispatcher.java:500:ERROR]
---- exception report ----------------------------------------------------------
Service [initMrpEvents] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service [initMrpEvents] target threw an unexpected exception (java.lang.Double)
---- cause ---------------------------------------------------------------------
Exception: java.lang.ClassCastException
Message: java.lang.Double
---- stack trace ---------------------------------------------------------------
java.lang.ClassCastException: java.lang.Double
org.ofbiz.manufacturing.mrp.InventoryEventPlannedServices.createOrUpdateMrpEvent(InventoryEventPlannedServices.java:75)
org.ofbiz.manufacturing.mrp.MrpServices.initMrpEvents(MrpServices.java:203)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.manufacturing.mrp.MrpServices.executeMrp(MrpServices.java:677)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-01-26 11:26:44,217 (default-invoker-Thread-6) [  ServiceDispatcher.java:522:ERROR] Error in Service [executeMrp]: Error running the initMrpEvents service: Service [initMrpEvents] target threw an unexpected exception (java.lang.Double)
2009-01-26 11:26:44,219 (default-invoker-Thread-6) [  GenericServiceJob.java:116:ERROR]
---- exception report ----------------------------------------------------------
Async-Service failed.
Exception: java.lang.Exception
Message: Error running the initMrpEvents service: Service [initMrpEvents] target threw an unexpected exception (java.lang.Double)
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Error running the initMrpEvents service: Service [initMrpEvents] target threw an unexpected exception (java.lang.Double)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:75)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-01-26 11:29:04,141 (default-invoker-Thread-8) [       ModelService.java:545:ERROR] [ModelService.validate] : {sendEmailDated} : (IN) Required test error: org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
2009-01-26 11:29:04,142 (default-invoker-Thread-8) [  ServiceDispatcher.java:368:ERROR]
---- exception report ----------------------------------------------------------
Incoming context (in runSync : sendEmailDated) does not match expected requirements
Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
org.ofbiz.service.ModelService.validate(ModelService.java:607)
org.ofbiz.service.ModelService.validate(ModelService.java:543)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:366)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-01-26 11:29:04,142 (default-invoker-Thread-8) [  ServiceDispatcher.java:500:ERROR]
---- exception report ----------------------------------------------------------
Service [sendEmailDated] threw an unexpected exception/error
Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
org.ofbiz.service.ModelService.validate(ModelService.java:607)
org.ofbiz.service.ModelService.validate(ModelService.java:543)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:366)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-01-26 11:29:04,143 (default-invoker-Thread-8) [  GenericServiceJob.java:116:ERROR]
---- exception report ----------------------------------------------------------
Async-Service failed.
Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendEmailDated.cookie]Unknown parameter found: [sendEmailDated.runtimeDataId]
org.ofbiz.service.ModelService.validate(ModelService.java:607)
org.ofbiz.service.ModelService.validate(ModelService.java:543)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:366)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

Thanks

Wicus
Reply | Threaded
Open this post in threaded view
|

Re: MRP

Jacopo Cappellato-4
Thanks Wicus,

this should be fixed in rev. 737660. Please let me know if it works.

Thanks for your bug report, it really helped.

Jacopo

On Jan 26, 2009, at 10:35 AM, Wicus wrote:

>
> Hi Jacopo
>
> Herewith the best extract I believe in regard to the related issue...
>
>
> 2009-01-26 11:26:44,214 (default-invoker-Thread-6) [
> ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [initMrpEvents] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [initMrpEvents] target threw an unexpected exception
> (java.lang.Double)
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.ClassCastException
> Message: java.lang.Double
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.ClassCastException: java.lang.Double
> org
> .ofbiz
> .manufacturing
> .mrp
> .InventoryEventPlannedServices
> .createOrUpdateMrpEvent(InventoryEventPlannedServices.java:75)
> org
> .ofbiz.manufacturing.mrp.MrpServices.initMrpEvents(MrpServices.java:
> 203)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org
> .ofbiz
> .service
> .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org
> .ofbiz
> .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org.ofbiz.manufacturing.mrp.MrpServices.executeMrp(MrpServices.java:
> 677)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org
> .ofbiz
> .service
> .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org
> .ofbiz
> .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-01-26 11:26:44,217 (default-invoker-Thread-6) [
> ServiceDispatcher.java:522:ERROR] Error in Service [executeMrp]: Error
> running the initMrpEvents service: Service [initMrpEvents] target  
> threw an
> unexpected exception (java.lang.Double)
> 2009-01-26 11:26:44,219 (default-invoker-Thread-6) [
> GenericServiceJob.java:116:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Async-Service failed.
> Exception: java.lang.Exception
> Message: Error running the initMrpEvents service: Service  
> [initMrpEvents]
> target threw an unexpected exception (java.lang.Double)
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Error running the initMrpEvents service: Service
> [initMrpEvents] target threw an unexpected exception  
> (java.lang.Double)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 75)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-01-26 11:29:04,141 (default-invoker-Thread-8) [
> ModelService.java:545:ERROR] [ModelService.validate] :  
> {sendEmailDated} :
> (IN) Required test error:  
> org.ofbiz.service.ServiceValidationException:
> Unknown parameter found: [sendEmailDated.cookie]Unknown parameter  
> found:
> [sendEmailDated.runtimeDataId]
> 2009-01-26 11:29:04,142 (default-invoker-Thread-8) [
> ServiceDispatcher.java:368:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Incoming context (in runSync : sendEmailDated) does not match expected
> requirements
> Exception: org.ofbiz.service.ServiceValidationException
> Message: Unknown parameter found: [sendEmailDated.cookie]Unknown  
> parameter
> found: [sendEmailDated.runtimeDataId]
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceValidationException: Unknown parameter found:
> [sendEmailDated.cookie]Unknown parameter found:
> [sendEmailDated.runtimeDataId]
> org.ofbiz.service.ModelService.validate(ModelService.java:607)
> org.ofbiz.service.ModelService.validate(ModelService.java:543)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 366)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-01-26 11:29:04,142 (default-invoker-Thread-8) [
> ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [sendEmailDated] threw an unexpected exception/error
> Exception: org.ofbiz.service.ServiceValidationException
> Message: Unknown parameter found: [sendEmailDated.cookie]Unknown  
> parameter
> found: [sendEmailDated.runtimeDataId]
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceValidationException: Unknown parameter found:
> [sendEmailDated.cookie]Unknown parameter found:
> [sendEmailDated.runtimeDataId]
> org.ofbiz.service.ModelService.validate(ModelService.java:607)
> org.ofbiz.service.ModelService.validate(ModelService.java:543)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 366)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-01-26 11:29:04,143 (default-invoker-Thread-8) [
> GenericServiceJob.java:116:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Async-Service failed.
> Exception: org.ofbiz.service.ServiceValidationException
> Message: Unknown parameter found: [sendEmailDated.cookie]Unknown  
> parameter
> found: [sendEmailDated.runtimeDataId]
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceValidationException: Unknown parameter found:
> [sendEmailDated.cookie]Unknown parameter found:
> [sendEmailDated.runtimeDataId]
> org.ofbiz.service.ModelService.validate(ModelService.java:607)
> org.ofbiz.service.ModelService.validate(ModelService.java:543)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 366)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:
> 69)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> Thanks
>
> Wicus
>
> --
> View this message in context: http://www.nabble.com/MRP-tp21600231p21662615.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: MRP

Wicus
Jacopo Cappellato-4 wrote
Thanks Wicus,

this should be fixed in rev. 737660. Please let me know if it works.

Thanks for your bug report, it really helped.

Jacopo
No, THANK YOU Jacopo.    

It is really the names such as you, Jacques, David, Adrian and BJ that is the faces of OFBiz. (Apologies to those I have not had the pleasure of communicating with, related to issues, bugs etc)

And of course it works

A rock has started rolling down the mountain, yet the landslide victory is in the near future !