ExtensibleXmlParser error : cvc-complex-type.4: Attribute 'scriptFormat' must appear on element 'drools:onEntry-script' in BPM Suite

Solution Verified - Updated -

Issue

The following error message shows in the kie logs:

ERROR ExtensibleXmlParser:666 - (null: 18, 32): cvc-complex-type.4: Attribute 'scriptFormat' must appear on element 'drools:onEntry-script'.

when executing the following code:

     KieServices ks = KieServices.Factory.get();
     KieContainer kContainer = ks.getKieClasspathContainer();
     kSession = kContainer.newKieSession("my-process");
     kBase = kContainer.getKieBase();
     kSession.startProcess("myprocess_name");

Environment

  • JBoss BPM Suite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.