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 252268 - UnsupportedOperationException: Position.start on NoPosition
Summary: UnsupportedOperationException: Position.start on NoPosition
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 13:25 UTC by David Strupl
Modified: 2015-05-07 11:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217149


Attachments
stacktrace (2.94 KB, text/plain)
2015-05-06 13:25 UTC, David Strupl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2015-05-06 13:25:06 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b27
OS: Mac OS X

User Comments:
dstrupl: Opening playing with couple of scala files.




Stacktrace: 
java.lang.UnsupportedOperationException: Position.start on NoPosition
   at scala.reflect.internal.util.Position.fail(Position.java:17)
   at scala.reflect.internal.util.UndefinedPosition.start(UndefinedPosition.java:94)
   at scala.reflect.internal.util.UndefinedPosition.start(UndefinedPosition.java:90)
   at org.netbeans.modules.scala.core.ScalaSourceUtil$.getOffset(ScalaSourceUtil.java:330)
   at org.netbeans.modules.scala.core.element.ScalaElements$ScalaElement.getOffset(ScalaElements.java:185)
   at org.netbeans.modules.scala.core.element.ScalaElements$ScalaElement$$anonfun$getDocComment$1.apply(ScalaElements.java:146)
Comment 1 David Strupl 2015-05-06 13:25:07 UTC
Created attachment 153540 [details]
stacktrace