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 230039 - Unable to run PHP/JavaWeb on mobile Chrome: AssertionError at org.netbeans.modules.cordova.project.ClientProjectUtilities.getSiteRoot
Summary: Unable to run PHP/JavaWeb on mobile Chrome: AssertionError at org.netbeans.mo...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 10:59 UTC by Vladimir Riha
Modified: 2013-05-28 12:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 200786


Attachments
stacktrace (2.36 KB, text/plain)
2013-05-21 10:59 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-05-21 10:59:22 UTC
Build: NetBeans IDE Dev (Build web-main-10572-on-20130521)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
vriha: I tried to run PHP project on Android device




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.cordova.project.ClientProjectUtilities.getSiteRoot(ClientProjectUtilities.java:68)
   at org.netbeans.modules.cordova.CordovaPerformer.getUrl(CordovaPerformer.java:304)
   at org.netbeans.modules.cordova.platforms.android.AndroidBrowser$1.run(AndroidBrowser.java:188)
   at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:150)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Comment 1 Vladimir Riha 2013-05-21 10:59:23 UTC
Created attachment 134672 [details]
stacktrace
Comment 2 Vladimir Riha 2013-05-21 11:04:08 UTC
I cannot run any PHP/JavaWeb project on Android thanks to this
Comment 3 Vladimir Riha 2013-05-21 12:37:53 UTC
I tried to disable assertions but I still cannot run these 2 project types. I'm changing to P1 because this has to be fixed for Beta (unlike all P2).
Comment 4 Jan Becicka 2013-05-21 13:33:39 UTC
Changeset: 0ac8d9b5e362
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-05-21 15:02
Message:
Comment 5 Quality Engineering 2013-05-22 02:34:03 UTC
Integrated into 'main-golden', will be available in build *201305212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0ac8d9b5e362
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #230039 - Unable to run PHP/JavaWeb on mobile Chrome: AssertionError at org.netbeans.modules.cordova.project.ClientProjectUtilities.getSiteRoot
Comment 6 Vladimir Riha 2013-05-28 12:07:59 UTC
Thanks for quick fix, v.


Product Version: NetBeans IDE Dev (Build web-main-10634-on-20130528)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)