Open Rob46 opened 2 years ago
Eclipse 2021-12 has this problem. Rolling back to Eclipse 2021-09 fixes it (obviously not ideal).
@Rob46 and @craigmit, Thank you for reporting and adding extra info, we'll investigate more into this.
Any news or other workaround except rolling back to Eclipse 2021-09?
With this error it is impossible to even open an existing project.
The following worked fine for me:
Eclipse Version: 2021-12 (4.22) Build id: I20211124-1800 Google Cloud Platform for Eclipse 1.8.5.202108061424 Google Cloud SDK 368.0.0
If I install Eclipse m2e - Maven support in Eclipse IDE (from the Eclipse Marketplace) then I do get the reported error that ... An internal error occurred during: "Initializing Java Tooling". Cannot invoke "com.google.cloud.tools.eclipse.appengine.libraries.persistence.LibraryClasspathContainerSerializer.loadContainer(org.eclipse.jdt.core.IJavaProject, org.eclipse.core.runtime.IPath)" because "this.serializer" is null
Unfortunately I can not uninstall m2e as Google Cloud Platform plugin depends on it. Perhaps GCP is not compatible with the latest version of m2e?
Please use Eclipse 2021-09 while we are working on #3661. If anyone can help fixing failures in #3661, we'd greatly appreciate it.
Unfortunately I can not uninstall m2e as Google Cloud Platform plugin depends on it. Perhaps GCP is not compatible with the latest version of m2e?
Eclipse EE 2021-12 will add in M2E 1.19 which is the problem. An Eclipse install of 2021-12 and then the Google Cloud Platform for Eclipse 1.8.5. will use M2E 1.18.1.20210618-2246 which works fine.
Then you can install Git, Mylyn, Eclipse Java EE Developer Tools etc to get the EE functionality. Just don't update M2E.
@briandealwis M2E 1.19 causing the failure while 1.18.1 is OK is an integrating report.
I can confirm that the plugin is not working with eclipse 2022-03.
After upgrading eclipse I am getting this error and don't know how to resolve it:
An internal error occurred during: "Initializing Java Tooling". Cannot invoke "com.google.cloud.tools.eclipse.appengine.libraries.persistence.LibraryClasspathContainerSerializer.loadContainer(org.eclipse.jdt.core.IJavaProject, org.eclipse.core.runtime.IPath)" because "this.serializer" is null
What did you do?
What did you expect to see?
What did you see instead?