[JBoss JIRA] Created: (JBIDE-1295) Allow @Destroy annotated methods in abstract Pojos
by Andy Gibson (JIRA)
Allow @Destroy annotated methods in abstract Pojos
--------------------------------------------------
Key: JBIDE-1295
URL: http://jira.jboss.com/jira/browse/JBIDE-1295
Project: JBoss Tools
Issue Type: Feature Request
Components: Seam
Environment: JBoss Tools nightly from 11/11/2007, Win XP SP2, JBoss 4.2.2, Seam 2.0 project , Eclipse 3.3.1.1
Reporter: Andy Gibson
It would be nice if we could create abstract classes with a @Destroy annotated method. While it appears possible to do this, the IDE complains that only components can have a @Destroy method, which is correct, but the class is abstract and will be subclassed as a component elsewhere. I think it will compile, deploy and run, but it puts several lines of red squiggles in the code which is distracting.
I'm requesting that the class be allowed to pass the validation if it is marked as abstract.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (JBIDE-1099) getting error logged when starting seam web project wizard
by Max Andersen (JIRA)
getting error logged when starting seam web project wizard
----------------------------------------------------------
Key: JBIDE-1099
URL: http://jira.jboss.com/jira/browse/JBIDE-1099
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.Beta4
Reporter: Max Andersen
Assigned To: Denis Golovin
Priority: Critical
Fix For: 2.0.0.CR1
I started getting this when I updated from svn today.
create seam web project gives this entry in log:
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
at org.eclipse.core.runtime.Path.initialize(Path.java:575)
at org.eclipse.core.runtime.Path.<init>(Path.java:184)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:163)
at org.eclipse.jst.jsf.core.internal.project.facet.JSFFacetInstallDataModelProvider.getProjectPath(JSFFacetInstallDataModelProvider.java:290)
at org.eclipse.jst.jsf.core.internal.project.facet.JSFFacetInstallDataModelProvider.validateConfigLocation(JSFFacetInstallDataModelProvider.java:164)
at org.eclipse.jst.jsf.core.internal.project.facet.JSFFacetInstallDataModelProvider.validate(JSFFacetInstallDataModelProvider.java:124)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.validateProperty(DataModelImpl.java:431)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.validateProperty(DataModelWizardPage.java:359)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.validateControlsBase(DataModelWizardPage.java:345)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.validatePage(DataModelWizardPage.java:322)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.propertyChanged(DataModelWizardPage.java:433)
at org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage.propertyChanged(JSFFacetInstallPage.java:563)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyListeners(DataModelImpl.java:346)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyPropertyChange(DataModelImpl.java:337)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.internalSetProperty(DataModelImpl.java:183)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.setProperty(DataModelImpl.java:172)
at org.eclipse.jst.jsf.ui.internal.jsflibraryconfig.JSFLibraryConfigControl.setCompListModelProperty(JSFLibraryConfigControl.java:760)
at org.eclipse.jst.jsf.ui.internal.jsflibraryconfig.JSFLibraryConfigControl.initializeControlValues(JSFLibraryConfigControl.java:262)
at org.eclipse.jst.jsf.ui.internal.jsflibraryconfig.JSFLibraryConfigControl.loadControlValuesFromModel(JSFLibraryConfigControl.java:181)
at org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage.initJSFCfgCtrlValues(JSFFacetInstallPage.java:335)
at org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage.initializeValues(JSFFacetInstallPage.java:263)
at org.eclipse.jst.jsf.ui.internal.project.facet.JSFFacetInstallPage.restoreDefaultSettings(JSFFacetInstallPage.java:581)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.setDefaults(DataModelWizardPage.java:170)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.createControl(DataModelWizardPage.java:104)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.handleSelectedFacetsChangedEvent(ModifyFacetedProjectWizard.java:514)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.access$1(ModifyFacetedProjectWizard.java:455)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$1.handleEvent(ModifyFacetedProjectWizard.java:119)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPage.handleSelectedFacetsChangedEvent(FacetsSelectionPage.java:213)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPage.access$0(FacetsSelectionPage.java:198)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPage$1.handleEvent(FacetsSelectionPage.java:180)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel.notifyProjectFacetsListeners(FacetsSelectionPanel.java:871)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel.updateValidationDisplay(FacetsSelectionPanel.java:1106)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel.handlePresetSelected(FacetsSelectionPanel.java:1559)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel.access$24(FacetsSelectionPanel.java:1521)
at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel$21.handleEvent(FacetsSelectionPanel.java:1265)
at org.eclipse.wst.common.project.facet.ui.internal.AbstractDataModel.notifyListeners(AbstractDataModel.java:69)
at org.eclipse.wst.common.project.facet.ui.internal.ModifyFacetedProjectDataModel.setSelectedPreset(ModifyFacetedProjectDataModel.java:291)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.createPageControls(NewProjectDataModelFacetWizard.java:152)
at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.createPageControls(SeamProjectWizard.java:83)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1083)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1142)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:820)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
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.NewWizardAction.run(NewWizardAction.java:182)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:123)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:239)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:821)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:879)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:568)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1423)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1110)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1137)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:663)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2533)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:679)
at org.eclipse.swt.widgets.Tree.gtk_key_press_event(Tree.java:1845)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1486)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4234)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3973)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5593)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1192)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1487)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2969)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months