<< Back to previous view

[QB-1483] Unable to give new builds in JB_MAIN
Created: 18/Dec/12  Updated: 19/Dec/12

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Lakshmi Ganesh B Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows7, IE


 Description   
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)


 Comments   
Comment by 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.
Generated at Sat Oct 04 20:01:21 UTC 2025 using JIRA 189.