[JIRA] [monitoring-plugin] (JENKINS-31619) java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N (with a non-default JENKINS_HOME)

2016-03-23 Thread joshi...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Aditya Joshi commented on  JENKINS-31619 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N (with a non-default JENKINS_HOME)  
 
 
 
 
 
 
 
 
 
 
Thanks Tomasz for reopening the bug. When I installed the plugin after creating empty, writable $HOME/.jenkins/cache/jars, I received this error message: 

 

WARNING: exception while collecting data
java.util.concurrent.ExecutionException: java.lang.Error: Unable to load resource JAVAMELODY-VERSION.properties
	at hudson.remoting.Channel$2.adapt(Channel.java:810)
	at hudson.remoting.Channel$2.adapt(Channel.java:805)
	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
	at net.bull.javamelody.RemoteCallHelper.collectDataByNodeName(RemoteCallHelper.java:174)
	at net.bull.javamelody.RemoteCallHelper.collectJavaInformationsListByName(RemoteCallHelper.java:184)
	at net.bull.javamelody.NodesCollector.collectWithoutErrorsNow(NodesCollector.java:154)
	at net.bull.javamelody.NodesCollector.collectWithoutErrors(NodesCollector.java:143)
	at net.bull.javamelody.NodesCollector$1.run(NodesCollector.java:87)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.Error: Unable to load resource JAVAMELODY-VERSION.properties
	at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:397)
	at java.lang.ClassLoader.getResource(ClassLoader.java:1147)
	at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:227)
	at java.lang.Class.getResourceAsStream(Class.java:2098)
	at net.bull.javamelody.Parameters.getJavaMelodyVersion(Parameters.java:404)
	at net.bull.javamelody.Parameters.(Parameters.java:47)
	at net.bull.javamelody.I18N.(I18N.java:41)
	at net.bull.javamelody.RemoteCallHelper$DelegatingTask.call(RemoteCallHelper.java:131)
	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
	at ..remote call to busgf2111.us.oracle.com(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
	at hudson.remoting.Channel$2.adapt(Channel.java:808)
	... 9 more
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Failed to write to /users/releng/.jenkins/cache/jars/33/BDC5E9E1DFFBEA6E4C6765CBACB1DD.jar
	at hudson.remoting.AsyncFutureImpl.get(AsyncFutureImpl.java:75)
	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
 

 
I found https://issues.jenkins-ci.org/browse/JENKINS-18578 and realized my $HOME was also custom, so: 
 

Uninstalled the plugin
 

Emptied the content of $HOME/.jenkins/cache/jars, but did not delete the directory
 

Restarted Jenkins passing -Duser.home=

[JIRA] [monitoring-plugin] (JENKINS-31619) java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N (with a non-default JENKINS_HOME)

2016-03-23 Thread tsniatow...@opera.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tomasz Śniatowski updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31619 
 
 
 
  java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N (with a non-default JENKINS_HOME)  
 
 
 
 
 
 
 
 
 

Change By:
 
 Tomasz Śniatowski 
 
 
 

Summary:
 
 java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N  (  with a non-default JENKINS_HOME ) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [monitoring-plugin] (JENKINS-31619) java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N with a non-default JENKINS_HOME

2016-03-23 Thread tsniatow...@opera.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tomasz Śniatowski updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31619 
 
 
 
  java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N with a non-default JENKINS_HOME  
 
 
 
 
 
 
 
 
 

Change By:
 
 Tomasz Śniatowski 
 
 
 

Summary:
 
 java.lang.NoClassDefFoundError: Could not initialize class net.bull.javamelody.I18N  with a non-default JENKINS_HOME 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.