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 181730 - [69cat] AssertionError at org.netbeans.modules.web.common.api.WebUtils.findRelativeLinkBase
Summary: [69cat] AssertionError at org.netbeans.modules.web.common.api.WebUtils.findRe...
Status: RESOLVED DUPLICATE of bug 182423
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal with 1 vote (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 16:13 UTC by laurin1
Modified: 2010-03-23 09:03 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166123


Attachments
stacktrace (3.82 KB, text/plain)
2010-03-09 16:13 UTC, laurin1
Details
stacktrace (3.82 KB, text/plain)
2010-03-09 16:34 UTC, laurin1
Details
stacktrace (4.28 KB, text/plain)
2010-03-10 05:59 UTC, Jeffrey Rubinoff
Details

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

User Comments:
GUEST: Just saving a PHP file on SFTP project

GUEST: Options dialogue




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.web.common.api.WebUtils.findRelativeLinkBase(WebUtils.java:165)
   at org.netbeans.modules.web.common.api.WebUtils.resolveToReference(WebUtils.java:118)
   at org.netbeans.modules.html.editor.indexing.HtmlLinkEntry.<init>(HtmlLinkEntry.java:56)
   at org.netbeans.modules.html.editor.indexing.HtmlFileModel.createFileReferenceEntry(HtmlFileModel.java:179)
   at org.netbeans.modules.html.editor.indexing.HtmlFileModel$ReferencesSearch.visit(HtmlFileModel.java:195)
   at org.netbeans.editor.ext.html.parser.AstNodeUtils.visitChildren(AstNodeUtils.java:374)
Comment 1 laurin1 2010-03-09 16:13:14 UTC
Created attachment 94944 [details]
stacktrace
Comment 2 laurin1 2010-03-09 16:34:52 UTC
Created attachment 94946 [details]
stacktrace
Comment 3 Jeffrey Rubinoff 2010-03-10 05:59:53 UTC
Created attachment 94976 [details]
stacktrace
Comment 4 laurin1 2010-03-11 15:30:02 UTC
Occurrs on opening Netbeans for the first time (not on expanding the project, as my submitted comment indicates.)
Comment 5 laurin1 2010-03-13 17:35:59 UTC
Now, I can't find the pattern, as it keeps happening on a particular project of mine.
Comment 6 Marek Fukala 2010-03-15 10:45:51 UTC
changeset:   163530:f42b4f38c2b1
summary:     #181730  - I've added the assertion messages so its easier to find out what's wrong
Comment 7 Quality Engineering 2010-03-16 05:18:14 UTC
Integrated into 'main-golden', will be available in build *201003160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f42b4f38c2b1
User: Marek Fukala <mfukala@netbeans.org>
Log: #181730  - I've added the assertion messages so its easier to find out what's wrong
Comment 8 laurin1 2010-03-16 17:39:35 UTC
I thought you just added debugging info, correct? I had one project at home that it happened frequently and it's not with the latest Hudson build.
Comment 9 laurin1 2010-03-19 12:58:04 UTC
Ok, yea, it's happening again and I can see your assertions. Seems to be crashing on the fact that some of relative links start with a slash.
Comment 10 Marek Fukala 2010-03-19 22:03:39 UTC
(In reply to comment #9)
> Ok, yea, it's happening again and I can see your assertions. Seems to be
> crashing on the fact that some of relative links start with a slash.

Can you please put here the asserions?
Comment 11 laurin1 2010-03-19 22:09:59 UTC
http://statistics.netbeans.org/analytics/exception.do?id=356119

http://statistics.netbeans.org/analytics/exception.do?id=355605

http://statistics.netbeans.org/analytics/exception.do?id=355606

Do you want more? Should post the actual assertion here? I figured that was messy and links to the exceptions reported was better.
Comment 12 Marek Fukala 2010-03-19 22:19:26 UTC
No, I'm sorry, I just haven't looked at the latest reports.
Comment 13 devarni 2010-03-22 18:55:38 UTC
I can confirm the same bug here ("slash" exception) since the last developer build (201003220200)

Netbeans is very unstable and buggy this days also the released and milestone version (thats why I try the developer builds). 

Friends what are you doing?? 1 bug is gone 2 new bugs coming in... Will you destroy the complete Netbeans platform and wish that the developers switch back to Eclipse? Is nobody testing their commits?
Comment 14 Marek Fukala 2010-03-23 09:03:28 UTC

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