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.
Summary: | java.lang.AssertionError: ClientSideProject project expected but got: org.netbeans.modules.web.project.WebProject on add new html file in web project | ||
---|---|---|---|
Product: | web | Reporter: | chuprin |
Component: | HTML Project | Assignee: | Tomas Mysik <tmysik> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | dkonecny, lforet, mmirilovic, vriha |
Priority: | P1 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
log
Log |
Description
chuprin
2013-06-17 09:43:09 UTC
Created attachment 135876 [details]
Log
Sorry, first attachment incorrect
Reproducible also in PHP, Sass and Less work fine but it seems that once some file type is also in other category than HTML5, this AE pops out. Disabling assertions only gets you to next step where is a message "No source folders in project, perhaps it has been deleted?". Although there is a workaround (select HTML/JS/CSS/JSON) from Other category, I'm not sure if this could be done in all project types. This is a stopper for beta Taking over, caused by my change. Fixed, sorry about that. What to do now to get it to the 7.4 Beta, please? Thanks. http://hg.netbeans.org/web-main/rev/df01a675e2d7 I tested JavaWeb/PHP and HTML5 project, in each of them I created all files from HTML5 category and some file from "native" category (jsp, php) in sources node. Then I repeated this for subfolders as well and tried to create HTML file in either Unit Tests or Source Packages. Verified, thanks Product Version: NetBeans IDE Dev (Build 20130617-df01a675e2d7) Updates: Updates available Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb) Transplanted to release74_beta branch in releases repo. Thanks. http://hg.netbeans.org/releases/rev/a607f6dd7537 Integrated into 'releases', will be available in build *201306181053* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/a607f6dd7537 User: Tomas Mysik <tmysik@netbeans.org> Log: #231347 - java.lang.AssertionError: ClientSideProject project expected but got: org.netbeans.modules.web.project.WebProject on add new html file in web project (transplanted from df01a675e2d72320bf679e6edb17993554a49a71) Integrated into 'main-golden', will be available in build *201306181109* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/df01a675e2d7 User: Tomas Mysik <tmysik@netbeans.org> Log: #231347 - java.lang.AssertionError: ClientSideProject project expected but got: org.netbeans.modules.web.project.WebProject on add new html file in web project *** Bug 232285 has been marked as a duplicate of this bug. *** |