日期:2014-05-19  浏览次数:20646 次

spring insight developer edition 2.7.1 异常
突然发现这个
java.lang.NullPointerException
at com.springsource.insight.collection.tcserver.lifecycle.ApplicationLifecycleCollectionListener.afterEvent(ApplicationLifecycleCollectionListener.java:120)
at com.springsource.insight.collection.tcserver.lifecycle.ApplicationLifecycleCollectionListener.createTraceForEvent(ApplicationLifecycleCollectionListener.java:91)
at com.springsource.insight.collection.tcserver.lifecycle.ApplicationLifecycleCollectionListener.lifecycleEvent(ApplicationLifecycleCollectionListener.java:68)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
工具不错,本地配置时没有任何问题。启动效果也确实不错,但到了服务器相同的配置却出现此异常。
配置如下。
./tcruntime-instance.sh create myInstanceName -t insight
./tcruntime-ctl.sh myInstanceName start

哪位高手有类似经验,请指教!

------解决方案--------------------
难道是版本有问题