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 217382 - False error messages "Class 'icon-bar' not found"
Summary: False error messages "Class 'icon-bar' not found"
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 15:20 UTC by Petr Jiricka
Modified: 2012-09-03 13:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-08-24 15:20:38 UTC
Product Version: NetBeans IDE Dev (Build EaselCSS-561-on-20120824)
Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09
System: Mac OS X version 10.7.4 running on x86_64; UTF-8; en_US (nb)

This is analogous to bug #216553.

1. Download project template http://jupiter.cz.oracle.com/wiki/pub/Netbeans/EaselDemoScriptAug2012/EaselDemo_Template.zip and create a HTML5 Application from this template.
2. In index.html, you see many errors in the left gutter, e.g. "Class 'icon-bar' not found" on line 39

Most of these seem to be for classes containing - (hyphen), plus there is also "active" on line 57.
Comment 1 Vladimir Riha 2012-08-24 15:47:14 UTC
I think it is related to the errors (asterisk hacks or uknown background gradient syntax) in the file.  If I removed this properties, it's fine
Comment 2 Marek Fukala 2012-08-25 09:30:13 UTC
btw, I've fixed the Bug 215168 - Netbeans doesn't know about CSS star hack, along with parsing errors on the from() and to() functions in the -webkit-gradient property values, but it doesn't seem to help.
Comment 3 Marek Fukala 2012-08-25 10:00:52 UTC
fixed in web-main#6069432055b2 by eliminating duplicate keys in the index document pair value.

Though the fix fixes the problem, the cause seems to be somewhere else.

Tomasi, is there a limit for the index document pair value?
Comment 4 Tomas Zezula 2012-08-26 21:48:04 UTC
There is no build-in limit in Lucene.
In parsing.api there is limit 2^31.
But be careful big number of fields -> worse performance. Duplicate fields are not good.
Comment 5 Quality Engineering 2012-09-03 13:01:56 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6069432055b2
User: Marek Fukala <mfukala@netbeans.org>
Log: #217382 - False error messages "Class 'icon-bar' not found"