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 216954 - AssertionError: Site root must exist: C:\Users\jskrivanek\Documents\NetBeansProjects\JavaApplication1\src
Summary: AssertionError: Site root must exist: C:\Users\jskrivanek\Documents\NetBeansP...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 08:46 UTC by Jiri Skrivanek
Modified: 2012-09-03 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191590


Attachments
stacktrace (7.21 KB, text/plain)
2012-08-16 08:46 UTC, Jiri Skrivanek
Details
IDE log (47.82 KB, text/plain)
2012-08-16 08:57 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-08-16 08:46:21 UTC
Build: NetBeans IDE Dev (Build EaselCSS-504-on-20120815)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Windows 7

User Comments:
jskrivanek: While creating project from existing sources I supplied existing folder but it fails.




Stacktrace: 
java.lang.AssertionError: Site root must exist: C:\Users\jskrivanek\Documents\NetBeansProjects\JavaApplication1\src
   at org.netbeans.modules.web.clientproject.ClientSideProjectUtilities.initializeProject(ClientSideProjectUtilities.java:93)
   at org.netbeans.modules.web.clientproject.ui.wizard.ClientSideProjectWizardIterator$ExistingProjectWizard.instantiate(ClientSideProjectWizardIterator.java:379)
   at org.netbeans.modules.web.clientproject.ui.wizard.ClientSideProjectWizardIterator.instantiate(ClientSideProjectWizardIterator.java:128)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1022)
   at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:589)
   at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:432)
Comment 1 Jiri Skrivanek 2012-08-16 08:46:23 UTC
Created attachment 123186 [details]
stacktrace
Comment 2 Jiri Skrivanek 2012-08-16 08:49:37 UTC
Project directory was D:\aaa.
Comment 3 Vladimir Riha 2012-08-16 08:57:47 UTC
Created attachment 123189 [details]
IDE log

Similar problem:

Create a new project from existing sources:
- project dir is [folder]
- site root dir is [folder]/[src]

In project properties, site root is shown as ../src. Now save the project as template and try to create a new project from this template => Exception
Comment 4 David Konecny 2012-08-21 01:07:18 UTC
(In reply to comment #3)
> Created attachment 123189 [details]
> IDE log
> 
> Similar problem:
> 
> Create a new project from existing sources:
> - project dir is [folder]
> - site root dir is [folder]/[src]
> 
> In project properties, site root is shown as ../src. Now save the project as
> template and try to create a new project from this template => Exception

This problem will be solved as issue 216642.
Comment 5 Tomas Mysik 2012-08-21 14:33:16 UTC
Should be fixed now, I hope. Please verify, thanks.

http://hg.netbeans.org/web-main/rev/88f24fc63f5b
Comment 6 Quality Engineering 2012-09-03 12:55:26 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/88f24fc63f5b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #216954 - AssertionError: Site root must exist: C:\Users\jskrivanek\Documents\NetBeansProjects\JavaApplication1\src