Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"

One Star

Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"

A particular job in 1 Git branch opens and runs fine.  When it gets merged into another branch that had an older version of this job, we receive the "java.lang.NullPointerException"

 

It manifests itself when:

-The Git indicates there is a Merge conflict and after we resolve it by choosing the new version ("Accept theirs").  A message shows all conflicts have been resolved, but a pop-up message shows the null exception

-When opening this job in the merged branch

-When running the job

 

 

Here is the exception in the Error Log:

java.lang.NullPointerException
 at org.talend.repository.viewer.content.listener.ResourceCollectorVisitor.getTopNodeFromResourceDelta(ResourceCollectorVisitor.java:65)
 at org.talend.repository.viewer.content.listener.ResourceCollectorVisitor.isValidResourceDelta(ResourceCollectorVisitor.java:60)
 at org.talend.repository.viewer.content.listener.ResourceCollectorVisitor.visit(ResourceCollectorVisitor.java:118)
 at org.talend.repository.viewer.content.listener.ResourceCollectorVisitor.visit(ResourceCollectorVisitor.java:47)
 at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:69)
 at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
 at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
 at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
 at org.talend.repository.viewer.content.listener.ResourcePostChangeRunnableListener.resourceChanged(ResourcePostChangeRunnableListener.java:98)
 at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
 at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
 at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:378)
 at org.eclipse.core.internal.resources.Workspace.aboutToBuild(Workspace.java:301)
 at org.eclipse.core.internal.resources.Project$1.run(Project.java:608)
 at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
 at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
 at org.eclipse.core.internal.resources.Project.build(Project.java:114)
 at org.talend.designer.runprocess.java.TalendProcessJavaProject.buildWholeCodeProject(TalendProcessJavaProject.java:321)
 at org.talend.designer.runprocess.java.TalendProcessJavaProject.mavenBuildCodeProjectPom(TalendProcessJavaProject.java:299)
 at org.talend.designer.runprocess.java.TalendProcessJavaProject.buildModules(TalendProcessJavaProject.java:258)
 at org.talend.designer.maven.tools.MavenPomSynchronizer.cleanMavenFiles(MavenPomSynchronizer.java:230)
 at org.talend.designer.runprocess.java.TalendProcessJavaProject.cleanMavenFiles(TalendProcessJavaProject.java:360)
 at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1918)
 at org.talend.repository.remoteprovider.RemoteProviderPlugin.logonProject(RemoteProviderPlugin.java:43)
 at org.talend.repository.gitprovider.ui.action.SwitchBranchAction$1.run(SwitchBranchAction.java:239)
 at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
 at org.talend.repository.gitprovider.ui.action.SwitchBranchAction$2.run(SwitchBranchAction.java:397)
 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

 

Moderator

Re: Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"

Hello.

 Could you please clarify in which Talend version/edition you are?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now