java.io.FileNotFoundException

c:\program.txt (The system cannot find the file specified)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4184

  • via Unknown by Lenny Peter,
  • via Unknown by 979801,
  • via Unknown by 566972,
  • Stack trace

    • java.io.FileNotFoundException: c:\program.txt (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at Frame1$2.actionPerformed(Frame1.java:110) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6114) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5879) at java.awt.Container.processEvent(Container.java:2061) at java.awt.Component.dispatchEventImpl(Component.java:4481) at java.awt.Container.dispatchEventImpl(Container.java:2119) at java.awt.Component.dispatchEvent(Component.java:4311) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4325) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3989) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3919) at java.awt.Container.dispatchEventImpl(Container.java:2105) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4311) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown UserUnknown User
    9 times, last one
    WoNikWoNik
    15 times, last one
    rocdayrocday
    3 times, last one
    Hiren AmaliyarHiren Amaliyar
    6 times, last one
    Unknown visitor
    Unknown visitorOnce,
    188 more bugmates