<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: java.lang.String cannot be cast to org.jbpm.task.utils.MarshalledContentWrapper
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/devilkazuya99">TC ONG</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/759772#759772">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Well, I did download the latest code from github master.</p><p>Import into eclipse, compile and export them.</p><p>Now I am using jbpm 5.4 snapshot and drools 5.5 snap shot.</p><p>I try to run my web application.</p><p>Oh! I need to replace all my drools/jbpm jar. ok. replace and run.</p><p>Oh! need to replace mvel2 jar too. ok. replace and run.</p><p>Oh! need to recompile my drools package. ok, recompile and...</p><blockquote class="jive-quote"><p class="p1">Exception in thread "main" java.lang.ExceptionInInitializerError</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jbpm.process.builder.dialect.java.JavaProcessDialect.&lt;clinit&gt;(<span class="s1">JavaProcessDialect.java:21</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jbpm.process.builder.dialect.ProcessDialectRegistry.&lt;clinit&gt;(<span class="s1">ProcessDialectRegistry.java:15</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jbpm.bpmn2.BPMN2ProcessProviderImpl.&lt;clinit&gt;(<span class="s1">BPMN2ProcessProviderImpl.java:31</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Class.forName0(<span class="s1">Native Method</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Class.forName(<span class="s1">Class.java:169</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.newInstance(<span class="s1">ServiceRegistryImpl.java:214</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.util.ServiceRegistryImpl$ReflectionInstantiator.call(<span class="s1">ServiceRegistryImpl.java:209</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.util.ServiceRegistryImpl.get(<span class="s1">ServiceRegistryImpl.java:164</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.compiler.BPMN2ProcessFactory.loadProvider(<span class="s1">BPMN2ProcessFactory.java:28</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.compiler.BPMN2ProcessFactory.getBPMN2ProcessProvider(<span class="s1">BPMN2ProcessFactory.java:20</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.compiler.BPMN2ProcessFactory.configurePackageBuilder(<span class="s1">BPMN2ProcessFactory.java:11</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.compiler.PackageBuilder.addKnowledgeResource(<span class="s1">PackageBuilder.java:688</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.builder.impl.KnowledgeBuilderImpl.add(<span class="s1">KnowledgeBuilderImpl.java:50</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.drools.builder.impl.KnowledgeBuilderImpl.add(<span class="s1">KnowledgeBuilderImpl.java:39</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at com.geneoz.drools.RulesEngineBuilder.buildKB(<span class="s1">RulesEngineBuilder.java:127</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at com.geneoz.drools.RulesEngineBuilder.build(<span class="s1">RulesEngineBuilder.java:94</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at com.geneoz.drools.RulesEngineBuilder.main(<span class="s1">RulesEngineBuilder.java:63</span>)</p><p class="p1">Caused by: org.mvel2.templates.TemplateError: null input stream</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.mvel2.templates.util.TemplateTools.readStream(<span class="s1">TemplateTools.java:113</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.mvel2.templates.TemplateCompiler.compileTemplate(<span class="s1">TemplateCompiler.java:414</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.mvel2.templates.TemplateCompiler.compileTemplate(<span class="s1">TemplateCompiler.java:405</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.mvel2.templates.TemplateCompiler.compileTemplate(<span class="s1">TemplateCompiler.java:401</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jbpm.process.builder.dialect.java.AbstractJavaProcessBuilder.&lt;clinit&gt;(<span class="s1">AbstractJavaProcessBuilder.java:27</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 17 more</p><p class="p2"><span class="s2">Caused by: </span><span class="s3">java.lang.NullPointerException</span></p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.mvel2.templates.util.TemplateTools.readStream(<span class="s1">TemplateTools.java:103</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 21 more</p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am going deeper and deeper into this shit.</p><p>God I had enough of surprices. <span> :(( </span> </p><p>I'll get the source for jbpm 5.3 and try to fix it manually. Hope will have some luck. </p><p>Jboss!!! WHY you release something like this!! WHYYYYY~~~~~~~!!!!! <span> :(( </span><span> :(( </span><span> :(( </span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/759772#759772">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>