Project manager component error in trunk

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

Project manager component error in trunk

Tolu Williams
While viewing gantt chart in trunk for any project i get the following error

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://projectmgr/widget/ProjectScreens.xml#ganttChart]: java.lang.IllegalArgumentException: Error running script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]: javax.script.ScriptException: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'double'. Try 'java.lang.Double' instead (Error running script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]: javax.script.ScriptException: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'double'. Try 'java.lang.Double' instead)

Any help?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Jacques Le Roux
Administrator
I have tried reverting to a revision before r1296762 (namely to rr1296761) and it works
So it's a bug introduced since and related to the JSR-223 effort.
This does not mean that the bug was introduced by r1296762, only that it between r1296761 and trunk HEAD

I guess the committers who work on it will soon fix it...

Jacques


From: "Tolu Williams" <[hidden email]>

> While viewing gantt chart in trunk for any project i get the following error
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
> javax.script.ScriptException:
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
> instead (Error running script at location
> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
> javax.script.ScriptException:
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
> instead)
>
> Any help?
>
> Thanks.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Jacopo Cappellato-4
In reply to this post by Tolu Williams
Tolu,

please see if it works now (rev.  1327275)

Jacopo

On Apr 17, 2012, at 6:03 PM, Tolu Williams wrote:

> While viewing gantt chart in trunk for any project i get the following error
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
> javax.script.ScriptException:
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
> instead (Error running script at location
> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
> javax.script.ScriptException:
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
> instead)
>
> Any help?
>
> Thanks.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Jacques Le Roux
Administrator
Thanks Jacopo,

It works here now

Jacques

From: "Jacopo Cappellato" <[hidden email]>

> Tolu,
>
> please see if it works now (rev.  1327275)
>
> Jacopo
>
> On Apr 17, 2012, at 6:03 PM, Tolu Williams wrote:
>
>> While viewing gantt chart in trunk for any project i get the following error
>>
>> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
>> java.lang.IllegalArgumentException: Error running script at location
>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>> javax.script.ScriptException:
>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>> instead (Error running script at location
>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>> javax.script.ScriptException:
>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>> instead)
>>
>> Any help?
>>
>> Thanks.
>>
>> --
>> View this message in context: http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Jacques Le Roux
Administrator
In reply to this post by Tolu Williams
Mmm sorry... not with all projects though, 9200 works but not the 2 OOTB others.... They all work in stable demo

Jacques


From: "Jacques Le Roux" <[hidden email]>

> Thanks Jacopo,
>
> It works here now
>
> Jacques
>
> From: "Jacopo Cappellato" <[hidden email]>
>> Tolu,
>>
>> please see if it works now (rev.  1327275)
>>
>> Jacopo
>>
>> On Apr 17, 2012, at 6:03 PM, Tolu Williams wrote:
>>
>>> While viewing gantt chart in trunk for any project i get the following error
>>>
>>> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>>> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
>>> java.lang.IllegalArgumentException: Error running script at location
>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>> javax.script.ScriptException:
>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>> instead (Error running script at location
>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>> javax.script.ScriptException:
>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>> instead)
>>>
>>> Any help?
>>>
>>> Thanks.
>>>
>>> --
>>> View this message in context: http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Jacopo Cappellato-4
I did a debug on GanttChart.groovy and didn't see anything wrong. I don't think it is caused by the work on JSR223
Is it possible that something changed in the jsgantt.js (or its dependencies)?

Jacopo

On Apr 17, 2012, at 11:25 PM, Jacques Le Roux wrote:

> Mmm sorry... not with all projects though, 9200 works but not the 2 OOTB others.... They all work in stable demo
>
> Jacques
>
>
> From: "Jacques Le Roux" <[hidden email]>
>> Thanks Jacopo,
>> It works here now
>> Jacques
>> From: "Jacopo Cappellato" <[hidden email]>
>>> Tolu,
>>> please see if it works now (rev.  1327275)
>>> Jacopo
>>> On Apr 17, 2012, at 6:03 PM, Tolu Williams wrote:
>>>> While viewing gantt chart in trunk for any project i get the following error
>>>> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>>>> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
>>>> java.lang.IllegalArgumentException: Error running script at location
>>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>>> javax.script.ScriptException:
>>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>>> instead (Error running script at location
>>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>>> javax.script.ScriptException:
>>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>>> instead)
>>>> Any help?
>>>> Thanks.
>>>> --
>>>> View this message in context: http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>

Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Jacques Le Roux
Administrator
Maybe, I will try to have a look...later...

Thanks Jacopo

Jacques

From: "Jacopo Cappellato" <[hidden email]>

>I did a debug on GanttChart.groovy and didn't see anything wrong. I don't think it is caused by the work on JSR223
> Is it possible that something changed in the jsgantt.js (or its dependencies)?
>
> Jacopo
>
> On Apr 17, 2012, at 11:25 PM, Jacques Le Roux wrote:
>
>> Mmm sorry... not with all projects though, 9200 works but not the 2 OOTB others.... They all work in stable demo
>>
>> Jacques
>>
>>
>> From: "Jacques Le Roux" <[hidden email]>
>>> Thanks Jacopo,
>>> It works here now
>>> Jacques
>>> From: "Jacopo Cappellato" <[hidden email]>
>>>> Tolu,
>>>> please see if it works now (rev.  1327275)
>>>> Jacopo
>>>> On Apr 17, 2012, at 6:03 PM, Tolu Williams wrote:
>>>>> While viewing gantt chart in trunk for any project i get the following error
>>>>> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>>>>> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
>>>>> java.lang.IllegalArgumentException: Error running script at location
>>>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>>>> javax.script.ScriptException:
>>>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>>>> instead (Error running script at location
>>>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>>>> javax.script.ScriptException:
>>>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>>>> instead)
>>>>> Any help?
>>>>> Thanks.
>>>>> --
>>>>> View this message in context:
>>>>> http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Project manager component error in trunk

Tolu Williams
In reply to this post by Jacopo Cappellato-4
It seems to be working for me now, Thanks!


Jacopo Cappellato-4 wrote
I did a debug on GanttChart.groovy and didn't see anything wrong. I don't think it is caused by the work on JSR223
Is it possible that something changed in the jsgantt.js (or its dependencies)?

Jacopo

On Apr 17, 2012, at 11:25 PM, Jacques Le Roux wrote:

> Mmm sorry... not with all projects though, 9200 works but not the 2 OOTB others.... They all work in stable demo
>
> Jacques
>
>
> From: "Jacques Le Roux" <[hidden email]>
>> Thanks Jacopo,
>> It works here now
>> Jacques
>> From: "Jacopo Cappellato" <[hidden email]>
>>> Tolu,
>>> please see if it works now (rev.  1327275)
>>> Jacopo
>>> On Apr 17, 2012, at 6:03 PM, Tolu Williams wrote:
>>>> While viewing gantt chart in trunk for any project i get the following error
>>>> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
>>>> [component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
>>>> java.lang.IllegalArgumentException: Error running script at location
>>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>>> javax.script.ScriptException:
>>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>>> instead (Error running script at location
>>>> [component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
>>>> javax.script.ScriptException:
>>>> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
>>>> object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
>>>> instead)
>>>> Any help?
>>>> Thanks.
>>>> --
>>>> View this message in context: http://ofbiz.135035.n4.nabble.com/Project-manager-component-error-in-trunk-tp4565228p4565228.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>