Community
Participate
Working Groups
3.2M3 It's possible to get an exception when using the new class wizard. I got it when I (very fast) typed a bogus name and pressed enter: Java Model Exception: Java Model Status [Invalid name specified: Examle'.java] at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779) at org.eclipse.jdt.internal.core.PackageFragment.createCompilationUnit(PackageFragment.java:135) at org.eclipse.jdt.ui.wizards.NewTypeWizardPage.createType(NewTypeWizardPage.java:1772) at org.eclipse.jdt.internal.ui.wizards.NewClassCreationWizard.finishPage(NewClassCreationWizard.java:58) at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:117) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1705) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3856) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Please give reproducable steps. You managed to enter a '. If I try that (however how fast I try), the ok button becomes disabled.
will try. no guarantees though. I tried reproducing and usually it gets disabled. I managed to make it happen at least twice though. not a serious problem of course. BTW, it's on Linux GTK. Maybe that matters. Maybe the 'finished pressed' event gets delivered before the 'type name changed' for some reason.
setting to remind. please reopen if you have reproducable steps
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.