#3775 FSB roots:/ node (win xp) NPE (lots of network drives)

severe bug
open
nobody
5
2013-10-07
2013-01-03
J-M Malmedy
No

I'm using jEdit 5.0.0 on Windows XP SP3.

In the file browser (or file opening window), when I select the root node, "loading" is displayed but the file list is never refreshed.

The activity logs contains the following error report:

18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.NullPointerException
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Matcher.getTextLength(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Matcher.reset(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Matcher.(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.util.regex.Pattern.matcher(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.io.GlobVFSFileFilter.accept(GlobVFSFileFilter.java:65)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.io.GlobVFSFileFilter.accept(GlobVFSFileFilter.java:54)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.browser.VFSBrowser.directoryLoaded(VFSBrowser.java:1380)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.browser.BrowserView$2.run(BrowserView.java:189)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.event.InvocationEvent.dispatch(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.access$000(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$1.run(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue$1.run(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessController.doPrivileged(Native Method)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventQueue.dispatchEvent(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
18:14:50 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.EventDispatchThread.run(Unknown Source)

There is a thread in the forum about this problem:
http://community.jedit.org/?q=node/view/37802

Discussion

  • Alaa

    Alaa - 2013-01-27

    Hi, I would like to work in this bug. would you accept the patch later when I solve it?

     
  • J-M Malmedy

    J-M Malmedy - 2013-01-28

    Hi,

    Sure, I'll accept the patch.

    Thank you very much.

     
  • Alan Ezust

    Alan Ezust - 2013-01-28

    Anyone can submit a patch to fix any bug at any time. Please open a separate ticket in jedit-patches tracker.
    You do not need to ask permission to work on something. And you do not need to be a member of the project.
    An active core developers is responsible for reviewing and accepting it, not usually the reporter.
    IMHO, this bug report is complete because it does not contain enough information to reproduce.

     
  • Alan Ezust

    Alan Ezust - 2013-01-28

    oops. I meant to say this bug report is *INCOMPLETE*

     
  • J-M Malmedy

    J-M Malmedy - 2013-01-29

    What kind of information do you need to make the report complete?

     
  • Alan Ezust

    Alan Ezust - 2013-01-29
    • summary: Root node in file browser --> Root node in file browser (Windows XP)
     
  • Alan Ezust

    Alan Ezust - 2013-01-29

    oops. maybe it is enough information. I did not try to reproduce it on windows yet.

     
  • Alan Ezust

    Alan Ezust - 2013-02-12

    I am unable to reproduce this on Windows with jEdit 5.1pre1 , Windows7, and Sun/Oracle Java 6. I don't have WIndows XP.

    Please attach a complete activity log when it happens as an attachment. I suspect it is just taking a long time to get all of your drives.

     
  • Alan Ezust

    Alan Ezust - 2013-02-12
    • summary: Root node in file browser (Windows XP) --> NPE with invlid filter in the FSB filter field.
     
  • Alan Ezust

    Alan Ezust - 2013-02-12

    What is in the contents of your "Filter:" field in the file system browser?

     
  • J-M Malmedy

    J-M Malmedy - 2013-02-13

    The activity log (already pasted in the bug report) mentions clearly an exception. It is not just taking a long time. The file list remains empty even after an hour.

    I have tried with and without filter and got the same problem.

    The new summary you gave to this bug is wrong.

     
  • Alan Ezust

    Alan Ezust - 2013-02-13
    • summary: NPE with invlid filter in the FSB filter field. --> File System Browser roots:/ node (windows) NPE
     
  • Alan Ezust

    Alan Ezust - 2013-02-13

    It seems to be somehow related to a glob filter. So I am surprised you get the same thing with and without the filter checkbox checked.
    ok, I changed the subject back. But I don't know how to reproduce this issue.

     
  • J-M Malmedy

    J-M Malmedy - 2013-02-14

    I just made a new test. I confirm you again that I get this problem with or without filter. And the file list is never displayed even after a very long time.

    I understand this problem is not easy to reproduce.

    This problem happens on my corporate computer and on my colleague's computers too. I guess there is a problem with the mapped network drives (a lot). The problem happens only when I attempt to display the content of the root node. If I self introduce something in the path field (like "c:\", "w:\", ...) the file list is correctly displayed.

    I have no problem on my personal computers where some network drives are mapped too.

     
  • J-M Malmedy

    J-M Malmedy - 2013-07-04

    Hi,

    I have some information to add to this bug report.

    I could reproduce and refine the analysis of the trouble. As already mentioned, when I click the "roots:" item in the file browser window, the system generates an error and the window freezes. The file system content never appears.

    But if I move the vertical scroll bar on the right side of the file system content after a few minutes, the "c:\" item appears. Then if I click the (+) check box, the full file system content is correctly displayed. I guess this is more a display problem than a file system reading problem.

    I hope this helps.

     
  • Alan Ezust

    Alan Ezust - 2013-07-04

    Just guessing now: perhaps to reproduce, one needs a certain number of mapped network drives to be unreachable at the time one tries to browse roots:/ ?

    Is it possible to browse each of your mapped network drives with the internet exploder?

     
  • Alan Ezust

    Alan Ezust - 2013-07-04
    • summary: File System Browser roots:/ node (windows) NPE --> FSB roots:/ node (windows) NPE (lots of network drives)
     
  • Alan Ezust

    Alan Ezust - 2013-07-04

    Has this ever happened from Windows 7 or is this Windows XP only?

     
  • J-M Malmedy

    J-M Malmedy - 2013-07-04

    Except the CD drive (d:\), I can browse all drives. It happens on Windows XP. Since I don't have a Windows 7 workstation, I don't know whether the problem happens there too.

     
  • Alan Ezust

    Alan Ezust - 2013-07-04
    • summary: FSB roots:/ node (windows) NPE (lots of network drives) --> FSB roots:/ node (win xp) NPE (lots of network drives)
     
  • Alan Ezust

    Alan Ezust - 2013-07-04

    If you put disk in the CD drive, does it still happen?
    Do any of the network drives have an empty label?

     
  • J-M Malmedy

    J-M Malmedy - 2013-07-05

    I still have the problem when there is a CD in the drive. All drives have a label.

     
  • Jean-Marc Malmedy

    Just for information, I still have the problem with the new jEdit 5.1.

     
  • J-M Malmedy

    J-M Malmedy - 2013-08-01

    Just for information, I still have the problem with the new jEdit 5.1.

     
  • Alan Ezust

    Alan Ezust - 2013-10-07
    • labels: 102674 --> Windows Specific
     

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

Sign up for the SourceForge newsletter:





No, thanks