IvyDE
  1. IvyDE
  2. IVYDE-133

The decorators can throw a NPE at startup

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0.beta1
    • Fix Version/s: 2.0.0.final
    • Component/s: None
    • Labels:
      None

      Description

      When launching Eclipse, and if there are some failing resolve job, a NPE can be raised:

      java.lang.NullPointerException
              at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.setConfStatus(IvyClasspathContainerConfiguration.java:329)
              at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(IvyClasspathContainerConfiguration.java:634)
              at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:200)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

      This may be due to the way the decorator listeners are accessed.

        Issue Links

          Activity

          Nicolas Lalevée created issue -
          Nicolas Lalevée made changes -
          Field Original Value New Value
          Fix Version/s 2.0.0.final [ 12313533 ]
          Nicolas Lalevée made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Nicolas Lalevée made changes -
          Link This issue is duplicated by IVYDE-158 [ IVYDE-158 ]

            People

            • Assignee:
              Nicolas Lalevée
              Reporter:
              Nicolas Lalevée
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development