Skip to content

Instantly share code, notes, and snippets.

View aheritier's full-sized avatar

Arnaud Héritier aheritier

View GitHub Profile
@aheritier
aheritier / gist:8593910
Created January 24, 2014 08:26
jenkins White Screen UI thread Dump
2014-01-24 09:23:41
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode):
"pool-10400-thread-1" prio=10 tid=0x00007f4940034800 nid=0x789a waiting on condition [0x00007f48b5f6d000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000006ef95f698> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
Jan 09, 2014 11:12:18 AM org.apache.commons.jelly.expression.jexl.JexlExpression evaluate
WARNING: Caught exception evaluating: it.JUnitTestResult. Reason: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
@aheritier
aheritier / juzu.log
Created September 19, 2013 11:14
Assets issue
[WARNING] Creating a new instance of CacheManager using the diskStorePath "/var/folders/1j/xqmdmhls2s34gq2c0xhv9psr0000gn/T/" which is already used by an existing CacheManager.
The source of the configuration was InputStream java.io.BufferedInputStream@7ffe609f.
The diskStore path for this CacheManager will be set to /var/folders/1j/xqmdmhls2s34gq2c0xhv9psr0000gn/T//ehcache_auto_created_1379588314268.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
java.lang.IllegalArgumentException: Cannot satisfy asset dependencies:
signin.css -> [bootstrap.css, bootstrap-theme.css]acceptance.css -> [bootstrap.css, bootstrap-theme.css]acceptance.js -> [bootstrap.js, backbone.js, underscore.js, jquery.js]
at juzu.impl.asset.AssetManager.resolveAssets(AssetManager.java:149)
at juzu.impl.bridge.spi.web.WebStream.provide(WebStream.java:96)
at juzu.impl.io.SafeStream.provide(S
@aheritier
aheritier / settings.xml
Created September 12, 2013 12:32
Codenvy Maven settings
<?xml version="1.0" encoding="UTF-8"?>
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- START SNIPPET: localRepository -->
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
@aheritier
aheritier / settings.xml
Created September 12, 2013 11:34
eXo Maven settings template
<?xml version="1.0" encoding="UTF-8"?>
<!--
eXo platform - Software Factory
$Revision$
$Author$
$Date$
-->
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Deadlock Detection:
No deadlocks found.
Thread 14787: (state = BLOCKED)
- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)
- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=196 (Compiled frame)
- java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(java.util.concurrent.SynchronousQueue$TransferStack$SNode, boolean, long) @bci=174, line=424 (Compiled frame)
- java.util.concurrent.SynchronousQueue$TransferStack.transfer(java.lang.Object, boolean, long) @bci=102, line=323 (Compiled frame)
- java.util.concurrent.SynchronousQueue.poll(long, java.util.concurrent.TimeUnit) @bci=11, line=874 (Compiled frame)
@aheritier
aheritier / gist:6366036
Created August 28, 2013 13:26
White page while displaying an agent page (https://ci.exoplatform.org/computer/Agent1/)
Deadlock Detection:
No deadlocks found.
Thread 19229: (state = BLOCKED)
- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)
- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=156 (Compiled frame)
- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=1987 (Compiled frame)
- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=399 (Compiled frame)
- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=78, line=947 (Compiled frame)
@aheritier
aheritier / activateLanguage.patch
Created August 28, 2013 09:53
Diff entre updateSources et activateLanguage
arnaud@mbp-arnaud:~/Code/eXo/crowdin-maven-plugin/plugin/src/main/java/org/exoplatform/crowdin/mojo (git:feature/4.0.x/jgit)$ diff -u UpdateSourcesMojo.java ActivateLanguageSourcesMojo.java
--- UpdateSourcesMojo.java 2013-08-28 09:00:07.000000000 +0200
+++ ActivateLanguageSourcesMojo.java 2013-08-28 09:00:07.000000000 +0200
@@ -46,8 +46,8 @@
/**
* Update projects sources from crowdin translations
*/
-@Mojo(name = "update-sources")
-public class UpdateSourcesMojo extends AbstractCrowdinMojo {
+@Mojo(name = "activate-language")
@aheritier
aheritier / gist:6363143
Created August 28, 2013 07:38
jenkins thread dump white page
Deadlock Detection:
No deadlocks found.
Thread 21576: (state = IN_NATIVE)
- java.io.FileInputStream.readBytes(byte[], int, int) @bci=0 (Compiled frame; information may be imprecise)
- java.io.FileInputStream.read(byte[]) @bci=5, line=198 (Interpreted frame)
- hudson.util.StreamCopyThread.run() @bci=11, line=60 (Compiled frame)
@aheritier
aheritier / gist:6362959
Created August 28, 2013 07:06
Jenkin startup error
WARNING: Failed to instantiate. Skipping this component
com.google.inject.ProvisionException: Guice provision errors:
1) Error injecting constructor, java.lang.AssertionError: Outer class class org.jenkinsci.plugins.configfiles.maven.security.MvnServerPassword of class org.jenkinsci.plugins.configfiles.maven.security.MvnServerPassword$DescriptorImpl is not assignable to interface com.cloudbees.plugins.credentials.Credentials. Perhaps wrong outer class?
at org.jenkinsci.plugins.configfiles.maven.security.MvnServerPassword$DescriptorImpl.<init>(MvnServerPassword.java:58)
1 error
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at hudson.ExtensionFinder$GuiceFinder$4$1.get(ExtensionFinder.java:422)