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 177790 - [68cat] scala.tools.nsc.FatalError: tree not found
Summary: [68cat] scala.tools.nsc.FatalError: tree not found
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-28 16:10 UTC by dynamite
Modified: 2010-03-20 05:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160714


Attachments
stacktrace (1.11 KB, text/plain)
2009-11-28 16:10 UTC, dynamite
Details
stacktrace (1.11 KB, text/plain)
2009-11-29 08:04 UTC, neilg
Details
stacktrace (1.11 KB, text/plain)
2009-12-01 09:25 UTC, Eduardo.m Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2009-11-28 16:10:49 UTC
Build: NetBeans IDE Dev (Build 200911261400)
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:
GUEST: editing

dynamite: Thrown whilst typing into Scala code.  last cursor position has been marked with |
/*
 */

package chess

import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner
import org.scalatest.WordSpec
import org.scalatest.matchers.MustMatchers
import java.util.regex.Pattern

@RunWith(classOf[JUnitRunner])
class BoardTest extends WordSpec with MustMatchers {

  "A pattern" when {
    "has simple text" should {
      val pattern = Pattern.com|
      "match that text" in {
        
      }
    }
  }

}



Stacktrace: 
scala.tools.nsc.FatalError: tree not found
        at org.netbeans.modules.scala.core.interactive.Global$TyperRun.typedTreeAt(Global.java:650)
        at org.netbeans.modules.scala.core.interactive.Global.typedTreeAt(Global.java:325)
        at org.netbeans.modules.scala.core.interactive.Global.typeMembers(Global.java:429)
        at org.netbeans.modules.scala.core.interactive.Global$$anonfun$getTypeCompletion$1.apply(Global.java:424)
        at org.netbeans.modules.scala.core.interactive.Global$$anonfun$getTypeCompletion$1.apply(Global.java:424)
        at org.netbeans.modules.scala.core.interactive.Global.respond(Global.java:290)
Comment 1 dynamite 2009-11-28 16:10:52 UTC
Created attachment 91819 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-11-28 16:10:58 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160714
Comment 3 neilg 2009-11-29 08:04:19 UTC
Created attachment 91829 [details]
stacktrace
Comment 4 Eduardo.m Costa 2009-12-01 09:25:36 UTC
Created attachment 91943 [details]
stacktrace
Comment 5 Eduardo.m Costa 2009-12-01 09:36:55 UTC
I got this error after a NPE @ org.netbeans.modules.editor.hints.AnnotationHolder.removeUpdate