Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

java.io.NotSerializableException: com.vmware.vcloud.sdk.Task

$
0
0

Hi,

 

i've got a workflow which creates a Task and waits for it's execution using

 

trigger = System.getModule("com.vmware.library.vCloud.common").createEndOfTaskTriggerForTask(task);

 

and next a "Waiting event" Workflow Item.

 

Unfortunately the Workflow is now stuck in state "waiting-signal" and i see the following exception running through the app-server catalina.out

 

INFO: Response - <?xml version="1.0" encoding="UTF-8"?>

<Task xmlns="http://www.vmware.com/vcloud/v1.5" status="success" startTime="2014-08-07T15:25:29.853+02:00" serviceNamespace="com.vmware.vcloud" operationName="vappUpdateVm" operation="Updated Virtua

l Machine node1(f088e966-1a17-4d46-99ea-2395c3f3a618)" expiryTime="2014-11-05T15:25:29.853+01:00" endTime="2014-08-07T15:25:36.623+02:00" cancelRequested="false" name="task" id="urn:vcloud:task:c2e0

b564-d7f8-468f-b602-f9e8ee495c44" type="application/vnd.vmware.vcloud.task+xml" href="https://vcd.he.foobar.info/api/task/c2e0b564-d7f8-468f-b602-f9e8ee495c44" xmlns:xsi="http://www.w3.org/2001/XML

Schema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5http://vcd.he.foobar.info/api/v1.5/schema/master.xsd">

    <Owner type="application/vnd.vmware.vcloud.vm+xml" name="node1" href="https://vcd.he.foobar.info/api/vApp/vm-f088e966-1a17-4d46-99ea-2395c3f3a618"/>

    <User type="application/vnd.vmware.admin.user+xml" name="vco" href="https://vcd.he.foobar.info/api/admin/user/777db7f3-1f41-4934-85a4-346efd78a8c1"/>

    <Organization type="application/vnd.vmware.vcloud.org+xml" name="Production" href="https://vcd.he.foobar.info/api/org/c594d7a6-2c9b-4853-b0d0-74bdb107e23c"/>

    <Details/>

</Task>

 

 

2014-08-07 15:41:52.195+0200 [1c47251c586f3e4a7ef329bcdc4da3b9abbfa3d46eda3164d3ffd7537285b3.data] ERROR {c.becker:Wait for a task:508080808080808080808080808080809980808001266312685778e677578588f:f

f808081476970030147b0a5347a00ae} [DiskStorageFactory] Disk Write of https://vcd.he.foobar.info/api/task/c2e0b564-d7f8-468f-b602-f9e8ee495c44 failed:

java.io.NotSerializableException: com.vmware.vcloud.sdk.Task

        at java.io.ObjectOutputStream.writeObject0(Unknown Source)

        at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)

        at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)

        at net.sf.ehcache.Element.writeObject(Element.java:835)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)

        at java.io.ObjectOutputStream.writeSerialData(Unknown Source)

        at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)

        at java.io.ObjectOutputStream.writeObject0(Unknown Source)

        at java.io.ObjectOutputStream.writeObject(Unknown Source)

        at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)

        at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:405)

        at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:384)

        at net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:485)

        at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1088)

        at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1072)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Does anybody has an idea what's causing this?

 

We're using vCO 5.5.1 and the same workflow worked before on a different node with the same version - we just moved it by package export and imported it in the new installation.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>