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 224910 - Unexpected token "SEMI" or Unexpected token "SOLIDUS"
Summary: Unexpected token "SEMI" or Unexpected token "SOLIDUS"
Status: RESOLVED DUPLICATE of bug 227523
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 13:30 UTC by ecerichter
Modified: 2013-03-25 09:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the error in Action Items (7.84 KB, image/png)
2013-01-15 13:31 UTC, ecerichter
Details
pre.jsp where the alleged error resides (line 8, according Action Items) (27.15 KB, image/png)
2013-01-15 13:32 UTC, ecerichter
Details
richEdit.jsp where alleged error resides (line 1, according Action Items) (25.53 KB, image/png)
2013-01-15 13:33 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-01-15 13:30:52 UTC
Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-10056-on-20130112)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02

I've two JSP files that show errors in Action Items window.
Both files are syntatically correct, and I have no idea about the error.
The line shown in Action Items does not correspond to the error it self.

See attached screenshots for reference.

Thanks,

Edson
Comment 1 ecerichter 2013-01-15 13:31:20 UTC
Created attachment 130235 [details]
Screenshot of the error in Action Items
Comment 2 ecerichter 2013-01-15 13:32:35 UTC
Created attachment 130237 [details]
pre.jsp where the alleged error resides (line 8, according Action Items)
Comment 3 ecerichter 2013-01-15 13:33:12 UTC
Created attachment 130238 [details]
richEdit.jsp where alleged error resides (line 1, according Action Items)
Comment 4 ecerichter 2013-03-18 17:39:41 UTC
Error seems vary according time/release...
Right now, I get the "Unexpected token NL" in pre.jsp page... and there is nothing wrong with it.


Still reproducible in DEV 201303142300.
Comment 5 Vladimir Riha 2013-03-23 14:02:23 UTC
I got similar problem with plain HTML and CSS, to reproduce:

- clone https://github.com/ladariha/synergy
- open this PHP project in IDE and check how many HTML/CSS files are marked with error badge and action items shows unexpected token SOLIDUS, NL, DOT, LBRACE, RBRACE etc...

This is quite annoying and highly visible regression => P2 (& changing version to DEV as in time of initial reporting, it was not 7.3)



So I'm not sure if this is actually JSP issue or perhaps HTML editor. Also please check issue 227523, which may be duplicate of this.

Please evaluate, thanks





Product Version: NetBeans IDE Dev (Build 201303222300)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Runtime: Java(TM) SE Runtime Environment 1.7.0-b147
System: Linux version 3.5.0-25-generic running on amd64; UTF-8; en_US (nb)
Comment 6 Vladimir Riha 2013-03-23 14:04:43 UTC
* please ignore CSS issues in mentioned project, there are not relevant to this. But HTML issues are.
Comment 7 Martin Fousek 2013-03-25 09:10:08 UTC
This is most probably duplicate of the issue #227523. For next time please attach also sample of the source code, thanks...

*** This bug has been marked as a duplicate of bug 227523 ***