-
Bug
-
Resolution: Unresolved
-
Major
-
4.26.0.Final
-
None
-
---
there is an NPE error when importing JBT maven project into eclipse workspace. I have installed Eclipse 2022-12 RC1 + JBT 4.26.0.Final installed from snapshots update site.
eclipse.buildId=4.26.0.20221124-1200 java.version=17.0.5 java.vendor=Eclipse Adoptium BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product This is a continuation of log file /home/odockal/eclipse-workspace-2022-12-RC1-JBT4260Final-snapshots/.metadata/.bak_0.log Created Time: 2022-12-12 14:00:43.918 org.eclipse.m2e.core Error Mon Dec 12 15:53:23 CET 2022 Could not update project org.jboss.tools.common.text.xml configuration java.lang.NullPointerException: Cannot invoke "org.eclipse.pde.core.build.IBuildEntry.getTokens()" because "entry" is null at org.eclipse.m2e.pde.connector.PDEProjectHelper.getDefaultLibraryOutputFolder(PDEProjectHelper.java:140) at org.eclipse.m2e.pde.connector.PDEProjectHelper.getOutputLocation(PDEProjectHelper.java:120) at org.eclipse.m2e.pde.connector.PDEProjectHelper.configurePDEBundleProject(PDEProjectHelper.java:91) at org.eclipse.m2e.pde.connector.TychoPackagingsConfigurator.configure(TychoPackagingsConfigurator.java:50) at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:123) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.lambda$6(ProjectConfigurationManager.java:494) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:364) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:274) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:488) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.lambda$4(ProjectConfigurationManager.java:416) at java.base/java.util.Collection.removeIf(Collection.java:576) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:410) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.lambda$3(ProjectConfigurationManager.java:340) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:364) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:274) at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:213) at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1070) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:339) at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:80) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)