-
Bug
-
Resolution: Unresolved
-
Major
-
4.25.0.AM1
-
None
-
-
---
When creating a Dynamic Web project for the first time, everything is ok. then delete it and recreate a new one with the same name leads to a bunch of errors in log :
!ENTRY org.jboss.tools.jst.web 4 0 2022-09-29 16:09:40.821 !MESSAGE Can't enable org.jboss.tools.jst.web.kb.kbbuilder support on the project JBIDE-27781 without Java builder. !ENTRY org.jboss.tools.jst.web 4 0 2022-09-29 16:09:40.824 !MESSAGE Can't enable org.jboss.tools.cdi.core.cdibuilder support on the project JBIDE-27781 without Java builder. !ENTRY org.eclipse.jdt.core 4 969 2022-09-29 16:09:40.837 !MESSAGE JBIDE-27781 does not exist !ENTRY org.eclipse.core.resources 4 2 2022-09-29 16:09:43.280 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.core.IJavaProject.getElementName()" because "javaProject" is null at org.jboss.tools.common.util.EclipseJavaUtil.findType(EclipseJavaUtil.java:101) at org.jboss.tools.cdi.core.extension.DefaultExtensionRecognizer.containsExtension(DefaultExtensionRecognizer.java:31) at org.jboss.tools.cdi.core.extension.CDIExtensionFactory.getRecognizedRuntimes(CDIExtensionFactory.java:207) at org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor.process(ClassPathMonitor.java:118) at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:215) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:1024) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:254) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:400) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:403) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:514) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:462) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:544) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:161) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:255) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) !ENTRY org.eclipse.core.resources 4 75 2022-09-29 16:09:43.284 !MESSAGE Errors occurred during the build. !SUBENTRY 1 org.jboss.tools.cdi.core 4 75 2022-09-29 16:09:43.284 !MESSAGE Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project 'JBIDE-27781'. !STACK 0 java.lang.NullPointerException: Cannot invoke "org.eclipse.jdt.core.IJavaProject.getElementName()" because "javaProject" is null at org.jboss.tools.common.util.EclipseJavaUtil.findType(EclipseJavaUtil.java:101) at org.jboss.tools.cdi.core.extension.DefaultExtensionRecognizer.containsExtension(DefaultExtensionRecognizer.java:31) at org.jboss.tools.cdi.core.extension.CDIExtensionFactory.getRecognizedRuntimes(CDIExtensionFactory.java:207) at org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor.process(ClassPathMonitor.java:118) at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:215) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:1024) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:254) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:400) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:403) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:514) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:462) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:544) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:161) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:255) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) !ENTRY org.eclipse.wst.common.project.facet.core 4 0 2022-09-29 16:09:43.385 !MESSAGE Failed while installing Dynamic Web Module 4.0. !STACK 1 Java Model Exception: Error in Java Model (code 969): JBIDE-27781 does not exist at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:574) at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence(JavaModelManager.java:2503) at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo(JavaProject.java:2444) at org.eclipse.jdt.internal.core.JavaProject.getRawClasspath(JavaProject.java:2487) at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:158) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2380) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2405) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109) at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400) at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:288) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2380) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2405) at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) !SUBENTRY 1 org.eclipse.jdt.core 4 969 2022-09-29 16:09:43.385 !MESSAGE JBIDE-27781 does not exist
- relates to
-
JBIDE-27781 NPE during deleting Dynamic web project with generated web.xml descriptor
- Closed