ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Day, Jem BGI WAC" <Jem....@barclaysglobal.com>
Subject ANT 1.5Beta2 : Sealing Violation
Date Wed, 19 Jun 2002 18:00:48 GMT

Hi,

 I'm probably doing something really stupid but i'm encountering
 a "SecurityException : Sealing Violation" whilst trying to Junit
 tests under 1.5B2.

 My build file works fine with 1.4.1.

 I'm on Windoze using Suns 1.3 jdk.

 Any thoughts..

Jem [Log file follows....]

Buildfile: build.xml

prepare:


     [echo]     Ant Ver.    = Apache Ant version 1.5Beta2 compiled on May 31
2002
     [echo]     Java Ver.   = 1.3
     [echo]     basedir     = C:\devNet\global-xml\latest
     [echo]     src.dir     = C:\devNet\global-xml\latest/src
     [echo]     build.dir   = C:\devNet\global-xml\latest/build
     [echo]     dist.dir    = C:\devNet\global-xml\latest/dist
     [echo]     build.label = latest


test.prepare:


compile.helpers:

test.compile:


test.install:

copy.dtd:


test.dtd:

   [delete] Deleting directory
C:\devNet\global-xml\latest\build\reports\tests
    [mkdir] Created dir: C:\devNet\global-xml\latest\build\reports\tests
    [junit] Running com.bglobal.globalxml.dtd.DTDTest
    [junit] java.lang.ExceptionInInitializerError:
java.lang.SecurityException: sealing vi
olation
    [junit]     at
java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
    [junit]     at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]     at java.security.AccessController.doPrivileged(Native
Method)
    [junit]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    [junit]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    [junit]     at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    [junit]     at java.lang.ClassLoader.defineClass0(Native Method)
    [junit]     at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    [junit]     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)

    [junit]     at
java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    [junit]     at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [junit]     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]     at java.security.AccessController.doPrivileged(Native
Method)
    [junit]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    [junit]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    [junit]     at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    [junit]     at
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Do
cumentBuilderFactoryImpl.java:91)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.ge
tDocumentBuilder(XMLJUnitResultFormatter.java)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.st
artTestSuite(XMLJUnitResultFormatter.java)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireStartT
estSuite(JUnitTestRunner.java)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitT
estRunner.java)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnit
TestRunner.java)
    [junit] Exception in thread "main"

--
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