Skip to main content

BPEL Validation Errors in NetBeans 5.5.1

I‘ve recently updated my production NetBeans 5.5 environment to NetBeans 5.5.1 and have been having some issues with BPEL modules.

If I create a BPEL module in NB 5.5, everything works as expected, however if I try to build the same codebase on NB 5.5.1, I get the following error.

Interestingly enough, I get the same problem with NB 6 M10

<target name="pre-dist"> 
09-Jul-2007 13:08:44  
org.netbeans.modules.bpel.project.anttasks.IDEValidateBPELProject 
loadAndValidateExistingBusinessProcess 
SEVERE: Validation has errors on /home/david/NetBeansProjects/EchoBPEL/src/EchoProcess.bpel 
Error Message -  
org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory.getSchemaSource() 
Ljavax/xml/transform/Source; 
09-Jul-2007 13:08:44  
org.netbeans.modules.bpel.project.anttasks.IDEValidateBPELProject  
loadAndValidateExistingBusinessProcess 
SEVERE:  
org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory.getSchemaSource() 
Ljavax/xml/transform/Source; 
/home/david/NetBeansProjects/EchoCompositeApp/nbproject/build-impl.xml:104:  
The following error occurred while executing this line: 
/home/david/NetBeansProjects/EchoBPEL/nbproject/build-impl.xml:155:  
java.lang.AbstractMethodError:  
org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory. 
getSchemaSource()Ljavax/xml/transform/Source; BUILD FAILED (total time: 0 seconds)

Does anyone else have this problem? The workaround I have found at the moment is to comment out the BPEL validation code in the ant script (build-impl.xml line 155) as follows:

<target name="pre-dist"> 
        <!-- Empty placeholder for easier customization. -->
  
        <!-- You can override this target in the ../build.xml file. -->
        <mkdir dir="${build.dir}"/> 
        <!-- run the validation task here. -->
<!– 
        <BpelProjectValidate buildDirectory=”${basedir}/${build.dir}” 
        sourceDirectory=”${basedir}/${src.dir}” 
        projectClassPath=”${javac.classpath}” 
        buildDependentProjectDir=”${basedir}/${build.dir}/dependentProjectFiles” 
        classpathRef=”ant.task.classpath.validation”  
        allowBuildWithError=”${allow.build.with.error}”/> 
–>

Comments