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 177803 - [68cat] org.netbeans.modules.scala.core.interactive.RangePositions$ValidateError: Enclosing tree [4020] does not include tree [4019]
Summary: [68cat] org.netbeans.modules.scala.core.interactive.RangePositions$ValidateEr...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 08:10 UTC by neilg
Modified: 2009-12-03 05:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160361


Attachments
stacktrace (7.45 KB, text/plain)
2009-11-29 08:10 UTC, neilg
Details
stacktrace (4.99 KB, text/plain)
2009-12-01 07:08 UTC, Eduardo.m Costa
Details
stacktrace (4.51 KB, text/plain)
2009-12-03 05:10 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neilg 2009-11-29 08:10:11 UTC
Build: NetBeans IDE Dev (Build 200911251400)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.31-15-generic, amd64

User Comments:
neilg: ctrl-space for code completion in scala file

GUEST: Editing using the Scala's plugin's editor. Exception occured after typing the dot (when maybe some code completion might be expected to come up): "class Triangle(val point1."

GUEST: typing Scala code and hitting ctrl space



Stacktrace: 
org.netbeans.modules.scala.core.interactive.RangePositions$ValidateError: Enclosing tree [4020] does not include tree [4019]
        at org.netbeans.modules.scala.core.interactive.RangePositions$class.error$1(RangePositions.java:203)
        at org.netbeans.modules.scala.core.interactive.RangePositions$class.validate$1(RangePositions.java:217)
        at org.netbeans.modules.scala.core.interactive.RangePositions$$anonfun$validate$1$8.apply(RangePositions.java:235)
        at org.netbeans.modules.scala.core.interactive.RangePositions$$anonfun$validate$1$8.apply(RangePositions.java:235)
        at scala.collection.LinearSeqLike$class.foreach(LinearSeqLike.java:85)
        at scala.collection.immutable.List.foreach(List.java:29)
Comment 1 neilg 2009-11-29 08:10:14 UTC
Created attachment 91830 [details]
stacktrace
Comment 2 Eduardo.m Costa 2009-12-01 07:08:35 UTC
Created attachment 91924 [details]
stacktrace
Comment 3 Erno Mononen 2009-12-03 05:10:23 UTC
Created attachment 92042 [details]
stacktrace