eigengo / monitor

Library for monitoring the Typesafe stack-based applications.
Apache License 2.0
127 stars 24 forks source link

Compile-time error #116

Closed alexander-myltsev closed 10 years ago

alexander-myltsev commented 10 years ago

How should I fix this?

parent:master...origin/master> compile
[warn] Credentials file /home/user/.sonatype does not exist
[warn] Credentials file /home/user/.sonatype does not exist
[info] Updating {file:/home/user/projects/eigengo-monitor/}output...
[info] Updating {file:/home/user/projects/eigengo-monitor/}agent...
[warn] Credentials file /home/user/.sonatype does not exist
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[info] Resolving org.scala-lang#scala-library;2.10.4 ...
[info] Compiling 2 Scala sources to /home/user/projects/eigengo-monitor/agent/target/classes...
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[warn] Credentials file /home/user/.sonatype does not exist
[warn] Credentials file /home/user/.sonatype does not exist
[warn] Credentials file /home/user/.sonatype does not exist
[warn] Credentials file /home/user/.sonatype does not exist
[info] Updating {file:/home/user/projects/eigengo-monitor/}output-statsd...
[info] Updating {file:/home/user/projects/eigengo-monitor/}agent-spray...
[info] Updating {file:/home/user/projects/eigengo-monitor/}output-codahalemetrics...
[info] Updating {file:/home/user/projects/eigengo-monitor/}output-dtrace...
[info] Resolving org.scala-lang#scala-library;2.10.4 ...
[info] Updating {file:/home/user/projects/eigengo-monitor/}test...
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[info] Resolving org.aspectj#aspectjrt;1.7.3 ...
[info] Compiling 2 Scala sources and 2 Java sources to /home/user/projects/eigengo-monitor/output/target/classes...
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[info] Resolving org.aspectj#aspectjweaver;1.7.3 ...
[info] Done updating.
[warn] Credentials file /home/user/.sonatype does not exist
[warn] Credentials file /home/user/.sonatype does not exist
[info] Updating {file:/home/user/projects/eigengo-monitor/}agent-akka...
[info] Updating {file:/home/user/projects/eigengo-monitor/}agent-play...
[info] Resolving commons-io#commons-io;2.2 ...
[info] Compiling 3 Java sources to /home/user/projects/eigengo-monitor/output-dtrace/target/classes...
[info] Compiling 3 Scala sources and 1 Java source to /home/user/projects/eigengo-monitor/output-statsd/target/classes...
[info] Resolving org.eclipse.jetty#jetty-websocket;8.1.12.v20130726 ...
[info] Compiling 8 Scala sources to /home/user/projects/eigengo-monitor/output-codahalemetrics/target/classes...
[info] Resolving org.easytesting#fest-util;1.1.6 ...
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:18: warning: ProviderFactory is internal proprietary API and may be removed in a future release
[warn] import com.sun.tracing.ProviderFactory;
[warn]                       ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterProvider.java:24: warning: FunctionName is internal proprietary API and may be removed in a future release
[warn]     @FunctionName("Receive execution time")
[warn]      ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterProvider.java:25: warning: ProbeName is internal proprietary API and may be removed in a future release
[warn]     @ProbeName("execution-time")
[warn]      ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterProvider.java:28: warning: FunctionName is internal proprietary API and may be removed in a future release
[warn]     @FunctionName("All counters")
[warn]      ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterProvider.java:29: warning: ProbeName is internal proprietary API and may be removed in a future release
[warn]     @ProbeName("all-counters")
[warn]      ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterProvider.java:32: warning: FunctionName is internal proprietary API and may be removed in a future release
[warn]     @FunctionName("All gauges")
[warn]      ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterProvider.java:33: warning: ProbeName is internal proprietary API and may be removed in a future release
[warn]     @ProbeName("all-gauges")
[warn]      ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:18: warning: ProbeName is internal proprietary API and may be removed in a future release
[warn] import com.sun.tracing.ProviderFactory;
[warn]                   ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:19: warning: ProviderName is internal proprietary API and may be removed in a future release
[warn] import org.eigengo.monitor.output.CounterInterface;
[warn]             ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:21: warning: FunctionName is internal proprietary API and may be removed in a future release
[warn] public class DtraceCounterInterface implements CounterInterface {
[warn]    ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:23: warning: Provider is internal proprietary API and may be removed in a future release
[warn]     static DtraceCounterProvider provider;
[warn]                                     ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:21: warning: ProviderName is internal proprietary API and may be removed in a future release
[warn] public class DtraceCounterInterface implements CounterInterface {
[warn]                     ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:25: warning: ProviderFactory is internal proprietary API and may be removed in a future release
[warn]         ProviderFactory factory = ProviderFactory.getDefaultFactory();
[warn]         ^
[warn] /home/user/projects/eigengo-monitor/output-dtrace/src/main/java/org/eigengo/monitor/output/dtrace/DtraceCounterInterface.java:25: warning: ProviderFactory is internal proprietary API and may be removed in a future release
[warn]         ProviderFactory factory = ProviderFactory.getDefaultFactory();
[warn]                                   ^
[warn] 14 warnings
[info] Resolving org.aspectj#aspectjtools;1.7.3 ...
[info] Done updating.
[info] Resolving com.typesafe.akka#akka-actor_2.10;2.3.2 ...
[info] Compiling 2 Scala sources to /home/user/projects/eigengo-monitor/agent-play/target/classes...
[info] Resolving org.aspectj#aspectjtools;1.7.3 ...
[info] Done updating.
[warn] Credentials file /home/user/.sonatype does not exist
[info] Updating {file:/home/user/projects/eigengo-monitor/}example-akka...
[info] Resolving org.scala-lang#scala-library;2.10.4 ...
[warn] Credentials file /home/user/.sonatype does not exist
[warn] Credentials file /home/user/.sonatype does not exist
[info] Compiling 3 Scala sources and 3 Java sources to /home/user/projects/eigengo-monitor/agent-akka/target/classes...
[info] Resolving org.aspectj#aspectjtools;1.7.3 ...
[info] Done updating.
[info] Updating {file:/home/user/projects/eigengo-monitor/}parent...
[info] Updating {file:/home/user/projects/eigengo-monitor/}docs...
[info] Resolving org.aspectj#aspectjtools;1.7.3 ...
[info] Done updating.
[info] Resolving org.aspectj#aspectjtools;1.7.3 ...
[info] Done updating.
[info] Compiling 3 AspectJ sources to /home/user/projects/eigengo-monitor/agent-play/target/classes...
[info] info directory classpath entry does not exist: /home/user/.jenv/candidates/java/1.7.0_67/jre/lib/sunrsasign.jar
[info] info zipfile classpath entry does not exist: /home/user/.jenv/candidates/java/1.7.0_67/jre/classes
[info] info Pipelining compilation
[info] Compiling 4 AspectJ sources to /home/user/projects/eigengo-monitor/agent-akka/target/classes...
[info] info directory classpath entry does not exist: /home/user/.jenv/candidates/java/1.7.0_67/jre/lib/sunrsasign.jar
[info] info zipfile classpath entry does not exist: /home/user/.jenv/candidates/java/1.7.0_67/jre/classes
[info] info Pipelining compilation
[info] info compiling /home/user/projects/eigengo-monitor/agent-play/src/main/aspectj/org/eigengo/monitor/agent/play/AbstractMonitoringAspect.aj
[info] info compiling /home/user/projects/eigengo-monitor/agent-play/src/main/aspectj/org/eigengo/monitor/agent/play/Pointcuts.aj
[info] info compiling /home/user/projects/eigengo-monitor/agent-play/src/main/aspectj/org/eigengo/monitor/agent/play/GlobalSettingsMonitoringAspect.aj
[info] info Compiler took 2148ms
[error] error at (no source information available)
[error] /home/user/projects/eigengo-monitor/agent-akka/src/main/aspectj/org/eigengo/monitor/agent/akka/DispatcherMonitoringAspect.aj:0::0 Internal compiler error: java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$afterReturning$org_aspectj_ajdt_internal_compiler_CompilerAdapter$4$2cef295e(CompilerAdapter.aj:93)
[trace] Stack trace suppressed: run last agent-akka/aspectj:ajc for the full output.
[error] (agent-akka/aspectj:ajc) org.aspectj.bridge.AbortException: abort: NullPointerException ABORT
[error] Total time: 22 s, completed Sep 9, 2014 7:33:46 PM
alexander-myltsev commented 10 years ago

It is fixed after I bumped up versions locally