History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2505
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Robin Shen
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

com.caucho.hessian.io.HessianProtocolException: ' ' is an unknown code

Created: 14/Aug/15 06:23 AM   Updated: 24/Jun/16 12:21 AM
Component/s: None
Affects Version/s: 6.0.24
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
During QB checkout step the following error occurred:

21:26:19,424 ERROR - Step 'master>checkout>checkout-qb-native-windows-x86-64' is failed.
    com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: ' ' is an unknown code
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:226)
        at com.sun.proxy.$Proxy22.queryUniqueResult(Unknown Source)
        at com.pmease.quickbuild.persistence.AgentQueryCarrier.invoke(AgentQueryCarrier.java:59)
        at com.sun.proxy.$Proxy21.uniqueResult(Unknown Source)
        at com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager.getPrevious(DefaultBuildManager.java:130)
        at com.pmease.quickbuild.persistence.SessionInterceptor.invoke(SessionInterceptor.java:49)
        at com.pmease.quickbuild.model.Build.getPrevious(Build.java:869)
        at com.pmease.quickbuild.model.Build.getChangeBase(Build.java:1284)
        at com.pmease.quickbuild.repositorysupport.Repository.getChanges(Repository.java:401)
        at com.pmease.quickbuild.dependency.QuickbuildRepository$$EnhancerByCGLIB$$ba76d9e9.CGLIB$getChanges$57(<generated>)
        at com.pmease.quickbuild.dependency.QuickbuildRepository$$EnhancerByCGLIB$$ba76d9e9$$FastClassByCGLIB$$876dcbb6.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:273)
        at com.pmease.quickbuild.dependency.QuickbuildRepository$$EnhancerByCGLIB$$ba76d9e9.getChanges(<generated>)
        at com.pmease.quickbuild.repositorysupport.Repository.getChanges(Repository.java:375)
        at com.pmease.quickbuild.dependency.QuickbuildRepository$$EnhancerByCGLIB$$ba76d9e9.CGLIB$getChanges$56(<generated>)
        at com.pmease.quickbuild.dependency.QuickbuildRepository$$EnhancerByCGLIB$$ba76d9e9$$FastClassByCGLIB$$876dcbb6.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:273)
        at com.pmease.quickbuild.dependency.QuickbuildRepository$$EnhancerByCGLIB$$ba76d9e9.getChanges(<generated>)
        at com.pmease.quickbuild.repositorysupport.CheckoutStep.run(CheckoutStep.java:74)
        at com.pmease.quickbuild.repositorysupport.CheckoutStep$$EnhancerByCGLIB$$15bf5712.CGLIB$run$0(<generated>)
        at com.pmease.quickbuild.repositorysupport.CheckoutStep$$EnhancerByCGLIB$$15bf5712$$FastClassByCGLIB$$1f1537df.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:273)
        at com.pmease.quickbuild.repositorysupport.CheckoutStep$$EnhancerByCGLIB$$15bf5712.run(<generated>)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:539)
        at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:30)
        at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:45)
        at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:60)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:106)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        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)
    Caused by: com.caucho.hessian.io.HessianProtocolException: ' ' is an unknown code
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:224)
        ... 35 more

Can you please check the code. Maybe there is some explanation what's that about.

Thank you.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [14/Aug/15 10:33 PM]
Is this happening intermittently? Typically this happens when there are connection issue between server and agent, either caused by real networking issues, or server overloads.

AlSt [26/Aug/15 07:43 AM]
It happens on different machines, but it seems that this occurs only sporadically. If it get's worse I'll come back to you.

Robin Shen [27/Aug/15 12:18 AM]
Other customers encounter this issue recently, and it turns out that they are using JDK 1.8 which is not supported by QB yet as some key libraries used by QB is not supporting JDK 1.8.

Erki Männiste [19/Jan/16 11:39 AM]
Hi. Is there any update on this issue? We are currently planning to upgrade our QB version, but finding it hard to test.
We are also targeting java upgrade from 7 > 8

AlSt [19/Jan/16 11:56 AM]
The interesting thing is we do not use Java 8 yet. But we also plan do upgrade to Java 8 as Robin said here: http://forum.pmease.com/viewtopic.php?f=1&t=3461&p=13104&hilit=java8#p14434 that java 8 is now officially supported.

Robin Shen [20/Jan/16 12:47 AM]
If you still experience this issue after upgrading to Java8, please let me know.

AlSt [23/Jun/16 10:30 AM]
I commented on http://track.pmease.com/browse/QB-2679. I think this issue could be closed as duplicate.