Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 27813 - [autorefresh] NPE in UnifiedTree during filesystem poll
Summary: [autorefresh] NPE in UnifiedTree during filesystem poll
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jed Anderson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-05 18:51 EST by Luc Bourlier CLA
Modified: 2003-02-07 17:42 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2002-12-05 18:51:51 EST
I had this in the console. I don't know when and why that appears.

java.lang.NullPointerException
        at org.eclipse.core.internal.localstore.UnifiedTree.addRootToQueue(Unifi
edTree.java:192)
        at org.eclipse.core.internal.localstore.UnifiedTree.initializeQueue(Unif
iedTree.java:291)
        at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.j
ava:61)
        at org.eclipse.core.internal.localstore.FileSystemResourceManager.isSync
hronized(FileSystemResourceManager.java:300)
        at org.eclipse.core.internal.resources.Resource.isSynchronized(Resource.
java:922)
        at com.example.autorefresh.internal.PollingMonitor.checkFile(PollingMoni
tor.java:210)
        at com.example.autorefresh.internal.PollingMonitor.checkResource(Polling
Monitor.java:103)
        at com.example.autorefresh.internal.PollingMonitor.searchInResource(Poll
ingMonitor.java:168)
        at com.example.autorefresh.internal.PollingMonitor.checkContainer(Pollin
gMonitor.java:136)
        at com.example.autorefresh.internal.PollingMonitor.checkResource(Polling
Monitor.java:100)
        at com.example.autorefresh.internal.PollingMonitor.searchInResource(Poll
ingMonitor.java:168)
        at com.example.autorefresh.internal.PollingMonitor.checkContainer(Pollin
gMonitor.java:136)
        at com.example.autorefresh.internal.PollingMonitor.checkResource(Polling
Monitor.java:100)
        at com.example.autorefresh.internal.PollingMonitor.searchInResource(Poll
ingMonitor.java:168)
        at com.example.autorefresh.internal.PollingMonitor.checkContainer(Pollin
gMonitor.java:136)
        at com.example.autorefresh.internal.PollingMonitor.checkResource(Polling
Monitor.java:100)
        at com.example.autorefresh.internal.PollingMonitor.searchInResource(Poll
ingMonitor.java:168)
        at com.example.autorefresh.internal.PollingMonitor.checkContainer(Pollin
gMonitor.java:136)
        at com.example.autorefresh.internal.PollingMonitor.checkResource(Polling
Monitor.java:100)
        at com.example.autorefresh.internal.PollingMonitor.poll(PollingMonitor.j
ava:63)
        at com.example.autorefresh.internal.PollingManager.poll(PollingManager.j
ava:110)
        at com.example.autorefresh.internal.PollingManager.run(PollingManager.ja
va:128)
        at java.lang.Thread.run(Thread.java:536)
Comment 1 Jed Anderson CLA 2002-12-05 19:15:52 EST
Luc, what build were you running?
Comment 2 Luc Bourlier CLA 2002-12-06 10:07:57 EST
Build 20021204

I got the same exception this morning, I was catching up the changes from the
repository.
Comment 3 Jed Anderson CLA 2003-02-07 17:42:01 EST
I have not been able to reproduce this one.