History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1483
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Blocker Blocker
Assignee: Robin Shen
Reporter: Lakshmi Ganesh B
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Unable to give new builds in JB_MAIN

Created: 18/Dec/12 09:57 AM   Updated: 19/Dec/12 01:39 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows7, IE


 Description  « Hide
root -> QBTF -> JB -> PBS -> MAIN -> COMBINATION
Selected Buildmodel as qi_usa_att or d2_usa_att
selecting Build_Source as MAIN TEMPLATE_GGSM_Q1_USA_ATT and there is an error
"There is a problem
Failed to evaluate script:"


Error Detail
Message: Failed to evaluate script:


Root cause:

java.lang.ArrayIndexOutOfBoundsException


Complete stack:

com.pmease.quickbuild.QuickbuildException: Failed to evaluate script:

at com.pmease.quickbuild.util.ExceptionUtils.wrapException(ExceptionUtils.java:89)
at com.pmease.quickbuild.DefaultScriptEngine.evaluate(DefaultScriptEngine.java:95)
at com.pmease.quickbuild.DefaultScriptEngine.interpolate(DefaultScriptEngine.java:106)
at com.pmease.quickbuild.variable.PromptAsSelectionBox.toList(PromptAsSelectionBox.java:87)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite$StaticMetaMethodSiteNoUnwrap.invoke(StaticMetaMethodSite.java:130)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:132)
at BuildVariablePromptBean_3390.getBUILD_SOURCE_MODEMChoices(script1355538388864363907545.groovy:44)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.pmease.quickbuild.util.ClassUtils.invokeStaticMethod(ClassUtils.java:207)
at com.pmease.quickbuild.web.component.editor.ChoiceEditor$3$1.execute(ChoiceEditor.java:78)
at com.pmease.quickbuild.web.component.editor.ChoiceEditor$3$1.execute(ChoiceEditor.java:1)
at com.pmease.quickbuild.web.component.editor.TypeEditor.trackPropertyUsage(TypeEditor.java:114)
at com.pmease.quickbuild.web.component.editor.ChoiceEditor$3.load(ChoiceEditor.java:67)


 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [19/Dec/12 01:39 AM]
Most probably this is caused by the custom groovy script you defined in variable choices field. Please correct errors there according to the error message.

Change by Robin Shen [19/Dec/12 01:39 AM]
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]