middlegen ide exception

View: New views
1 Messages — Rating Filter:   Alert me  

middlegen ide exception

by hameed_06 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Please help me out in solving this problem with middlegen ide. the problem occurs when i try to create a middlegen-build.xml file.

The error i see while running eclipse in debug mode is :
                   Unhandled event loop exception
                   Reason:
                   String index out of range: -1
                   Unhandled event loop exception
                   Reason:
                   String index out of range: -1

the trace from eclipse project log is:

!ENTRY org.eclipse.ui 4 0 2006-01-19 12:16:52.220
!MESSAGE String index out of range: -1
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1444)
        at java.lang.String.substring(String.java:1411)
        at org.ultimania.middlegenide.wizards.MiddlegenIDEConfigurationPage.setPreviousPage(MiddlegenIDEConfigurationPage.java:463)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:992)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:753)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
        at org.eclipse.jface.window.Window.open(Window.java:787)
        at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117)
        at org.eclipse.core.commands.Command.execute(Command.java:311)
        at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
        at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
        at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
        at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:2431)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
        at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)