On Wed, 26 Oct 2005, Martin Desruisseaux wrote:

Dear Martin,
below you find the stack trace.
Should I update/change my jai*jar to get them unsealed?

Thanks for you assistance,

Jens

%J. Nieschulze a ?crit :
%> maven build 
%> yields two failures
%>     [junit] [ERROR] TEST org.geotools.coverage.grid.ResampleTest FAILED
%>     [junit] [ERROR] TEST org.geotools.coverage.grid.GridCoverageTest FAILED
%
%Do you have the stack trace? It should appears in the following file:
%
%target/test-reports/TEST-org.geotools.coverage.grid.ResampleTest.txt
%
%       Thanks,
%
%               Martin.


>more TEST-org.geotools.coverage.grid.ResampleTest.txt


Testsuite: org.geotools.coverage.grid.ResampleTest
Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 3.55 sec

Testcase: testIdentity(org.geotools.coverage.grid.ResampleTest):        Caused
an ERROR
javax.imageio.spi.ImageWriterSpi: Provider
com.sun.media.imageioimpl.plugins.gif.GIFImageWriterSpi could not be
instantiated: java.lang.Se
curityException: sealing violation: package com.sun.media.imageioimpl.common is
sealed
sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi: Provider
com.sun.media.imageioimpl.plugins.gif.GIFImageWriterSpi cou
ld not be instantiated: java.lang.SecurityException: sealing violation: package
com.sun.media.imageioimpl.common is sealed
        at sun.misc.Service.fail(Service.java:120)
        at sun.misc.Service.access$200(Service.java:111)
        at sun.misc.Service$LazyIterator.next(Service.java:275)
        at
javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:174)
        at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:113)
        at
javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:134)
        at javax.imageio.ImageIO.<clinit>(ImageIO.java:46)
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)
Caused by: java.lang.SecurityException: sealing violation: package
com.sun.media.imageioimpl.common is sealed
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:225)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at
com.sun.media.imageioimpl.plugins.gif.GIFImageWriterSpi.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:306)
        at java.lang.Class.newInstance(Class.java:259)
        at sun.misc.Service$LazyIterator.next(Service.java:270)
        ... 15 more


Testcase: testCrop(org.geotools.coverage.grid.ResampleTest):    Caused an ERROR
null
java.lang.NoClassDefFoundError
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)


Testcase: testStereographic(org.geotools.coverage.grid.ResampleTest):   Caused
an ERROR
null
java.lang.NoClassDefFoundError
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)


Testcase: testAffine(org.geotools.coverage.grid.ResampleTest):  Caused an ERROR
null
java.lang.NoClassDefFoundError
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)


Testcase: testTranslation(org.geotools.coverage.grid.ResampleTest):     Caused
an ERROR
null
java.lang.NoClassDefFoundError
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)


Testcase: testSerialization(org.geotools.coverage.grid.ResampleTest):   Caused
an ERROR
null
java.lang.NoClassDefFoundError
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)

Testcase: testGridCoverage(org.geotools.coverage.grid.ResampleTest):    Caused
an ERROR
null
java.lang.NoClassDefFoundError
        at
org.geotools.coverage.grid.GridCoverageTest.getExample(GridCoverageTest.java:334)
        at org.geotools.coverage.grid.ResampleTest.setUp(ResampleTest.java:97)




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to