Quantcast

java.net.MalformedURLException: no protocol: ${client.url} -first time I run project

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

java.net.MalformedURLException: no protocol: ${client.url} -first time I run project

Subraya Mallya
Netbeans 7.0, Glassfish 3.1

For some weird reason I keep getting this error the first time I Run my project (after Clean  & Build Project). If I Run again, it seems to get past the issue and the project runs perfectly fine.  It happens everytime I run the project and I have not been able to figure out what in the build.xml is causing it and why it is fine the second time I do Run.

Any help is appreciated.


init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting GlassFish Server 3.1
GlassFish Server 3.1 is running.
Incrementally deploying application
Completed incremental distribution of application
Incrementally redeploying application
Initializing...
run-deploy:
Browsing: ${client.url}
/home/smallya/tinyhabit/application/nbproject/build-impl.xml:764:
java.net.MalformedURLException: no protocol: ${client.url}
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at org.netbeans.modules.ant.browsetask.NbBrowse.execute(NbBrowse.java:78)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 56 seconds)




Loading...