java.io.FileNotFoundException: /Users/pathogen/Desktop/docs/userguide/index.html (No such file or directory)

Oracle Community | 843802 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Reading files inside of jar

    Oracle Community | 1 decade ago | 843802
    java.io.FileNotFoundException: /Users/pathogen/Desktop/docs/userguide/index.html (No such file or directory)

    Root Cause Analysis

    1. java.io.FileNotFoundException

      /Users/pathogen/Desktop/docs/userguide/index.html (No such file or directory)

      at java.io.FileInputStream.open()
    2. Java RT
      JEditorPane.<init>
      1. java.io.FileInputStream.open(Native Method)
      2. java.io.FileInputStream.<init>(FileInputStream.java:106)
      3. java.io.FileInputStream.<init>(FileInputStream.java:66)
      4. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
      5. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
      6. javax.swing.JEditorPane.getStream(JEditorPane.java:704)
      7. javax.swing.JEditorPane.setPage(JEditorPane.java:392)
      8. javax.swing.JEditorPane.setPage(JEditorPane.java:775)
      9. javax.swing.JEditorPane.<init>(JEditorPane.java:249)
      9 frames
    3. client.views
      HelpSystemView.initView
      1. client.views.HelpSystemView.constructUserInterface(HelpSystemView.java:96)
      2. client.views.HelpSystemView.initView(HelpSystemView.java:64)
      2 frames