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 235377

Summary: AssertionError at org.netbeans.modules.cordova.platforms.api.ClientProjectUtilities.getSiteRoot
Product: web Reporter: Vladimir Riha <vriha>
Component: CordovaAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: normal CC: kganfield
Priority: P1    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203500
Attachments: stacktrace

Description Vladimir Riha 2013-09-02 06:43:46 UTC
Build: NetBeans IDE Dev (Build 201309020001)
VM: Java HotSpot(TM) Client VM, 24.0-b55, Java(TM) SE Runtime Environment, 1.7.0_40-b39
OS: Linux

User Comments:
vriha: Creating a new cordova project




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.cordova.platforms.api.ClientProjectUtilities.getSiteRoot(ClientProjectUtilities.java:69)
   at org.netbeans.modules.cordova.CordovaPerformer.getConfigPath(CordovaPerformer.java:355)
   at org.netbeans.modules.cordova.CordovaPerformer.getConfig(CordovaPerformer.java:361)
   at org.netbeans.modules.cordova.CordovaPerformer.generateBuildScripts(CordovaPerformer.java:348)
   at org.netbeans.modules.cordova.CordovaPerformer.access$000(CordovaPerformer.java:94)
   at org.netbeans.modules.cordova.CordovaPerformer$1.run(CordovaPerformer.java:193)
Comment 1 Vladimir Riha 2013-09-02 06:43:48 UTC
Created attachment 139552 [details]
stacktrace
Comment 2 Vladimir Riha 2013-09-02 06:52:58 UTC
User cannot create cordova project, raising to P2 but it might be dupl. of 235139.
Comment 3 Jan Becicka 2013-09-02 06:56:05 UTC
Cannot reproduce. Adding more asserts.

Changeset: 57beda40ba65
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-09-02 08:52
Message:
Comment 4 Jan Becicka 2013-09-02 15:18:37 UTC
*** Bug 235419 has been marked as a duplicate of this bug. ***
Comment 5 Vladimir Riha 2013-09-03 15:26:01 UTC
Seems OK in latest trunk but I'll wait with verification in 74 build just to be sure. Thank you
Comment 6 Jan Becicka 2013-09-04 12:07:29 UTC
*** Bug 235420 has been marked as a duplicate of this bug. ***