This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269335 - java.io.FileNotFoundException: No java source for C:\Users\jprox\AppData\Local\NetBeans\Cache\8.2\jshell\junk\console.jsh, exists: true, file: true
Summary: java.io.FileNotFoundException: No java source for C:\Users\jprox\AppData\Loca...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JShell (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 12:49 UTC by Jiri Prox
Modified: 2017-03-02 03:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227552


Attachments
stacktrace (1.01 KB, text/plain)
2016-12-14 12:49 UTC, Jiri Prox
Details
stacktrace (1.01 KB, text/plain)
2017-02-20 13:57 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2016-12-14 12:49:04 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Windows 7

User Comments:
jiriprox: unfortunately I don't know, just using jshell




Stacktrace: 
java.io.FileNotFoundException: No java source for C:\Users\jprox\AppData\Local\NetBeans\Cache\8.2\jshell\junk\console.jsh, exists: true, file: true
   at org.netbeans.modules.java.source.JavaSourceUtilImpl.createTaggedCompilationController(JavaSourceUtilImpl.java:111)
   at org.netbeans.modules.java.preprocessorbridge.spi.JavaSourceUtilImpl$MyAccessor.createTaggedCompilationController(JavaSourceUtilImpl.java:87)
   at org.netbeans.modules.java.preprocessorbridge.api.JavaSourceUtil.createControllerHandle(JavaSourceUtil.java:105)
   at org.netbeans.modules.editor.java.JavaCodeTemplateProcessor$6.run(JavaCodeTemplateProcessor.java:1089)
   at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:169)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 Jiri Prox 2016-12-14 12:49:05 UTC
Created attachment 163234 [details]
stacktrace
Comment 2 Jiri Prox 2017-02-20 13:57:24 UTC
Created attachment 163671 [details]
stacktrace

using 'fori' template in java shell
Comment 3 Svata Dedic 2017-02-28 14:13:57 UTC
Fixed by jet-main#d80cf35177ec and jet-main#d81449a60046
Comment 4 Quality Engineering 2017-03-02 03:51:39 UTC
Integrated into 'main-silver', will be available in build *201703020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d80cf35177ec
User: Svata Dedic <sdedic@netbeans.org>
Log: #269335: extended API so controller for specific offset can be retrieved