[ https://issues.apache.org/jira/browse/IVYDE-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577895#action_12577895 ]
Nicolas Lalevée commented on IVYDE-84: -------------------------------------- The NPE is in fact raised because the ivysettings.xml specified in the configuration doesn't exist. Bug found thanks to Philippe Gassmann. > NPE that break eclipse: the Java project becomes empty > ------------------------------------------------------ > > Key: IVYDE-84 > URL: https://issues.apache.org/jira/browse/IVYDE-84 > Project: IvyDE > Issue Type: Bug > Affects Versions: 1.3.0 > Environment: IvyDE trunk with IVYDE-70, IVYDE-81 and IVYDE-82 patchs > Reporter: Nicolas Lalevée > > here is the stack trace: > {noformat} > java.lang.NullPointerException > at > org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.scheduleRefresh(IvyClasspathContainer.java:714) > at > org.apache.ivyde.eclipse.cpcontainer.IvyClasspathInitializer.initialize(IvyClasspathInitializer.java:76) > at > org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2218) > at > org.eclipse.jdt.internal.core.JavaModelManager$9.run(JavaModelManager.java:2148) > at > org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2162) > at > org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1544) > at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1571) > at > org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2558) > at > org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1848) > at > org.eclipse.jdt.internal.core.DeltaProcessor.createExternalArchiveDelta(DeltaProcessor.java:802) > at > org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1897) > at > org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:368) > at > org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:282) > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) > at > org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:276) > at > org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148) > at > org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:311) > at > org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1018) > at > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.