#370 NPE from ccase plugin

2.x
closed-fixed
None
5
2014-06-03
2013-11-14
No

Hi!

Here is an NPE from ccase plugin

!MESSAGE An internal error occurred during: "Adding resources to ClearCase".
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 0
at net.sourceforge.eclipseccase.ClearCaseProvider$AddOperation.findPrivateElements(ClearCaseProvider.java:1322)
at net.sourceforge.eclipseccase.ClearCaseProvider$AddOperation.visit(ClearCaseProvider.java:1216)
at net.sourceforge.eclipseccase.ClearCaseProvider.execute(ClearCaseProvider.java:2060)
at net.sourceforge.eclipseccase.ClearCaseProvider.execute(ClearCaseProvider.java:2002)
at net.sourceforge.eclipseccase.ClearCaseProvider.add(ClearCaseProvider.java:298)
at net.sourceforge.eclipseccase.ui.actions.AddToClearCaseAction$1.run(AddToClearCaseAction.java:60)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at net.sourceforge.eclipseccase.ui.ClearCaseOperation.run(ClearCaseOperation.java:106)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Version: 2.2.34.201308231218

Thanks!
The plugin makes my work much easier! I really appreciate your effort you put into it.

Discussion

  • Mikael Petterson

    I know it was a while since you did this but is it possible to describe what resource you tried to add?

    //mike

     
  • Munteanu Aurelian Ionel

    I don't know, because it was not from my workspace. It was from the .metadata/.log of a colleague.

    /Aurelian

     
  • Mikael Petterson

    So all was private files and not cc elements in the path?

    //mike

     
  • Munteanu Aurelian Ionel

    Sorry, i don't know and neither does the colleague what he did. I was assuming that the error itself is enough to spot the issue.

    /Aurelian

     
  • Mikael Petterson

    Ok since no testing result I will merge this into 2.2.35 delivery.

    br,

    //mike

     
  • Mikael Petterson

    • status: open --> open-fixed
     
  • Mikael Petterson

    Will be in delivery 2.2.35

     
  • Mikael Petterson

    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks