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 138498 - [fortress] AssertionError from FortressParserResult.getRootScope: Attempted to get definition visitor for broken source
Summary: [fortress] AssertionError from FortressParserResult.getRootScope: Attempted t...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@third-party
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 16:05 UTC by Jesse Glick
Modified: 2008-06-27 16:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 70234


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-06-27 16:05:04 UTC
Build: NetBeans IDE Dev (Build 080625)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-19-generic, i386
User comments: Had an empty file with no extension in /tmp.
In Favorites tab, added /tmp to Favorites.
Selected empty file and renamed to have a .fss extension.
Error popped up.
STACKTRACE: (first 10 lines)
java.lang.AssertionError: Attempted to get definition visitor for broken source
        at org.netbeans.modules.fortress.editing.FortressParserResult.getRootScope(FortressParserResult.java:137)
        at org.netbeans.modules.fortress.editing.FortressStructureAnalyzer.scan(FortressStructureAnalyzer.java:104)
        at org.netbeans.modules.gsfret.navigation.ElementScanningTask.run(ElementScanningTask.java:158)
        at org.netbeans.modules.gsfret.navigation.ElementScanningTask.run(ElementScanningTask.java:76)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1272)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)