Re: Jenkins crashing - java.lang.InterruptedException

2017-11-02 Thread Mark Waite
Alvin,

I think if you compare the stack trace from 5 years ago with your stack
trace, you'll find enough differences to hint that they are not likely
related to one another.

Yours is running "managedscripts.ScriptBuildStep.perform()" while the 5
year old stack trace is running "CommandInterpreter.perform ()"

Mark Waite

On Thu, Nov 2, 2017 at 1:13 PM Alvin Lee  wrote:

> Did you ever solve this issue? I'm running into the same thing now 5 years
> later
>
> java.lang.InterruptedException
>   at java.lang.Object.wait(Native Method)
>   at java.lang.Object.wait(Object.java:502)
>   at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
>   at hudson.Proc$LocalProc.join(Proc.java:320)
>   at hudson.Launcher$ProcStarter.join(Launcher.java:409)
>   at 
> org.jenkinsci.plugins.managedscripts.ScriptBuildStep.perform(ScriptBuildStep.java:180)
>   at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
>   at hudson.model.Build$BuildExecution.build(Build.java:206)
>   at hudson.model.Build$BuildExecution.doRun(Build.java:163)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
>   at hudson.model.Run.execute(Run.java:1735)
>   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>   at hudson.model.ResourceController.execute(ResourceController.java:97)
>   at hudson.model.Executor.run(Executor.java:405)
> Build step 'Execute managed script' marked build as failure
>
>
> On Thursday, May 3, 2012 at 11:35:50 PM UTC-7, Steve Oliver wrote:
>>
>> Hi, all.  Trying to debug one of the first issues I've had with Jenkins
>> -- It is crashing on one of my jobs.
>>
>> From jenkins.log:
>>
>> May 4, 2012 1:00:49 AM hudson.TcpSlaveAgentListener 
>> INFO: JNLP slave agent listener started on TCP port 57822
>> May 4, 2012 1:01:04 AM hudson.WebAppMain$2 run
>> INFO: Jenkins is fully up and running
>> May 4, 2012 1:37:14 AM hudson.model.Run run
>> INFO: Job A #1 main build action completed: FAILURE
>> May 4, 2012 1:42:19 AM hudson.model.Run run
>> INFO: Job B #2 main build action completed: SUCCESS
>> May 4, 2012 1:47:28 AM hudson.model.Run run
>> INFO: Job C #5 aborted
>> java.lang.InterruptedException
>> at java.lang.Object.wait(Native Method)
>> at java.lang.Object.wait(Object.java:502)
>> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:181)
>> at hudson.Proc$LocalProc.join(Proc.java:319)
>> at hudson.Launcher$ProcStarter.join(Launcher.java:345)
>> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82)
>> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
>> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
>> at
>> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
>> at hudson.model.Build$RunnerImpl.build(Build.java:178)
>> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
>> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
>> at hudson.model.Run.run(Run.java:1434)
>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>> at hudson.model.ResourceController.execute(ResourceController.java:88)
>> at hudson.model.Executor.run(Executor.java:239)
>>
>> Jenkins service goes away ... all gone.
>>
>> Ideas?
>>
>> Thanks,
>>
>> - Steve Oliver
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/7b464d26-fef0-4aa7-bab6-80c2b02da030%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGgLkaJ%3DYE2qyCY8hkpQCFsz4jYRc-VZJfgHHM9FYbjyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins crashing - java.lang.InterruptedException

2017-11-02 Thread Alvin Lee
Did you ever solve this issue? I'm running into the same thing now 5 years 
later

java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
at hudson.Proc$LocalProc.join(Proc.java:320)
at hudson.Launcher$ProcStarter.join(Launcher.java:409)
at 
org.jenkinsci.plugins.managedscripts.ScriptBuildStep.perform(ScriptBuildStep.java:180)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
at hudson.model.Run.execute(Run.java:1735)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Build step 'Execute managed script' marked build as failure


On Thursday, May 3, 2012 at 11:35:50 PM UTC-7, Steve Oliver wrote:
>
> Hi, all.  Trying to debug one of the first issues I've had with Jenkins -- 
> It is crashing on one of my jobs.
>
> From jenkins.log:
>  
> May 4, 2012 1:00:49 AM hudson.TcpSlaveAgentListener 
> INFO: JNLP slave agent listener started on TCP port 57822
> May 4, 2012 1:01:04 AM hudson.WebAppMain$2 run
> INFO: Jenkins is fully up and running
> May 4, 2012 1:37:14 AM hudson.model.Run run
> INFO: Job A #1 main build action completed: FAILURE
> May 4, 2012 1:42:19 AM hudson.model.Run run
> INFO: Job B #2 main build action completed: SUCCESS
> May 4, 2012 1:47:28 AM hudson.model.Run run
> INFO: Job C #5 aborted
> java.lang.InterruptedException
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:502)
> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:181)
> at hudson.Proc$LocalProc.join(Proc.java:319)
> at hudson.Launcher$ProcStarter.join(Launcher.java:345)
> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82)
> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at 
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
> at hudson.model.Build$RunnerImpl.build(Build.java:178)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
> at hudson.model.Run.run(Run.java:1434)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:239) 
>
> Jenkins service goes away ... all gone.
>
> Ideas?
>
> Thanks,
>
> - Steve Oliver
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7b464d26-fef0-4aa7-bab6-80c2b02da030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Crashing

2016-04-18 Thread Shahin Toufighian
I have the same error.  Any luck with yours?

On Wednesday, July 31, 2013 at 10:01:29 AM UTC-4, Harlan Barnes wrote:
>
> I'm having an issue where jenkins/java crashing regularly and often. It 
> had been working fine for a long while and I had to restart the VM 
> recently. It then started failing over and over again. I've rebuilt a new 
> Centos6 image from scratch, re-installed, re-added each plugin until I got 
> it running again. It ran for 4-5 days and then started crashing again. I've 
> captured the error below ... does anyone have any ideas where I could look?
>
> I've tried ...
>
> - Rebuilding the VM from scratch (as described)
> - Swapping JVMs: OpenJDK 1.7, OpenJDK 1.6, Sun JDK 1.7
>
> Current details ... with command line info ...
>
> /etc/alternatives/java -Djava.awt.headless=true -Xms1024m -Xmx1024m 
> -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC 
> -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war 
> --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war 
> --httpPort=8080 --ajp13Port=8009 --debug=9 --handlerCountMax=100 
> --handlerCountMaxIdle=20
>
> [root@jenkins jenkins]# java -version
> java version "1.7.0_25"
> OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
>
> [root@jenkins jenkins]# cat /etc/redhat-release 
> CentOS release 6.3 (Final)
>
> And the error ...
>
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details - ^A^?)
> *** glibc detected *** /etc/alternatives/java: double free or corruption 
> (out): 0x7fd7f001de30 ***
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> GConf Error: Failed to contact configuration server; some possible causes 
> are that you need to enable TCP/IP networking for ORBit, or you have stale 
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
> information. (Details -  1: Not running within active session)
> === Backtrace: =
> /lib64/libc.so.6(+0x75916)[0x7fd80c24b916]
> /lib64/libc.so.6(+0x78443)[0x7fd80c24e443]
> /lib64/libglib-2.0.so.0(g_string_free+0x4a)[0x7fd7e0cc332a]
> /usr/lib64/libgconf-2.so.4(gconf_activate_server+0x104)[0x7fd7e18573c4]
> /usr/lib64/libgconf-2.so.4(+0x1fb24)[0x7fd7e1864b24]
> /usr/lib64/libgconf-2.so.4(+0x205ec)[0x7fd7e18655ec]
> /usr/lib64/libgconf-2.so.4(+0x21271)[0x7fd7e1866271]
> /usr/lib64/libgconf-2.so.4(gconf_engine_get_fuller+0x1bf)[0x7fd7e186643f]
> /usr/lib64/libgconf-2.so.4(gconf_engine_get_entry+0x8c)[0x7fd7e18667fc]
> /usr/lib64/libgconf-2.so.4(+0x27cae)[0x7fd7e186ccae]
> /usr/lib64/libgconf-2.so.4(+0x2906d)[0x7fd7e186e06d]
> /usr/lib64/libgconf-2.so.4(gconf_client_get_bool+0x93)[0x7fd7e186e663]
>
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/amd64/libnet.so(Java_sun_net_spi_DefaultProxySelector_getSystemProxy+0x91)[0x7fd7fd8c1441]
> [0x7fd801011f90]
> === Memory map: 
> 0040-00401000 r-xp  ca:00 475833 
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/bin/java
> 0060-00601000

Re: Jenkins crashing after 1.631 update and disabling mailer

2015-10-05 Thread Slide
If you have other plugins that use the classes from Mailer, then yes, it
will definitely crash.

On Mon, Oct 5, 2015 at 2:48 PM Zach La Celle  wrote:

> So I figured out how to re-enable the mailer plugin from the terminal, and
> it starts fine. So it looks like disabling this plugin crashes Jenkins.
> On Oct 5, 2015 5:29 PM, "Victor Martinez" 
> wrote:
>
>> Hi,
>>
>>  Are you sure the mail plugin is there? since "Caused by:
>> java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty" means
>> that plugin is not part of the installation. A bit weird as the mail plugin
>> is part of the jenkins default plugin list afaik. You could reinstall it
>> and see whether it works, and that's probably the same issue you've seen
>> with the Extended Mailer Plugin.
>>
>> I hope it helps
>>
>> Cheers
>>
>> On Monday, 5 October 2015 23:09:13 UTC+2, Zach La Celle wrote:
>>>
>>> I recently upgrade to 1.631, and rebooted/ran successfully.  I have also
>>> had issues with Extended Mailer Plugin emailing when it shouldn't, so I
>>> tried disabling it in the plugin list.
>>>
>>> Now, when I restart Jenkins, I get this:
>>>
>>> SEVERE: Failed Loading global config
>>> java.io.IOException: Unable to read /var/lib/jenkins/config.xml
>>> at hudson.XmlFile.unmarshal(XmlFile.java:167)
>>> at jenkins.model.Jenkins$16.run(Jenkins.java:2663)
>>> at
>>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
>>> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>>> at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
>>> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>>> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>>> 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)
>>> Caused by: java.lang.NoClassDefFoundError:
>>> hudson/tasks/Mailer$UserProperty
>>> at java.lang.Class.getDeclaredFields0(Native Method)
>>> at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
>>> at java.lang.Class.getDeclaredFields(Class.java:1811)
>>> at
>>> com.thoughtworks.xstream.mapper.AnnotationMapper.processTypes(AnnotationMapper.java:216)
>>> at
>>> com.thoughtworks.xstream.mapper.AnnotationMapper.processAnnotations(AnnotationMapper.java:182)
>>> at
>>> com.thoughtworks.xstream.mapper.AnnotationMapper.defaultImplementationOf(AnnotationMapper.java:141)
>>> at
>>> hudson.util.xstream.MapperDelegate.defaultImplementationOf(MapperDelegate.java:59)
>>> at
>>> com.thoughtworks.xstream.mapper.MapperWrapper.defaultImplementationOf(MapperWrapper.java:46)
>>> at
>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:54)
>>> at
>>> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:352)
>>> at
>>> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:290)
>>> at
>>> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229)
>>> at
>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
>>> at
>>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
>>> at
>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
>>> at
>>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
>>> at
>>> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
>>> at
>>> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
>>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
>>> at hudson.util.XStream2.unmarshal(XStream2.java:113)
>>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
>>> at hudson.XmlFile.unmarshal(XmlFile.java:163)
>>> ... 9 more
>>> Caused by: java.lang.ClassNotFoundException:
>>> hudson.tasks.Mailer$UserProperty
>>> at
>>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
>>> at
>>> jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>>> at
>>> jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>> ... 31 more
>>>
>>> The config file is present, and should be working.
>>>
>>> Any ideas?
>>>
>>> --
>>
> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-users/CPNM0kxeBFg/unsubscribe
>> 

Re: Jenkins crashing after 1.631 update and disabling mailer

2015-10-05 Thread Zach La Celle
So I figured out how to re-enable the mailer plugin from the terminal, and
it starts fine. So it looks like disabling this plugin crashes Jenkins.
On Oct 5, 2015 5:29 PM, "Victor Martinez" 
wrote:

> Hi,
>
>  Are you sure the mail plugin is there? since "Caused by:
> java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty" means
> that plugin is not part of the installation. A bit weird as the mail plugin
> is part of the jenkins default plugin list afaik. You could reinstall it
> and see whether it works, and that's probably the same issue you've seen
> with the Extended Mailer Plugin.
>
> I hope it helps
>
> Cheers
>
> On Monday, 5 October 2015 23:09:13 UTC+2, Zach La Celle wrote:
>>
>> I recently upgrade to 1.631, and rebooted/ran successfully.  I have also
>> had issues with Extended Mailer Plugin emailing when it shouldn't, so I
>> tried disabling it in the plugin list.
>>
>> Now, when I restart Jenkins, I get this:
>>
>> SEVERE: Failed Loading global config
>> java.io.IOException: Unable to read /var/lib/jenkins/config.xml
>> at hudson.XmlFile.unmarshal(XmlFile.java:167)
>> at jenkins.model.Jenkins$16.run(Jenkins.java:2663)
>> at
>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
>> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>> at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
>> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>> 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)
>> Caused by: java.lang.NoClassDefFoundError:
>> hudson/tasks/Mailer$UserProperty
>> at java.lang.Class.getDeclaredFields0(Native Method)
>> at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
>> at java.lang.Class.getDeclaredFields(Class.java:1811)
>> at
>> com.thoughtworks.xstream.mapper.AnnotationMapper.processTypes(AnnotationMapper.java:216)
>> at
>> com.thoughtworks.xstream.mapper.AnnotationMapper.processAnnotations(AnnotationMapper.java:182)
>> at
>> com.thoughtworks.xstream.mapper.AnnotationMapper.defaultImplementationOf(AnnotationMapper.java:141)
>> at
>> hudson.util.xstream.MapperDelegate.defaultImplementationOf(MapperDelegate.java:59)
>> at
>> com.thoughtworks.xstream.mapper.MapperWrapper.defaultImplementationOf(MapperWrapper.java:46)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:54)
>> at
>> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:352)
>> at
>> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:290)
>> at
>> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
>> at
>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
>> at
>> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
>> at hudson.util.XStream2.unmarshal(XStream2.java:113)
>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
>> at hudson.XmlFile.unmarshal(XmlFile.java:163)
>> ... 9 more
>> Caused by: java.lang.ClassNotFoundException:
>> hudson.tasks.Mailer$UserProperty
>> at
>> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
>> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
>> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>> ... 31 more
>>
>> The config file is present, and should be working.
>>
>> Any ideas?
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/CPNM0kxeBFg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b509b343-634a-453f-bd72-db44ae83500b%40googlegroups.c

Re: Jenkins crashing after 1.631 update and disabling mailer

2015-10-05 Thread Victor Martinez
Hi,

 Are you sure the mail plugin is there? since "Caused by: 
java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty" means 
that plugin is not part of the installation. A bit weird as the mail plugin 
is part of the jenkins default plugin list afaik. You could reinstall it 
and see whether it works, and that's probably the same issue you've seen 
with the Extended Mailer Plugin.

I hope it helps

Cheers

On Monday, 5 October 2015 23:09:13 UTC+2, Zach La Celle wrote:
>
> I recently upgrade to 1.631, and rebooted/ran successfully.  I have also 
> had issues with Extended Mailer Plugin emailing when it shouldn't, so I 
> tried disabling it in the plugin list.
>
> Now, when I restart Jenkins, I get this:
>
> SEVERE: Failed Loading global config
> java.io.IOException: Unable to read /var/lib/jenkins/config.xml
> at hudson.XmlFile.unmarshal(XmlFile.java:167)
> at jenkins.model.Jenkins$16.run(Jenkins.java:2663)
> at 
> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
> at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
> 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)
> Caused by: java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty
> at java.lang.Class.getDeclaredFields0(Native Method)
> at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
> at java.lang.Class.getDeclaredFields(Class.java:1811)
> at 
> com.thoughtworks.xstream.mapper.AnnotationMapper.processTypes(AnnotationMapper.java:216)
> at 
> com.thoughtworks.xstream.mapper.AnnotationMapper.processAnnotations(AnnotationMapper.java:182)
> at 
> com.thoughtworks.xstream.mapper.AnnotationMapper.defaultImplementationOf(AnnotationMapper.java:141)
> at 
> hudson.util.xstream.MapperDelegate.defaultImplementationOf(MapperDelegate.java:59)
> at 
> com.thoughtworks.xstream.mapper.MapperWrapper.defaultImplementationOf(MapperWrapper.java:46)
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:54)
> at 
> hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:352)
> at 
> hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:290)
> at 
> hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229)
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
> at 
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
> at 
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
> at 
> com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
> at hudson.util.XStream2.unmarshal(XStream2.java:113)
> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
> at hudson.XmlFile.unmarshal(XmlFile.java:163)
> ... 9 more
> Caused by: java.lang.ClassNotFoundException: 
> hudson.tasks.Mailer$UserProperty
> at 
> jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
> at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
> at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 31 more
>
> The config file is present, and should be working.
>
> Any ideas?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b509b343-634a-453f-bd72-db44ae83500b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins crashing after 1.631 update and disabling mailer

2015-10-05 Thread Zach La Celle
I recently upgrade to 1.631, and rebooted/ran successfully.  I have also 
had issues with Extended Mailer Plugin emailing when it shouldn't, so I 
tried disabling it in the plugin list.

Now, when I restart Jenkins, I get this:

SEVERE: Failed Loading global config
java.io.IOException: Unable to read /var/lib/jenkins/config.xml
at hudson.XmlFile.unmarshal(XmlFile.java:167)
at jenkins.model.Jenkins$16.run(Jenkins.java:2663)
at 
org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
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)
Caused by: java.lang.NoClassDefFoundError: hudson/tasks/Mailer$UserProperty
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
at java.lang.Class.getDeclaredFields(Class.java:1811)
at 
com.thoughtworks.xstream.mapper.AnnotationMapper.processTypes(AnnotationMapper.java:216)
at 
com.thoughtworks.xstream.mapper.AnnotationMapper.processAnnotations(AnnotationMapper.java:182)
at 
com.thoughtworks.xstream.mapper.AnnotationMapper.defaultImplementationOf(AnnotationMapper.java:141)
at 
hudson.util.xstream.MapperDelegate.defaultImplementationOf(MapperDelegate.java:59)
at 
com.thoughtworks.xstream.mapper.MapperWrapper.defaultImplementationOf(MapperWrapper.java:46)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:54)
at 
hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:352)
at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:290)
at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at 
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at 
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
at hudson.util.XStream2.unmarshal(XStream2.java:113)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
at hudson.XmlFile.unmarshal(XmlFile.java:163)
... 9 more
Caused by: java.lang.ClassNotFoundException: 
hudson.tasks.Mailer$UserProperty
at 
jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 31 more

The config file is present, and should be working.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f9c2ad38-9060-4655-ba00-b7d62582c379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins crashing, GLib error

2014-07-10 Thread Adam Daughterson
This is a really old thread, but I just saw this crash today.

Did you ever figure out what was happening?

On Thursday, September 13, 2012 7:06:26 AM UTC-6, Bejoy Jaison wrote:
>
>
> Thanks for the information.
>
> We are still seeing many crashes:
>
> GLib-WARNING (recursed) **: gmain.c:1429: ref_count == 0, but source is 
> still attached to a context!
> GLib-WARNING (recursed) **: g_main_loop_run() was called from second 
> thread but g_thread_init() was never called.
> ...
>
> Running Jenkins  1.462  on RHEL release 5.6 
> (Tikanga)/j2se_1.6.0_31
>
> Will update to latest Jenkins and Java 1.6 and check...
>
> regards,
> Bejoy
>
>

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


Re: Jenkins crashing java.exe when run on my windows 7 box.

2013-11-27 Thread Alexander Zeitler
https://issues.jenkins-ci.org/browse/JENKINS-20630

Am 27.11.2013 um 23:02 schrieb "Alexander Zeitler" 
mailto:alexander.zeit...@pdmlab.com>>:

Same here. Did you find a solution?

Thanks,

Alex

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

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


Re: Jenkins crashing java.exe when run on my windows 7 box.

2013-11-27 Thread Alexander Zeitler
Same here. Did you find a solution?

Thanks,

Alex

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


Re: Jenkins crashing java.exe when run on my windows 7 box.

2013-11-22 Thread Dorcus Malorcus
I had a similar issue with Tomcat running Jenkins.  I was able to get 
around it with these Java options: 

-Xms64m -Xmx256m 

But I also downgraded to Java 6.   YMMV. 

Dave

>
>

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


Re: Jenkins crashing java.exe when run on my windows 7 box.

2013-11-21 Thread Eric
Also, I highly recommend creating a test platform to upgrade as the releases 
are very buggy and upgrading your production site is very risky.

Sent from my iPhone

On Nov 21, 2013, at 2:23 PM, Eric  wrote:

> I got the same error and had to revert back to 1.535 as my last good build.
> 
> I downloaded the windows native installer. The previous build did not work 
> for me either when merely upgrading the war.
> 
> Sent from my iPhone
> 
> On Nov 21, 2013, at 2:13 PM, Warren Postma  wrote:
> 
>> I am starting Jenkins 1.540 version of jenkins.war, and have tried the 
>> included Java jre that came with the Windows Installer, plus the 32 bit and 
>> 64 bit latest Java 7 JRE versions,
>> and in all three cases, I get a java.exe crash right after startup. From the 
>> console the output of my attempts shows the following:
>> 
>> c:\Program Files\Jenkins>java -version
>> java version "1.7.0_45"
>> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
>> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>> 
>> c:\Program Files\Jenkins>java -jar jenkins.war
>> Running from: C:\Program Files\Jenkins\jenkins.war
>> webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
>> Nov 21, 2013 2:03:02 PM org.eclipse.jetty.util.log.JavaUtilLog info
>> INFO: jetty-8.y.z-SNAPSHOT
>> Nov 21, 2013 2:03:03 PM org.eclipse.jetty.util.log.JavaUtilLog info
>> INFO: Extract jar:file:/C:/Program%20Files/Jenkins/jenkins.war!/ to 
>> C:\Users\wpo
>> \webapp
>> Nov 21, 2013 2:03:16 PM org.eclipse.jetty.util.log.JavaUtilLog info
>> INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
>> Jenkins home directory: C:\Program Files\Jenkins found at: 
>> EnvVars.masterEnvVars
>> Nov 21, 2013 2:03:17 PM org.eclipse.jetty.util.log.JavaUtilLog info
>> INFO: Started SelectChannelConnector@0.0.0.0:8080
>> Nov 21, 2013 2:03:17 PM winstone.Logger logInternal
>> INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
>> Nov 21, 2013 2:03:17 PM jenkins.InitReactorRunner$1 onAttained
>> INFO: Started initialization
>> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
>> INFO: Listed all plugins
>> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
>> INFO: Prepared all plugins
>> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
>> INFO: Started all plugins
>> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
>> INFO: Augmented all extensions
>> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
>> INFO: Loaded all jobs
>> 
>> Similar output to the above appears in the run log file if I run from the 
>> service context instead of the command line, except I usually get the 
>> following extra two lines:
>> 
>> Nov 20, 2013 4:47:00 PM org.jenkinsci.main.modules.sshd.SSHD start
>> INFO: Started SSHD at port 57923
>> 
>> 
>> At this point, I get a Windows dialog come up that says Java has stopped 
>> working.   The same crash occurs if I run from the NT service context, but 
>> it appeared better to me to try to debug this while just running "java.exe 
>> -jar jenkins.war".
>> 
>> This machine is a stock 64 bit Windows 7 machine, and has AVG Anti Virus.  
>> Other Java programs including NetBeans IDE 7.4 run fine.
>> 
>> I suspect because of the log, that the issue is with the "SSHD start" stuff. 
>> Anyone got any ideas why Jenkins is Dead In The Water for me?
>> 
>> 
>> Warren
>> 
>> 
>> 
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

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


Re: Jenkins crashing java.exe when run on my windows 7 box.

2013-11-21 Thread Eric
I got the same error and had to revert back to 1.535 as my last good build.

I downloaded the windows native installer. The previous build did not work for 
me either when merely upgrading the war.

Sent from my iPhone

On Nov 21, 2013, at 2:13 PM, Warren Postma  wrote:

> I am starting Jenkins 1.540 version of jenkins.war, and have tried the 
> included Java jre that came with the Windows Installer, plus the 32 bit and 
> 64 bit latest Java 7 JRE versions,
> and in all three cases, I get a java.exe crash right after startup. From the 
> console the output of my attempts shows the following:
> 
> c:\Program Files\Jenkins>java -version
> java version "1.7.0_45"
> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
> 
> c:\Program Files\Jenkins>java -jar jenkins.war
> Running from: C:\Program Files\Jenkins\jenkins.war
> webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
> Nov 21, 2013 2:03:02 PM org.eclipse.jetty.util.log.JavaUtilLog info
> INFO: jetty-8.y.z-SNAPSHOT
> Nov 21, 2013 2:03:03 PM org.eclipse.jetty.util.log.JavaUtilLog info
> INFO: Extract jar:file:/C:/Program%20Files/Jenkins/jenkins.war!/ to 
> C:\Users\wpo
> \webapp
> Nov 21, 2013 2:03:16 PM org.eclipse.jetty.util.log.JavaUtilLog info
> INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
> Jenkins home directory: C:\Program Files\Jenkins found at: 
> EnvVars.masterEnvVars
> Nov 21, 2013 2:03:17 PM org.eclipse.jetty.util.log.JavaUtilLog info
> INFO: Started SelectChannelConnector@0.0.0.0:8080
> Nov 21, 2013 2:03:17 PM winstone.Logger logInternal
> INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
> Nov 21, 2013 2:03:17 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Started initialization
> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Listed all plugins
> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Prepared all plugins
> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Started all plugins
> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Augmented all extensions
> Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
> INFO: Loaded all jobs
> 
> Similar output to the above appears in the run log file if I run from the 
> service context instead of the command line, except I usually get the 
> following extra two lines:
> 
> Nov 20, 2013 4:47:00 PM org.jenkinsci.main.modules.sshd.SSHD start
> INFO: Started SSHD at port 57923
> 
> 
> At this point, I get a Windows dialog come up that says Java has stopped 
> working.   The same crash occurs if I run from the NT service context, but it 
> appeared better to me to try to debug this while just running "java.exe -jar 
> jenkins.war".
> 
> This machine is a stock 64 bit Windows 7 machine, and has AVG Anti Virus.  
> Other Java programs including NetBeans IDE 7.4 run fine.
> 
> I suspect because of the log, that the issue is with the "SSHD start" stuff. 
> Anyone got any ideas why Jenkins is Dead In The Water for me?
> 
> 
> Warren
> 
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

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


Jenkins crashing java.exe when run on my windows 7 box.

2013-11-21 Thread Warren Postma
I am starting Jenkins 1.540 version of jenkins.war, and have tried the 
included Java jre that came with the Windows Installer, plus the 32 bit and 
64 bit latest Java 7 JRE versions,
and in all three cases, I get a java.exe crash right after startup. From 
the console the output of my attempts shows the following:

c:\Program Files\Jenkins>java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

c:\Program Files\Jenkins>java -jar jenkins.war
Running from: C:\Program Files\Jenkins\jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Nov 21, 2013 2:03:02 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
Nov 21, 2013 2:03:03 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Extract jar:file:/C:/Program%20Files/Jenkins/jenkins.war!/ to 
C:\Users\wpo
\webapp
Nov 21, 2013 2:03:16 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:\Program Files\Jenkins found at: 
EnvVars.masterEnvVars
Nov 21, 2013 2:03:17 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector@0.0.0.0:8080
Nov 21, 2013 2:03:17 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Nov 21, 2013 2:03:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Nov 21, 2013 2:03:18 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs

Similar output to the above appears in the run log file if I run from the 
service context instead of the command line, except I usually get the 
following extra two lines:

*Nov 20, 2013 4:47:00 PM org.jenkinsci.main.modules.sshd.SSHD start*
*INFO: Started SSHD at port 57923*


At this point, I get a Windows dialog come up that says Java has stopped 
working.   The same crash occurs if I run from the NT service context, but 
it appeared better to me to try to debug this while just running "java.exe 
-jar jenkins.war".

This machine is a stock 64 bit Windows 7 machine, and has AVG Anti Virus. 
 Other Java programs including NetBeans IDE 7.4 run fine.

I suspect because of the log, that the issue is with the "SSHD start" 
stuff. Anyone got any ideas why Jenkins is Dead In The Water for me?


Warren






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


Jenkins Crashing

2013-07-31 Thread Harlan Barnes
I'm having an issue where jenkins/java crashing regularly and often. It had 
been working fine for a long while and I had to restart the VM recently. It 
then started failing over and over again. I've rebuilt a new Centos6 image 
from scratch, re-installed, re-added each plugin until I got it running 
again. It ran for 4-5 days and then started crashing again. I've captured 
the error below ... does anyone have any ideas where I could look?

I've tried ...

- Rebuilding the VM from scratch (as described)
- Swapping JVMs: OpenJDK 1.7, OpenJDK 1.6, Sun JDK 1.7

Current details ... with command line info ...

/etc/alternatives/java -Djava.awt.headless=true -Xms1024m -Xmx1024m 
-XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC 
-DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war 
--logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war 
--httpPort=8080 --ajp13Port=8009 --debug=9 --handlerCountMax=100 
--handlerCountMaxIdle=20

[root@jenkins jenkins]# java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

[root@jenkins jenkins]# cat /etc/redhat-release 
CentOS release 6.3 (Final)

And the error ...

GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details - ^A^?)
*** glibc detected *** /etc/alternatives/java: double free or corruption 
(out): 0x7fd7f001de30 ***
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
GConf Error: Failed to contact configuration server; some possible causes 
are that you need to enable TCP/IP networking for ORBit, or you have stale 
NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Not running within active session)
=== Backtrace: =
/lib64/libc.so.6(+0x75916)[0x7fd80c24b916]
/lib64/libc.so.6(+0x78443)[0x7fd80c24e443]
/lib64/libglib-2.0.so.0(g_string_free+0x4a)[0x7fd7e0cc332a]
/usr/lib64/libgconf-2.so.4(gconf_activate_server+0x104)[0x7fd7e18573c4]
/usr/lib64/libgconf-2.so.4(+0x1fb24)[0x7fd7e1864b24]
/usr/lib64/libgconf-2.so.4(+0x205ec)[0x7fd7e18655ec]
/usr/lib64/libgconf-2.so.4(+0x21271)[0x7fd7e1866271]
/usr/lib64/libgconf-2.so.4(gconf_engine_get_fuller+0x1bf)[0x7fd7e186643f]
/usr/lib64/libgconf-2.so.4(gconf_engine_get_entry+0x8c)[0x7fd7e18667fc]
/usr/lib64/libgconf-2.so.4(+0x27cae)[0x7fd7e186ccae]
/usr/lib64/libgconf-2.so.4(+0x2906d)[0x7fd7e186e06d]
/usr/lib64/libgconf-2.so.4(gconf_client_get_bool+0x93)[0x7fd7e186e663]
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/amd64/libnet.so(Java_sun_net_spi_DefaultProxySelector_getSystemProxy+0x91)[0x7fd7fd8c1441]
[0x7fd801011f90]
=== Memory map: 
0040-00401000 r-xp  ca:00 475833 
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/bin/java
0060-00601000 rw-p  ca:00 475833 
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/bin/java
018b-0241d000 rw-p  00:00 0 
 [heap]
a000-e69be000 rw-p  00:00 0 
e69be000-1 rw-p  00:00 0 

Jenkins crashing at SCM polling

2012-11-16 Thread Thomas Peeters
 Hey, 

I've got this nasty problem running Jenkins.   
version: 1.461 

Tomcat version: 7.0.27 
Linux Ubuntu 10.x 
Maven 3.0.3 

The issue has never happened before but today I can't seem to keep Jenkins 
up for more than a few minutes.  The error is a JVM error, so I thought I'd 
try a different JVM.  But that didn't make any difference.  I tried 64bit 
1.6.0_31 and 1.7.0.27. 


Output from one of the logs that appeared in //bin called: 
"hs_err_pid1598.log": 

# 
# A fatal error has been detected by the Java Runtime Environment: 
# 
#  SIGSEGV (0xb) at pc=0xac388507, pid=1598, tid=2891971440 
# 
# JRE version: 6.0_29-b11 
# Java VM: Java HotSpot(TM) Server VM (20.4-b02 mixed mode linux-x86 ) 
# Problematic frame: 
# C  [libglib-2.0.so.0+0x5f507]  __float128+0x107 
# 
# If you would like to submit a bug report, please visit: 
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code. 
# See problematic frame for where to report the bug. 
# 

---  T H R E A D  --- 

Current thread (0x09140c00):  JavaThread "SCM polling for 
hudson.maven.MavenModuleSet@fa6824[pre-processor]" [_thread_in_native, 
id=1654, stack(0xac5af000,0xac60)] 

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), 
si_addr=0x0005 

Registers: 
EAX=0xae649118, EBX=0xac3feff4, ECX=0x0002, EDX=0xab604828 


This is seriously the worst timing ever.  I just created a release branch 
in SVN and added the whole build pipe.  I need to run this build pipe twice 
a day and once at night.   

any advice? 
 

Re: Jenkins crashing, GLib error

2012-09-13 Thread Bejoy Jaison

Thanks for the information.

We are still seeing many crashes:

GLib-WARNING (recursed) **: gmain.c:1429: ref_count == 0, but source is 
still attached to a context!
GLib-WARNING (recursed) **: g_main_loop_run() was called from second thread 
but g_thread_init() was never called.
...

Running Jenkins  1.462  on RHEL release 5.6 
(Tikanga)/j2se_1.6.0_31

Will update to latest Jenkins and Java 1.6 and check...

regards,
Bejoy



Re: Jenkins crashing, GLib error

2012-09-03 Thread Gábor Garami
Master's java is quite old, try to upgrade to latest jdk6 (u34 iirc).

I think there is a ppa for that or sthg.

Garami Gábor
gabor.gar...@hron.me
Skype: hron84
Tel: +36 20 235 9621

Sent from my T-Mobile G2
Ezt a levelet telefonról adták fel, ékezethibákat tartalmazhat.
2012.08.31. 13:03, "David Pärsson"  ezt írta:

> This is from our master:
> $ java -version
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
>
> The version on our slaves differ:
> $ java -version
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
>
> $ java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
> We have a few more slaves and they might have some other Java versions not
> listed above.


Re: Jenkins crashing, GLib error

2012-08-31 Thread David Pärsson
This is from our master:
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

The version on our slaves differ:
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

$ java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)

We have a few more slaves and they might have some other Java versions not 
listed above.

Re: Jenkins crashing, GLib error

2012-08-29 Thread Bejoy Jaison
Hi,

What is the Java version that you are using with Ubuntu 12, so that I can
upgrade Java and check again.

regards,
Bejoy





--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Jenkins-crashing-GLib-error-tp4633744p4638622.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Jenkins crashing, GLib error

2012-08-13 Thread David Pärsson
After updating Jenkins to 1.471 we still experienced the same problems, but 
after updating Ubuntu to 12.04 on our Jenkins master and all of our Jenkins 
slaves, this issue seems to have been resolved.

Re: Jenkins crashing, GLib error

2012-07-13 Thread Bejoy Jaison

>
> We're running Jenkins 1.457, and our master runs on Ubuntu 10.04.
>

Also observing same error on our Jenkins server. Running Jenkins 1.462 with 
master runing on RHEL Server release 5.6.
GLib-ERROR **: file gmain.c: line 2008 (g_main_dispatch): assertion failed: 
(source)
aborting...



Jenkins crashing, GLib error

2012-07-04 Thread David Pärsson
Hi,

During the last few days we've experienced Jenkins master crashes, with 
increasing frequency. The process dies and the log gives no clues but this:
GLib:ERROR:/build/buildd/glib2.0-2.24.1/glib/gmain.c:1963:g_main_dispatch: 
assertion failed: (current->dispatching_sources == ¤t_source_link)

We don't think there has been any significant changes in configuration or 
setup recently, so we're not sure what caused this. Has anyone else seen 
this issue? Google searches seem to suggest this error is related to thread 
management issues, but I haven't been able to find any details.

We're running Jenkins 1.457, and our master runs on Ubuntu 10.04.


Jenkins crashing - java.lang.InterruptedException

2012-05-03 Thread Steve Oliver
Hi, all.  Trying to debug one of the first issues I've had with Jenkins --
It is crashing on one of my jobs.

>From jenkins.log:

May 4, 2012 1:00:49 AM hudson.TcpSlaveAgentListener 
INFO: JNLP slave agent listener started on TCP port 57822
May 4, 2012 1:01:04 AM hudson.WebAppMain$2 run
INFO: Jenkins is fully up and running
May 4, 2012 1:37:14 AM hudson.model.Run run
INFO: Job A #1 main build action completed: FAILURE
May 4, 2012 1:42:19 AM hudson.model.Run run
INFO: Job B #2 main build action completed: SUCCESS
May 4, 2012 1:47:28 AM hudson.model.Run run
INFO: Job C #5 aborted
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:181)
at hudson.Proc$LocalProc.join(Proc.java:319)
at hudson.Launcher$ProcStarter.join(Launcher.java:345)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
at hudson.model.Build$RunnerImpl.build(Build.java:178)
at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
at hudson.model.Run.run(Run.java:1434)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)

Jenkins service goes away ... all gone.

Ideas?

Thanks,

- Steve Oliver