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 182423 - [69cat] AssertionError: The relative link /css/common.cssstarts with a slash!
Summary: [69cat] AssertionError: The relative link /css/common.cssstarts with a slash!
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Editing infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 181730 182424 182431 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-20 18:05 UTC by laurin1
Modified: 2010-03-26 05:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 166726


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description laurin1 2010-03-20 18:05:22 UTC
Build: NetBeans IDE Dev (Build 2010-03-20_15-04-42 )
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows 7

Stacktrace: 
java.lang.AssertionError: The relative link /css/common.cssstarts with a slash!
   at org.netbeans.modules.web.common.api.WebUtils.findRelativeLinkBase(WebUtils.java:170)
   at org.netbeans.modules.web.common.api.WebUtils.resolveToReference(WebUtils.java:123)
   at org.netbeans.modules.css.indexing.CssIndex.getAllDependencies(CssIndex.java:289)
   at org.netbeans.modules.css.indexing.CssIndex.getDependencies(CssIndex.java:261)
   at org.netbeans.modules.css.gsf.CSSCompletion.complete(CSSCompletion.java:200)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.addCodeCompletionItems(GsfCompletionProvider.java:607)
Comment 1 Marek Fukala 2010-03-23 08:31:37 UTC
windows specific problem - fixed in web-main#c0314583f6d3
Comment 2 Marek Fukala 2010-03-23 08:36:03 UTC
*** Bug 182424 has been marked as a duplicate of this bug. ***
Comment 3 Marek Fukala 2010-03-23 08:36:19 UTC
*** Bug 182431 has been marked as a duplicate of this bug. ***
Comment 4 Marek Fukala 2010-03-23 09:03:28 UTC
*** Bug 181730 has been marked as a duplicate of this bug. ***
Comment 5 laurin1 2010-03-24 15:15:02 UTC
I just downloaded #1568 which says that it contains this fix, but I am still getting the error and the message that it's fixed in the current version (which I can't use due to current issues in it.)
Comment 6 Marek Fukala 2010-03-24 18:21:34 UTC
I'm going to test it on a windows.
Comment 7 Marek Fukala 2010-03-24 19:56:56 UTC
changeset:   164662:f2238f51d83b
summary:     #182423 - another attempt to make it work on windows -  [69cat] AssertionError: The relative link /css/common.cssstarts with a slash!

It's complicated to me to test the code on windows so please execuse me for making such stupid bugs. I hope it will work this time :-)
Comment 8 Quality Engineering 2010-03-26 05:35:53 UTC
Integrated into 'main-golden', will be available in build *201003260201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f2238f51d83b
User: Marek Fukala <mfukala@netbeans.org>
Log: #182423 - another attempt to make it work on windows -  [69cat] AssertionError: The relative link /css/common.cssstarts with a slash!