title: Java parsing in NetBeans 6.9.1 has stopped working
body: <p>I'm having a problem with NetBeans 6.9.1 that has cropped up recently after many months of problem-free use.  I'm on Red Hat 5.7 coding in Java with Spring and NetBeans RCP.</p>
  
  <p>Every time I open a file, or when I initially open NetBeans and it auto-opens the files I was working on last time, I get a NullPointerException and a message saying that "An error occurred during parsing of (filename)".  I get very limited syntax highlighting (keywords in blue, string literals in orange, but nothing else), and none of the NetBeans niceties such code completion, ctrl-click navigation, and fixing imports.  More details on that NullPointerException below; this is occurring on a system that is not connected to the internet so I am hand-typing in the first several lines because I can't provide the NetBeans .dump file.</p>
  
  <p>To try to remedy this, I deleted my entire ~/.netbeans directory and restarted NetBeans.  It came up as if it were the first time I'd ever run it and asked me to register, as expected (I said "Never register" because I'm not connected to the internet anyway).  Then I navigated to my project, and got the same results as before.</p>
  
  <p>The NetBeans Bugzilla site has bug reports of this problem but no information on how to fix it.  A site I found in French (developpez.net) suggested that there may be a problem with the syntax of an associated .form file, but the particular file I opened just after blowing away my .netbeans directory doesn't have a .form file and I got the same error - and in any case, when there's a syntax error in the .form file it usually just won't let you edit using the GUI builder.</p>
  
  <p>Any help with this issue would be greatly appreciated!</p>
  
  <p>More on that NullPointerException:</p>
  
  <pre><code>WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]
  java.lang.NullPointerException
    at java.util.Arrays$ArrayList.&lt;init&gt;(Arrays.java:3357)
    at java.util.Arrays.asList(Arrays.java:3343)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:67)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
  ...
  </code></pre>
  
  <p><strong>Update:</strong> Since I'm working all alone on a Saturday, I hopped on a coworker's workstation (same network), logged in as myself, and fired up NetBeans - and did not encounter this problem!  It remembered what files I had open based on what was in my .netbeans info, and it parsed the Java files and provided syntax highlighting and code navigation.  Unfortunately, that workstation didn't have a third-party COTS product installed that I need in order to do my testing, so I have to be on my workstation.  I went back to my workstation and crossed my fingers and wished real hard, but the problem persists.  But hopefully this will provide a clue for someone who's smarter than me - it's something on MY workstation, but not in my .netbeans directory.</p>