Closed MickTheMechanic closed 3 years ago
Thanks for reporting this. I will transfer the issue to the Builder repo. Could you attach the project folder for us to test with? Thanks
There is quite a bit of work there, currently I am unable to update it through the builder. Do you think you can save it, or should i start rebuilding the GUI?
@MickTheMechanic @ImpulseAdventure This is a duplicate of issue 134. I already fixed this in release 0.16.b003 Your zip file opens and generates code correctly now. Paul--
Describe the bug
Try to generate code and builder crashes. Fatal error
Crash Log
class java.lang.ArrayIndexOutOfBoundsException: 0 builder.codegen.pipes.ButtonCbPipe.storeCaseStatements(ButtonCbPipe.java:582) builder.codegen.pipes.ButtonCbPipe.doEnums(ButtonCbPipe.java:333) builder.codegen.pipes.WorkFlowPipe.processCB(WorkFlowPipe.java:149) builder.codegen.pipes.ButtonCbPipe.process(ButtonCbPipe.java:147) builder.codegen.pipes.ButtonCbPipe.process(ButtonCbPipe.java:65) builder.codegen.pipes.Pipeline.process(Pipeline.java:75) builder.codegen.CodeGenerator.doCodeGen(CodeGenerator.java:527) builder.codegen.CodeGenerator.generateCode(CodeGenerator.java:370) builder.controller.Controller.generateCode(Controller.java:1212) builder.views.RibbonListener.actionPerformed(RibbonListener.java:749) javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) javax.swing.AbstractButton.doClick(AbstractButton.java:376) javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842) javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886) java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) java.awt.Component.processMouseEvent(Component.java:6539) javax.swing.JComponent.processMouseEvent(JComponent.java:3324) java.awt.Component.processEvent(Component.java:6304) java.awt.Container.processEvent(Container.java:2239) java.awt.Component.dispatchEventImpl(Component.java:4889) java.awt.Container.dispatchEventImpl(Container.java:2297) java.awt.Component.dispatchEvent(Component.java:4711) java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) java.awt.Container.dispatchEventImpl(Container.java:2283) java.awt.Window.dispatchEventImpl(Window.java:2746) java.awt.Component.dispatchEvent(Component.java:4711) java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) java.awt.EventQueue.access$500(EventQueue.java:97) java.awt.EventQueue$3.run(EventQueue.java:709) java.awt.EventQueue$3.run(EventQueue.java:703) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) java.awt.EventQueue$4.run(EventQueue.java:733) java.awt.EventQueue$4.run(EventQueue.java:731) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) java.awt.EventQueue.dispatchEvent(EventQueue.java:730) java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) java.awt.EventDispatchThread.run(EventDispatchThread.java:82)