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 212568 - org.sablecc.sablecc.parser.ParserException: [8,9] expecting: pkg id
Summary: org.sablecc.sablecc.parser.ParserException: [8,9] expecting: pkg id
Status: VERIFIED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: lazyboy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 09:06 UTC by Jiri Kovalsky
Modified: 2012-05-16 20:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 188009


Attachments
stacktrace (204 bytes, text/plain)
2012-05-16 09:06 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2012-05-16 09:06:39 UTC
Build: NetBeans IDE Dev (Build 201205130400)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Linux

User Comments:
jkovalsky: Installed SableCC plugin [1], in JavaApplication1 generated new SCC template and invoked "Analyze Grammar" from editor's popup menu.

[1] http://plugins.netbeans.org/plugin/39910




Stacktrace: 
org.sablecc.sablecc.parser.ParserException: [8,9] expecting: pkg id
   at org.sablecc.sablecc.parser.Parser.parse(Parser.java:0)
   at org.sableccsupport.action.AnalyzerHelper.run(AnalyzerHelper.java:56)
Comment 1 Jiri Kovalsky 2012-05-16 09:06:46 UTC
Created attachment 119507 [details]
stacktrace
Comment 2 Jiri Kovalsky 2012-05-16 09:10:05 UTC
The action was "Diagnose Grammar" not "Analyze Grammar". Sorry for the mistake.

Phuc, can you please take a look at this? Thanks!
Comment 3 Jiri Kovalsky 2012-05-16 20:52:19 UTC
New SCC template now includes package definition. All actions now work as expected. Verified as fixed. Thanks for your quick resolution.