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 196488 - org.netbeans.modules.scala.core.interactive.RangePositions$ValidateException: Enclosing tree [19104] does not include tree [19094]
Summary: org.netbeans.modules.scala.core.interactive.RangePositions$ValidateException:...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 12:54 UTC by teras
Modified: 2011-03-09 12:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167442


Attachments
stacktrace (4.25 KB, text/plain)
2011-03-09 12:54 UTC, teras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description teras 2011-03-09 12:54:25 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

User Comments:
GUEST: adding an import statement

GUEST: I was just working together with the lift mapper library. The editor reported an error, and then i changed it and it afterwards wouldnot color highlight in the document.

GUEST: editing a case for a pattern match; dot accessing the values in an enumeration

GUEST: dot lookup for a java class imported from a JAR

GUEST: using auto complete

douglasv: typing scala code

print(greetStrings.  , When I typed the period the error happened

was printing greetStrings.update(2, "world!\n")

 for(i <- 0 .to(2)) , when typing the period here, the previous error report was sent to you

douglasv: typing scala code

teras: I was trying to create a scala object




Stacktrace: 
org.netbeans.modules.scala.core.interactive.RangePositions$ValidateException: Enclosing tree [19104] does not include tree [19094]
   at org.netbeans.modules.scala.core.interactive.RangePositions$class.error$1(RangePositions.java:202)
   at org.netbeans.modules.scala.core.interactive.RangePositions$class.validate$1(RangePositions.java:216)
   at org.netbeans.modules.scala.core.interactive.RangePositions$$anonfun$validate$1$8.apply(RangePositions.java:234)
   at org.netbeans.modules.scala.core.interactive.RangePositions$$anonfun$validate$1$8.apply(RangePositions.java:234)
   at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.java:61)
   at scala.collection.immutable.List.foreach(List.java:45)
Comment 1 teras 2011-03-09 12:54:29 UTC
Created attachment 106855 [details]
stacktrace