Skip to main content

[JAI-IMAGEIO] Java 6 update 6 issue with JAI and webstart

7 replies [Last post]
Anonymous

I package JAI and JAI-ImageIO in a Java Webstart deployment, and now
with Java 6 update 6 I am running into the below exception that prevents
my application from loading properly. Has anyone seen this or knows of a
workaround by chance?

sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi
could not be instantiated: java.lang.SecurityException: sealing
violation: can't seal package com.sun.media.imageioimpl.plugins.jpeg:
already loaded
at sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.access$200(Unknown Source)
at sun.misc.Service$LazyIterator.next(Unknown Source)
at
javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
Source)
at javax.imageio.spi.IIORegistry.(Unknown Source)
at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at javax.imageio.ImageIO.(Unknown Source)
at
org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
at
org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
at
org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.SecurityException: sealing violation: can't seal
package com.sun.media.imageioimpl.plugins.jpeg: already loaded
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
... 20 more
sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi:
Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi
could not be instantiated: java.lang.SecurityException: sealing
violation: can't seal package com.sun.media.imageioimpl.plugins.jpeg:
already loaded
at sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.access$200(Unknown Source)
at sun.misc.Service$LazyIterator.next(Unknown Source)
at
javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
Source)
at javax.imageio.spi.IIORegistry.(Unknown Source)
at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
at javax.imageio.ImageIO.(Unknown Source)
at
org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
at
org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
at
org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.SecurityException: sealing violation: can't seal
package com.sun.media.imageioimpl.plugins.jpeg: already loaded
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
... 20 more
Exception in thread "AWT-EventQueue-0" java.lang.SecurityException:
sealing violation: can't seal package javax.media.jai: already loaded
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:63)
at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

--
Aaron Bruegl

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Burkhalter

Apparently the cause of the problem has been identified and a fix will
be in the earliest feasible upcoming update. Until then if you are
seeing this problem I suggest using an earlier update.

See this page for more information:

http://bugs.sun.com/view_bug.do?bug_id=6709297

On Jun 2, 2008, at 2:31 PM, Aaron Bruegl wrote:

> I was incorrect when I said this was fixed - it is not just an issue
> with JAI ImageIO but Java 6 update 6 and webstart use in general.
> So I have moved this discussion to the Java Forums for anyone
> interested:
>
> http://forum.java.sun.com/thread.jspa?messageID=10278778
>
>
> Aaron Bruegl wrote:
>> I can't exactly say what was wrong here, but I rebuilt all my
>> related projects all with Java 6 source/binary format, redeployed
>> and the problem went away!
>>
>> Aaron Bruegl wrote:
>>> I still can't quite figure this one out. All I am doing is
>>> directly including: jai_core.jar, jai_codec.jar, and
>>> jai_imageio.jar in my JNLP file - and 1.6.0._06 gives me this
>>> exception (I have never seen this with a previous Java release):
>>>
>>> Caused by: java.lang.ExceptionInInitializerError
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:169)
>>> at
>>> javax
>>> .media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:
>>> 216)
>>> at
>>> javax
>>> .media
>>> .jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:
>>> 352)
>>> at
>>> javax
>>> .media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
>>> at
>>> javax
>>> .media
>>> .jai
>>> .RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:
>>> 47)
>>> at
>>> javax
>>> .media
>>> .jai.OperationRegistry.initializeRegistry(OperationRegistry.java:
>>> 363)
>>> at javax.media.jai.JAI.(JAI.java:560)
>>> at javax.media.jai.TiledImage.(TiledImage.java:249)
>>> at javax.media.jai.TiledImage.(TiledImage.java:212)
>>> at javax.media.jai.TiledImage.(TiledImage.java:323)
>>> at javax.media.jai.TiledImage.(TiledImage.java:353)
>>> at
>>> net
>>> .nighthawk
>>> .ifd.client.FaxViewerClient.openFaxImages(FaxViewerClient.java:969)
>>> at net.nighthawk.ifd.client.FaxViewerClient.access
>>> $800(FaxViewerClient.java:97)
>>> at net.nighthawk.ifd.client.FaxViewerClient
>>> $OpenFaxWorker.doInBackground(FaxViewerClient.java:1301)
>>> at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:
>>> 303)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>> at javax.swing.SwingWorker.run(SwingWorker.java:317)
>>> at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.runTask(ThreadPoolExecutor.java:885)
>>> at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.run(ThreadPoolExecutor.java:907)
>>> at java.lang.Thread.run(Thread.java:619)
>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>> seal package com.sun.media.jai.codec: already loaded
>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
>>> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>> at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:
>>> 256)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:169)
>>> at javax.media.jai.operator.BMPDescriptor.class$
>>> (BMPDescriptor.java:86)
>>> at
>>> javax.media.jai.operator.BMPDescriptor.(BMPDescriptor.java:
>>> 85)
>>> ... 22 more
>>>
>>> I'm going to keep trying to see if there is a workaround....
>>>
>>> Aaron Bruegl wrote:
>>>> I package JAI and JAI-ImageIO in a Java Webstart deployment, and
>>>> now with Java 6 update 6 I am running into the below exception
>>>> that prevents my application from loading properly. Has anyone
>>>> seen this or knows of a workaround by chance?
>>>>
>>>>
>>>> sun.misc.ServiceConfigurationError:
>>>> javax.imageio.spi.ImageWriterSpi: Provider
>>>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi
>>>> could not be instantiated: java.lang.SecurityException: sealing
>>>> violation: can't seal package
>>>> com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at sun.misc.Service.fail(Unknown Source)
>>>> at sun.misc.Service.access$200(Unknown Source)
>>>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>>>> at
>>>> javax
>>>> .imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>>>> Source)
>>>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>>>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown
>>>> Source)
>>>> at javax.imageio.ImageIO.(Unknown Source)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .painter
>>>> .decoration
>>>> .BrushedMetalDecorationPainter
>>>> .(BrushedMetalDecorationPainter.java:69)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:
>>>> 111)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .skin
>>>> .SubstanceOfficeBlue2007LookAndFeel
>>>> .initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>>> seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> ... 20 more
>>>> sun.misc.ServiceConfigurationError:
>>>> javax.imageio.spi.ImageReaderSpi: Provider
>>>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi
>>>> could not be instantiated: java.lang.SecurityException: sealing
>>>> violation: can't seal package
>>>> com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at sun.misc.Service.fail(Unknown Source)
>>>> at sun.misc.Service.access$200(Unknown Source)
>>>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>>>> at
>>>> javax
>>>> .imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>>>> Source)
>>>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>>>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown
>>>> Source)
>>>> at javax.imageio.ImageIO.(Unknown Source)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .painter
>>>> .decoration
>>>> .BrushedMetalDecorationPainter
>>>> .(BrushedMetalDecorationPainter.java:69)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:
>>>> 111)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .skin
>>>> .SubstanceOfficeBlue2007LookAndFeel
>>>> .initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>>> seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> ... 20 more
>>>> Exception in thread "AWT-EventQueue-0"
>>>> java.lang.SecurityException: sealing violation: can't seal
>>>> package javax.media.jai: already loaded
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>> at java.security.SecureClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:63)
>>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-
> imageio.dev.java.net
>

>^..^< >^..^<

Brian Burkhalter
Java Imaging and Video
Sun Microsystems, Inc.

This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

bpb
Offline
Joined: 2004-06-23
Points: 0

Internal information indicates that the problem was introduced in the fix for this bug

http://bugs.sun.com/view_bug.do?bug_id=6595845

> Apparently the cause of the problem has been
> identified and a fix will
> be in the earliest feasible upcoming update. Until
> then if you are
> seeing this problem I suggest using an earlier
> update.
>
> See this page for more information:
>
> http://bugs.sun.com/view_bug.do?bug_id=6709297
>
> On Jun 2, 2008, at 2:31 PM, Aaron Bruegl wrote:
>
> > I was incorrect when I said this was fixed - it is
> not just an issue
> > with JAI ImageIO but Java 6 update 6 and webstart
> use in general.
> > So I have moved this discussion to the Java Forums
> for anyone
> > interested:
> >
> >
> http://forum.java.sun.com/thread.jspa?messageID=102787
> 78

mohamed5432154321
Offline
Joined: 2009-04-01
Points: 0

It has been a year now!

I am still having this problem!!

WTF!?

How can I compile with older JVM versions?

Aaron Bruegl

I still can't quite figure this one out. All I am doing is directly
including: jai_core.jar, jai_codec.jar, and jai_imageio.jar in my JNLP
file - and 1.6.0._06 gives me this exception (I have never seen this
with a previous Java release):

Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
javax.media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:216)
at
javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:352)
at
javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
at
javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:47)
at
javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
at javax.media.jai.JAI.(JAI.java:560)
at javax.media.jai.TiledImage.(TiledImage.java:249)
at javax.media.jai.TiledImage.(TiledImage.java:212)
at javax.media.jai.TiledImage.(TiledImage.java:323)
at javax.media.jai.TiledImage.(TiledImage.java:353)
at
net.nighthawk.ifd.client.FaxViewerClient.openFaxImages(FaxViewerClient.java:969)
at
net.nighthawk.ifd.client.FaxViewerClient.access$800(FaxViewerClient.java:97)
at
net.nighthawk.ifd.client.FaxViewerClient$OpenFaxWorker.doInBackground(FaxViewerClient.java:1301)
at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:317)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.SecurityException: sealing violation: can't seal
package com.sun.media.jai.codec: already loaded
at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:256)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.jai.operator.BMPDescriptor.class$(BMPDescriptor.java:86)
at
javax.media.jai.operator.BMPDescriptor.(BMPDescriptor.java:85)
... 22 more

I'm going to keep trying to see if there is a workaround....

Aaron Bruegl wrote:
> I package JAI and JAI-ImageIO in a Java Webstart deployment, and now
> with Java 6 update 6 I am running into the below exception that
> prevents my application from loading properly. Has anyone seen this or
> knows of a workaround by chance?
>
>
> sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
> Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi
> could not be instantiated: java.lang.SecurityException: sealing
> violation: can't seal package com.sun.media.imageioimpl.plugins.jpeg:
> already loaded
> at sun.misc.Service.fail(Unknown Source)
> at sun.misc.Service.access$200(Unknown Source)
> at sun.misc.Service$LazyIterator.next(Unknown Source)
> at
> javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
> Source)
> at javax.imageio.spi.IIORegistry.(Unknown Source)
> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
> at javax.imageio.ImageIO.(Unknown Source)
> at
> org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
>
> at
> org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
>
> at
> org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>
> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.SecurityException: sealing violation: can't seal
> package com.sun.media.imageioimpl.plugins.jpeg: already loaded
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$000(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> ... 20 more
> sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi:
> Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi
> could not be instantiated: java.lang.SecurityException: sealing
> violation: can't seal package com.sun.media.imageioimpl.plugins.jpeg:
> already loaded
> at sun.misc.Service.fail(Unknown Source)
> at sun.misc.Service.access$200(Unknown Source)
> at sun.misc.Service$LazyIterator.next(Unknown Source)
> at
> javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
> Source)
> at javax.imageio.spi.IIORegistry.(Unknown Source)
> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
> at javax.imageio.ImageIO.(Unknown Source)
> at
> org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
>
> at
> org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
>
> at
> org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>
> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.SecurityException: sealing violation: can't seal
> package com.sun.media.imageioimpl.plugins.jpeg: already loaded
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$000(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> ... 20 more
> Exception in thread "AWT-EventQueue-0" java.lang.SecurityException:
> sealing violation: can't seal package javax.media.jai: already loaded
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$000(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$000(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:63)
> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
>

--
Aaron Bruegl
414.220.4295 x8306 [office]
8306 [IP Phone]
1.208.415.0506 [External IP Phone]

Software Engineer II
NightHawk Radiology Services
215 N. Water St.
Suite 500
Milwaukee, WI 53202

CONFIDENTIALITY NOTICE: This email, including any attachments, contains information from NightHawk Radiology Services, which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify NightHawk Radiology Services immediately by forwarding message to abruegl@nighthawkrad.net and destroy all electronic and hard copies of the communication, including attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

I can't exactly say what was wrong here, but I rebuilt all my related
projects all with Java 6 source/binary format, redeployed and the
problem went away!

Aaron Bruegl wrote:
> I still can't quite figure this one out. All I am doing is directly
> including: jai_core.jar, jai_codec.jar, and jai_imageio.jar in my JNLP
> file - and 1.6.0._06 gives me this exception (I have never seen this
> with a previous Java release):
>
> Caused by: java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
> at
> javax.media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:216)
>
> at
> javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:352)
>
> at
> javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
> at
> javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:47)
>
> at
> javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
>
> at javax.media.jai.JAI.(JAI.java:560)
> at javax.media.jai.TiledImage.(TiledImage.java:249)
> at javax.media.jai.TiledImage.(TiledImage.java:212)
> at javax.media.jai.TiledImage.(TiledImage.java:323)
> at javax.media.jai.TiledImage.(TiledImage.java:353)
> at
> net.nighthawk.ifd.client.FaxViewerClient.openFaxImages(FaxViewerClient.java:969)
>
> at
> net.nighthawk.ifd.client.FaxViewerClient.access$800(FaxViewerClient.java:97)
>
> at
> net.nighthawk.ifd.client.FaxViewerClient$OpenFaxWorker.doInBackground(FaxViewerClient.java:1301)
>
> at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at javax.swing.SwingWorker.run(SwingWorker.java:317)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.SecurityException: sealing violation: can't seal
> package com.sun.media.jai.codec: already loaded
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:256)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
> at
> javax.media.jai.operator.BMPDescriptor.class$(BMPDescriptor.java:86)
> at
> javax.media.jai.operator.BMPDescriptor.(BMPDescriptor.java:85)
> ... 22 more
>
> I'm going to keep trying to see if there is a workaround....
>
> Aaron Bruegl wrote:
>> I package JAI and JAI-ImageIO in a Java Webstart deployment, and now
>> with Java 6 update 6 I am running into the below exception that
>> prevents my application from loading properly. Has anyone seen this
>> or knows of a workaround by chance?
>>
>>
>> sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
>> Provider
>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi could
>> not be instantiated: java.lang.SecurityException: sealing violation:
>> can't seal package com.sun.media.imageioimpl.plugins.jpeg: already
>> loaded
>> at sun.misc.Service.fail(Unknown Source)
>> at sun.misc.Service.access$200(Unknown Source)
>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>> at
>> javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>> Source)
>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
>> at javax.imageio.ImageIO.(Unknown Source)
>> at
>> org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
>>
>> at
>> org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
>>
>> at
>> org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>
>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>> Caused by: java.lang.SecurityException: sealing violation: can't seal
>> package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>> at java.net.URLClassLoader.defineClass(Unknown Source)
>> at java.net.URLClassLoader.access$000(Unknown Source)
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> ... 20 more
>> sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi:
>> Provider
>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi could
>> not be instantiated: java.lang.SecurityException: sealing violation:
>> can't seal package com.sun.media.imageioimpl.plugins.jpeg: already
>> loaded
>> at sun.misc.Service.fail(Unknown Source)
>> at sun.misc.Service.access$200(Unknown Source)
>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>> at
>> javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>> Source)
>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
>> at javax.imageio.ImageIO.(Unknown Source)
>> at
>> org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
>>
>> at
>> org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
>>
>> at
>> org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>
>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>> Caused by: java.lang.SecurityException: sealing violation: can't seal
>> package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>> at java.net.URLClassLoader.defineClass(Unknown Source)
>> at java.net.URLClassLoader.access$000(Unknown Source)
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> ... 20 more
>> Exception in thread "AWT-EventQueue-0" java.lang.SecurityException:
>> sealing violation: can't seal package javax.media.jai: already loaded
>> at java.net.URLClassLoader.defineClass(Unknown Source)
>> at java.net.URLClassLoader.access$000(Unknown Source)
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(Unknown Source)
>> at java.security.SecureClassLoader.defineClass(Unknown Source)
>> at java.net.URLClassLoader.defineClass(Unknown Source)
>> at java.net.URLClassLoader.access$000(Unknown Source)
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:63)
>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> at java.awt.EventDispatchThread.run(Unknown Source)
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Aaron Bruegl

I was incorrect when I said this was fixed - it is not just an issue
with JAI ImageIO but Java 6 update 6 and webstart use in general. So I
have moved this discussion to the Java Forums for anyone interested:

http://forum.java.sun.com/thread.jspa?messageID=10278778

Aaron Bruegl wrote:
> I can't exactly say what was wrong here, but I rebuilt all my related
> projects all with Java 6 source/binary format, redeployed and the
> problem went away!
>
> Aaron Bruegl wrote:
>> I still can't quite figure this one out. All I am doing is directly
>> including: jai_core.jar, jai_codec.jar, and jai_imageio.jar in my
>> JNLP file - and 1.6.0._06 gives me this exception (I have never seen
>> this with a previous Java release):
>>
>> Caused by: java.lang.ExceptionInInitializerError
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:169)
>> at
>> javax.media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:216)
>>
>> at
>> javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:352)
>>
>> at
>> javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
>>
>> at
>> javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:47)
>>
>> at
>> javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
>>
>> at javax.media.jai.JAI.(JAI.java:560)
>> at javax.media.jai.TiledImage.(TiledImage.java:249)
>> at javax.media.jai.TiledImage.(TiledImage.java:212)
>> at javax.media.jai.TiledImage.(TiledImage.java:323)
>> at javax.media.jai.TiledImage.(TiledImage.java:353)
>> at
>> net.nighthawk.ifd.client.FaxViewerClient.openFaxImages(FaxViewerClient.java:969)
>>
>> at
>> net.nighthawk.ifd.client.FaxViewerClient.access$800(FaxViewerClient.java:97)
>>
>> at
>> net.nighthawk.ifd.client.FaxViewerClient$OpenFaxWorker.doInBackground(FaxViewerClient.java:1301)
>>
>> at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> at javax.swing.SwingWorker.run(SwingWorker.java:317)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
>>
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.SecurityException: sealing violation: can't seal
>> package com.sun.media.jai.codec: already loaded
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
>> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:256)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:169)
>> at
>> javax.media.jai.operator.BMPDescriptor.class$(BMPDescriptor.java:86)
>> at
>> javax.media.jai.operator.BMPDescriptor.(BMPDescriptor.java:85)
>> ... 22 more
>>
>> I'm going to keep trying to see if there is a workaround....
>>
>> Aaron Bruegl wrote:
>>> I package JAI and JAI-ImageIO in a Java Webstart deployment, and now
>>> with Java 6 update 6 I am running into the below exception that
>>> prevents my application from loading properly. Has anyone seen this
>>> or knows of a workaround by chance?
>>>
>>>
>>> sun.misc.ServiceConfigurationError:
>>> javax.imageio.spi.ImageWriterSpi: Provider
>>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi could
>>> not be instantiated: java.lang.SecurityException: sealing violation:
>>> can't seal package com.sun.media.imageioimpl.plugins.jpeg: already
>>> loaded
>>> at sun.misc.Service.fail(Unknown Source)
>>> at sun.misc.Service.access$200(Unknown Source)
>>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>>> at
>>> javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>>> Source)
>>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
>>> at javax.imageio.ImageIO.(Unknown Source)
>>> at
>>> org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
>>>
>>> at
>>> org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
>>>
>>> at
>>> org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>>
>>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>> seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> ... 20 more
>>> sun.misc.ServiceConfigurationError:
>>> javax.imageio.spi.ImageReaderSpi: Provider
>>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi could
>>> not be instantiated: java.lang.SecurityException: sealing violation:
>>> can't seal package com.sun.media.imageioimpl.plugins.jpeg: already
>>> loaded
>>> at sun.misc.Service.fail(Unknown Source)
>>> at sun.misc.Service.access$200(Unknown Source)
>>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>>> at
>>> javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>>> Source)
>>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
>>> at javax.imageio.ImageIO.(Unknown Source)
>>> at
>>> org.jvnet.substance.painter.decoration.BrushedMetalDecorationPainter.(BrushedMetalDecorationPainter.java:69)
>>>
>>> at
>>> org.jvnet.substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:111)
>>>
>>> at
>>> org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel.initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>>
>>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>> seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> ... 20 more
>>> Exception in thread "AWT-EventQueue-0" java.lang.SecurityException:
>>> sealing violation: can't seal package javax.media.jai: already loaded
>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>> at java.security.SecureClassLoader.defineClass(Unknown Source)
>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:63)
>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>> Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

Brian Burkhalter

This issue has been recognized internally and is being looked into by
the JVM deployment team. It is apparently a problem with security
changes recently introduced. If the jars are not sealed the problem
goes away.

Brian

On Jun 2, 2008, at 2:31 PM, Aaron Bruegl wrote:

> I was incorrect when I said this was fixed - it is not just an issue
> with JAI ImageIO but Java 6 update 6 and webstart use in general.
> So I have moved this discussion to the Java Forums for anyone
> interested:
>
> http://forum.java.sun.com/thread.jspa?messageID=10278778
>
>
> Aaron Bruegl wrote:
>> I can't exactly say what was wrong here, but I rebuilt all my
>> related projects all with Java 6 source/binary format, redeployed
>> and the problem went away!
>>
>> Aaron Bruegl wrote:
>>> I still can't quite figure this one out. All I am doing is
>>> directly including: jai_core.jar, jai_codec.jar, and
>>> jai_imageio.jar in my JNLP file - and 1.6.0._06 gives me this
>>> exception (I have never seen this with a previous Java release):
>>>
>>> Caused by: java.lang.ExceptionInInitializerError
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:169)
>>> at
>>> javax
>>> .media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:
>>> 216)
>>> at
>>> javax
>>> .media
>>> .jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:
>>> 352)
>>> at
>>> javax
>>> .media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
>>> at
>>> javax
>>> .media
>>> .jai
>>> .RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:
>>> 47)
>>> at
>>> javax
>>> .media
>>> .jai.OperationRegistry.initializeRegistry(OperationRegistry.java:
>>> 363)
>>> at javax.media.jai.JAI.(JAI.java:560)
>>> at javax.media.jai.TiledImage.(TiledImage.java:249)
>>> at javax.media.jai.TiledImage.(TiledImage.java:212)
>>> at javax.media.jai.TiledImage.(TiledImage.java:323)
>>> at javax.media.jai.TiledImage.(TiledImage.java:353)
>>> at
>>> net
>>> .nighthawk
>>> .ifd.client.FaxViewerClient.openFaxImages(FaxViewerClient.java:969)
>>> at net.nighthawk.ifd.client.FaxViewerClient.access
>>> $800(FaxViewerClient.java:97)
>>> at net.nighthawk.ifd.client.FaxViewerClient
>>> $OpenFaxWorker.doInBackground(FaxViewerClient.java:1301)
>>> at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:
>>> 303)
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>> at javax.swing.SwingWorker.run(SwingWorker.java:317)
>>> at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.runTask(ThreadPoolExecutor.java:885)
>>> at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.run(ThreadPoolExecutor.java:907)
>>> at java.lang.Thread.run(Thread.java:619)
>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>> seal package com.sun.media.jai.codec: already loaded
>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
>>> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>> at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:
>>> 256)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:169)
>>> at javax.media.jai.operator.BMPDescriptor.class$
>>> (BMPDescriptor.java:86)
>>> at
>>> javax.media.jai.operator.BMPDescriptor.(BMPDescriptor.java:
>>> 85)
>>> ... 22 more
>>>
>>> I'm going to keep trying to see if there is a workaround....
>>>
>>> Aaron Bruegl wrote:
>>>> I package JAI and JAI-ImageIO in a Java Webstart deployment, and
>>>> now with Java 6 update 6 I am running into the below exception
>>>> that prevents my application from loading properly. Has anyone
>>>> seen this or knows of a workaround by chance?
>>>>
>>>>
>>>> sun.misc.ServiceConfigurationError:
>>>> javax.imageio.spi.ImageWriterSpi: Provider
>>>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi
>>>> could not be instantiated: java.lang.SecurityException: sealing
>>>> violation: can't seal package
>>>> com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at sun.misc.Service.fail(Unknown Source)
>>>> at sun.misc.Service.access$200(Unknown Source)
>>>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>>>> at
>>>> javax
>>>> .imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>>>> Source)
>>>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>>>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown
>>>> Source)
>>>> at javax.imageio.ImageIO.(Unknown Source)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .painter
>>>> .decoration
>>>> .BrushedMetalDecorationPainter
>>>> .(BrushedMetalDecorationPainter.java:69)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:
>>>> 111)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .skin
>>>> .SubstanceOfficeBlue2007LookAndFeel
>>>> .initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>>> seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> ... 20 more
>>>> sun.misc.ServiceConfigurationError:
>>>> javax.imageio.spi.ImageReaderSpi: Provider
>>>> com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi
>>>> could not be instantiated: java.lang.SecurityException: sealing
>>>> violation: can't seal package
>>>> com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at sun.misc.Service.fail(Unknown Source)
>>>> at sun.misc.Service.access$200(Unknown Source)
>>>> at sun.misc.Service$LazyIterator.next(Unknown Source)
>>>> at
>>>> javax
>>>> .imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown
>>>> Source)
>>>> at javax.imageio.spi.IIORegistry.(Unknown Source)
>>>> at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown
>>>> Source)
>>>> at javax.imageio.ImageIO.(Unknown Source)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .painter
>>>> .decoration
>>>> .BrushedMetalDecorationPainter
>>>> .(BrushedMetalDecorationPainter.java:69)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance.skin.OfficeBlue2007Skin.(OfficeBlue2007Skin.java:
>>>> 111)
>>>> at
>>>> org
>>>> .jvnet
>>>> .substance
>>>> .skin
>>>> .SubstanceOfficeBlue2007LookAndFeel
>>>> .initialize(SubstanceOfficeBlue2007LookAndFeel.java:75)
>>>> at javax.swing.UIManager.setLookAndFeel(Unknown Source)
>>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:53)
>>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>> Caused by: java.lang.SecurityException: sealing violation: can't
>>>> seal package com.sun.media.imageioimpl.plugins.jpeg: already loaded
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> ... 20 more
>>>> Exception in thread "AWT-EventQueue-0"
>>>> java.lang.SecurityException: sealing violation: can't seal
>>>> package javax.media.jai: already loaded
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>>> at java.security.SecureClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.defineClass(Unknown Source)
>>>> at java.net.URLClassLoader.access$000(Unknown Source)
>>>> at java.net.URLClassLoader$1.run(Unknown Source)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(Unknown Source)
>>>> at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at net.nighthawk.ifd.client.Main.createAndShowGUI(Main.java:63)
>>>> at net.nighthawk.ifd.client.Main.access$000(Main.java:30)
>>>> at net.nighthawk.ifd.client.Main$1.run(Main.java:85)
>>>> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>>>> at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>>> Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> at java.awt.EventDispatchThread.run(Unknown Source)
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
>> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-
> imageio.dev.java.net
>

>^..^< >^..^<

Brian Burkhalter
Java Imaging and Video
Sun Microsystems, Inc.

This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net