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 268479

Summary: IllegalArgumentException: TreePathHandle [/Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java] was not created from /Users/michael/Documents/PhD/Thesis/code/BPjs/
Product: java Reporter: michbarsinai <michbarsinai>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226709
Attachments: stacktrace

Description michbarsinai 2016-10-12 10:28:46 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Mac OS X

User Comments:
michbarsinai: Not sure how this happened. I'm running some tests with Mozilla Rhino and its continuations systems - not sure if that anything to do with this issue, though.




Stacktrace: 
java.lang.IllegalArgumentException: TreePathHandle [/Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java] was not created from /Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java
mine: id=/Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java@2dba90a9:2ae22487, url=file:/Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java
remote: id=/Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java@2dba90a9:579eb69e, url=file:/Users/michael/Documents/PhD/Thesis/code/BPjs/BP-javascript/src/bp/ContinuationGames.java
   at org.netbeans.api.java.source.TreePathHandle$TreeDelegate.resolve(TreePathHandle.java:479)
   at org.netbeans.api.java.source.TreePathHandle.resolve(TreePathHandle.java:153)
   at org.netbeans.modules.java.hints.introduce.FieldValidator$SearchImpl.run(FieldValidator.java:118)
   at org.netbeans.modules.java.hints.introduce.FieldValidator$SearchImpl.run(FieldValidator.java:98)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:486)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
Comment 1 michbarsinai 2016-10-12 10:28:48 UTC
Created attachment 162463 [details]
stacktrace