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 107435 - Cannot compile monitor/loadgen-profiler-bridge
Summary: Cannot compile monitor/loadgen-profiler-bridge
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 14:15 UTC by fordfrog
Modified: 2007-08-07 09:05 UTC (History)
0 users

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 fordfrog 2007-06-20 14:15:16 UTC
When compiling nb including experimental cluster, I get this error. The sources are from 2007-06-19 18:51:04.

init:

compile:
    [mkdir] Created dir:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/build/classes
    [javac] Compiling 1 source file to
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/build/classes
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:132:
cannot find symbol
   [repeat] symbol  : class Callback
   [repeat] location: interface org.netbeans.modules.profiler.spi.LoadGenPlugin
   [repeat]   public void start(String scriptPath, LoadGenPlugin.Callback callback) {
   [repeat]                                                     ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:40:
cannot find symbol
   [repeat] symbol  : class Callback
   [repeat] location: interface org.netbeans.modules.profiler.spi.LoadGenPlugin
   [repeat]     private LoadGenPlugin.Callback callback;
   [repeat]                          ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:44:
cannot find symbol
   [repeat] symbol  : class Callback
   [repeat] location: interface org.netbeans.modules.profiler.spi.LoadGenPlugin
   [repeat]     public RunningScript(LoadGenPlugin.Callback callback, ProcessInstance pi) {
   [repeat]                                       ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:34:
org.netbeans.modules.profiler.loadgen.LoadGenPluginImpl is not abstract and does not override abstract method
start(java.lang.String) in org.netbeans.modules.profiler.spi.LoadGenPlugin
   [repeat] public class LoadGenPluginImpl implements LoadGenPlugin {
   [repeat]        ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:56:
cannot find symbol
   [repeat] symbol  : variable Result
   [repeat] location: class org.netbeans.modules.profiler.loadgen.LoadGenPluginImpl.RunningScript
   [repeat]         callback.afterStart(Result.SUCCESS);
   [repeat]                             ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:63:
cannot find symbol
   [repeat] symbol  : variable Result
   [repeat] location: class org.netbeans.modules.profiler.loadgen.LoadGenPluginImpl.RunningScript
   [repeat]         callback.afterStart(Result.SUCCESS);
   [repeat]                             ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:69:
cannot find symbol
   [repeat] symbol  : variable Result
   [repeat] location: class org.netbeans.modules.profiler.loadgen.LoadGenPluginImpl.RunningScript
   [repeat]         callback.afterStop(Result.SUCCESS);
   [repeat]                            ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:136:
cannot find symbol
   [repeat] symbol  : variable Result
   [repeat] location: class org.netbeans.modules.profiler.loadgen.LoadGenPluginImpl
   [repeat]       callback.afterStart(Result.FAIL);
   [repeat]                           ^
   [repeat]
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/monitor/loadgen-profiler-bridge/src/org/netbeans/modules/profiler/loadgen/LoadGenPluginImpl.java:145:
cannot find symbol
   [repeat] symbol  : variable Result
   [repeat] location: class org.netbeans.modules.profiler.loadgen.LoadGenPluginImpl
   [repeat]       callback.afterStart(Result.FAIL);
   [repeat]                           ^
   [repeat] 9 errors
  [nbmerge] Failed to build target: all-monitor/loadgen-profiler-bridge
  [nbmerge] Failed to build target: all-apisupport/apidocs

BUILD FAILED
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/build.xml:654: The following
error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/build.xml:649: The following
error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/build.xml:699: The following
error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/apisupport/apidocs/build.xml:68: The
following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/apisupport/apidocs/build.xml:39: The
following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/build.xml:654: The following
error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/build.xml:649: The following
error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/build.xml:699: The following
error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/work/netbeans-src/nbbuild/templates/common.xml:92:
Compile failed; see the compiler error output for details.

Total time: 67 minutes 28 seconds

!!! ERROR: dev-util/netbeans-6.0_alpha10_pre20070619185104 failed.
Call stack:
  ebuild.sh, line 1629:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  netbeans-6.0_alpha10_pre20070619185104.ebuild, line 404:   Called eant '-Dstop.when.broken.modules=true'
'-Dbuild.compiler.deprecation=false'
'-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.experimental,nb.cluster.harness,nb.cluster.ide,nb.cluster.j2ee,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.soa,nb.cluster.testtools,nb.cluster.uml,nb.cluster.visualweb,nb.cluster.xml'
'-f' 'nbbuild/build.xml' '-Dbuildnum=6.0_alpha10_pre20070619185104' 'build-nozip'
  java-utils-2.eclass, line 1894:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-util/netbeans-6.0_alpha10_pre20070619185104/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.12"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info
!!! This ebuild is from an overlay: '/home/fordfrog/gentoo/java/java-experimental'
Comment 1 J Bachorik 2007-08-07 09:05:42 UTC
this was a temporarily issue - it takes cca. 2 days till NB Profiler is synchronized wit the NB build. the LoadGenPlugin
interface is defined inside the NB Profiler and around the date the issue was reported the interface was changed and if
you got the sources without retrieving the appropriate NB Profiler build you would have had this kind of error.
this situation straightened itself after the NB Profiler build with the correct LoadGenPlugin interface was committed
into the NB CVS