cancel
Showing results for 
Search instead for 
Did you mean: 

ReadyAPI - GIT Pull issue

ersimon00
New Contributor

ReadyAPI - GIT Pull issue

Hi,

 

I am using ReadyAPI for my team of 10 engineers using GIT integration across multiple projects. Some of my engineers are experiencing the following issue when pulling the project from GIT: 

 

ERROR: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.smartbear.readyapi.integrations.vcs.git.merge.comparison.ModelItemInfo.getModelItemName()" is null

 

To work around this, we need to Close the project and clone it again from GIT (losing the chnages made locally as we cannot push changes on GIT unless we pull the whole project first).

 

Can you please advise how to avoid receiving this error? Maybe there is some corrupted data in pur project that we can fix? 

Below the full StackTrace from error Log:

Thu Jun 10 14:47:16 CEST 2021: ERROR: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.smartbear.readyapi.integrations.vcs.git.merge.comparison.ModelItemInfo.getModelItemName()" is null
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.smartbear.readyapi.integrations.vcs.git.merge.comparison.ModelItemInfo.getModelItemName()" is null
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.tree.internal.ConfigTreeNode.equals(ConfigTreeNode.java:134)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.ListDiff.equals(ListDiff.java:17)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.ListDiff.equals(ListDiff.java:1)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractDiff$DiffLevenshtein.equals(AbstractDiff.java:358)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:114)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.a(AbstractLevenshtein.java:111)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.getDistance(AbstractLevenshtein.java:33)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractLevenshtein.getCommonPartsLeftToRightMap(AbstractLevenshtein.java:48)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractDiff.b(AbstractDiff.java:125)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractDiff.a(AbstractDiff.java:116)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractDiff.getEqualElementsMap(AbstractDiff.java:109)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractComparator.compareLists(AbstractComparator.java:36)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractComparator.compareMaps(AbstractComparator.java:133)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.XmlComparator.processNewElement(XmlComparator.java:116)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.XmlComparator.processNewElement(XmlComparator.java:1)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractComparator.compareLists(AbstractComparator.java:46)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractComparator.compareMaps(AbstractComparator.java:133)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.XmlComparator.processNewElement(XmlComparator.java:116)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.XmlComparator.processNewElement(XmlComparator.java:1)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.AbstractComparator.compareLists(AbstractComparator.java:46)
at com.smartbear.readyapi.integrations.vcs.git.merge.comparison.algorithm.XmlComparator.compare(XmlComparator.java:45)
at com.smartbear.readyapi.integrations.vcs.git.merge.strategy.ObjectMerger.mergeTreeWalk(ObjectMerger.java:217)
at org.eclipse.jgit.merge.ResolveMerger.mergeTrees(ResolveMerger.java:1279)
at org.eclipse.jgit.merge.ResolveMerger.mergeImpl(ResolveMerger.java:388)
at org.eclipse.jgit.merge.Merger.merge(Merger.java:266)
at org.eclipse.jgit.merge.Merger.merge(Merger.java:219)
at org.eclipse.jgit.merge.ThreeWayMerger.merge(ThreeWayMerger.java:129)
at org.eclipse.jgit.api.MergeCommand.call(MergeCommand.java:359)
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:354)
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:1)
at com.smartbear.readyapi.integrations.vcs.git.CommandRetrier.b(CommandRetrier.java:58)
at com.smartbear.readyapi.integrations.vcs.git.GitCommandHelper.pullWithMergeStrategy(GitCommandHelper.java:388)
at com.smartbear.readyapi.integrations.vcs.git.GitIntegration.a(GitIntegration.java:141)
at com.smartbear.readyapi.integrations.vcs.git.GitIntegration.updateFromRemoteRepository(GitIntegration.java:121)
at com.eviware.soapui.plugins.vcs.actions.UpdateProjectFromRemoteVcsRepoAction.a(UpdateProjectFromRemoteVcsRepoAction.java:68)
at com.eviware.soapui.plugins.vcs.actions.UpdateProjectFromRemoteVcsRepoAction$1.construct(UpdateProjectFromRemoteVcsRepoAction.java:46)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
at com.eviware.soapui.support.swing.SwingWorker.run(SwingWorker.java:88)

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors