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 254894 - Project Option "Display Browser on Run" set to true causes run-deploy failure.
Summary: Project Option "Display Browser on Run" set to true causes run-deploy failure.
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-01 08:30 UTC by grahamsmith777
Modified: 2015-09-01 08:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grahamsmith777 2015-09-01 08:30:07 UTC
Right click project name -> Project option -> Run-> set option "Display Browser on Run" caused the following failure. 

untick "Display Browser on Run" allows the program to run OK 

run-deploy:
Browsing: http://localhost:8080/EpPodV2
C:\Users\Development\Enginepart\EpPodV2\nbproject\build-impl.xml:1109: 
java.lang.NoSuchMethodError: org.netbeans.modules.web.common.api.UsageLogger.log([Ljava/lang/String;)V
	at org.netbeans.modules.javaee.project.api.ClientSideDevelopmentSupport.showURL(ClientSideDevelopmentSupport.java:139)
	at org.netbeans.modules.ant.browsetask.NbBrowse.execute(NbBrowse.java:110)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	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:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 5 seconds)