Community
Participate
Working Groups
If you choose "finish" from the first page of the new JavaME project wizard, it will fail with a NPE. (see stack trace below). If you go to the second page and then choose finish, it will complete successfully. Either the first page needs to be fixed so that finish is not allowed or the appropriate initialization needs to be done on the first page so that the second page is not required. java.lang.NullPointerException at org.eclipse.mtj.ui.internal.wizards.NewJ2MEProjectWizard$2.run(Unknown Source) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:68) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934) at org.eclipse.mtj.ui.internal.wizards.NewJ2MEProjectWizard.performFinish(Unknown Source) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
diego commented with me that this issues seems to come from eclipseme 1.7.8. i will assign to him in order that he take a look at it. do you know which SDK have you used that generated the exception? :) gustavo
*** Bug 239083 has been marked as a duplicate of this bug. ***
This issue was fixed. The user can't finish the wizard without selecting one device.
all bugs we integrated and release on MTj 0.9