javaee / jaxb-verification

JAXB has been contributed to Eclipse Foundation. Please click the link below to access the current project
https://github.com/jakartaee/jaxb-api
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

NullPointerException with -Xverification #1

Open glassfishrobot opened 19 years ago

glassfishrobot commented 19 years ago

when i run ant on build_configuration_test.xml the following trace is displayed in my dos windows :

Buildfile: build_configuration_test.xml

compile: Compiling the schema... Compiling file:/D:/javadev/jaxb/jobs/xml/configuration_test.xsd Writing output to D:\javadev\jaxb\jobs\gen-src

BUILD FAILED D:\javadev\jaxb\jobs\xml\build_configuration_test.xml:32: java.lang.NullPointerException


the line number 32 corresponds to the beginning of the following instruction of build_configuration_test.xml :

<xjc schema="configuration_test.xsd" package="meteorage.jobs.params.configuration" target="../gen-src">

here is the content of build_configuration_test.xml :

<?xml version="1.0" standalone="yes"?>

This sample application demonstrates how to modify a java content tree and marshal it back to XML data.

the xsd file looks as follows :

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:extensionBindingPrefixes="xjc" jaxb:version="1.0">

#### Environment Operating System: Windows XP Platform: PC #### Affected Versions [current]
glassfishrobot commented 19 years ago

Reported by jeanmarie64

glassfishrobot commented 19 years ago

Was assigned to jaxb-verification-issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAXB_VERIFICATION-1