ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hélène JOANIN <Helene.Joa...@bull.net>
Subject ejbjar task fails
Date Fri, 04 Oct 2002 14:51:30 GMT
Hi,

I got a java.lang.NullPointerException when using the ejbjar task with
a XML deployment descriptor which contains a 'SYSTEM' DOCTYPE.
I work around this problem by using a 'PUBLIC' DOCTYPE.
Here is the print stack:

java.lang.NullPointerException
	at java.util.Hashtable.get(Hashtable.java:320)
	at
org.apache.tools.ant.taskdefs.optional.ejb.DescriptorHandler.resolveEntity(DescriptorHandler.java:194)
	at
org.apache.xerces.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:148)
	at
org.apache.xerces.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:595)
	at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:824)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
	at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
	at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
	at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.parseEjbFiles(GenericDeploymentTool.java:552)
	at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDescriptor(GenericDeploymentTool.java:424)
	at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java:592)
	at org.apache.tools.ant.Task.perform(Task.java:317)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:334)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
	at org.apache.tools.ant.Main.runBuild(Main.java:610)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)

Kind regards.
Hélène.
-- 
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Bull S.A, 1 rue de Provence, BP 208, 38432 Echirolles Cedex FRANCE
  mailto:Helene.Joanin@bull.net              Phone: 33.4.76.29.73.53
  Download our EJB Server JOnAS at http://www.objectweb.org

****************  WARNING: NEW e-mail address !!!   *****************

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message