JDK-6796697 : JavaFX Application crashes with Java Kernel.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u12
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86
  • Submitted: 2009-01-22
  • Updated: 2014-11-18
  • Resolved: 2009-01-22
Related Reports
Duplicate :  
Duplicate :  
Description
DisplayShelf sample from b03 crashes when running with 6u12. Where as it is working fine with Normal JRE.
 
java.lang.ExceptionInInitializerError
        at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(
Unknown Source)
        at javax.imageio.spi.ImageReaderSpi.createReaderInstance(Unknown Source)

        at javax.imageio.ImageIO$ImageReaderIterator.next(Unknown Source)
        at javax.imageio.ImageIO$ImageReaderIterator.next(Unknown Source)
        at com.sun.javafx.scene.image.ImageLoader.findImageReader(ImageLoader.ja
va:408)
        at com.sun.javafx.scene.image.ImageLoader.readImageFromStream(ImageLoade
r.java:434)
        at com.sun.javafx.scene.image.ImageLoader.readImage(ImageLoader.java:525
)
        at com.sun.javafx.scene.image.ImageLoader.<init>(ImageLoader.java:116)
        at javafx.scene.image.Image.initialize$impl(Image.fx:283)
        at javafx.scene.image.Image.initialize(Image.fx:103)
        at javafx.scene.image.Image.postInit$(Image.fx:261)
        at javafx.scene.image.Image.initialize$(Image.fx:103)
        at displayshelf.Main$9$1$1.computeValue(Main.fx:68)
        at displayshelf.Main$9$1$1.computeValue(Main.fx:68)
        at com.sun.javafx.runtime.location.ObjectVariable.update(ObjectVariable.
java:142)
        at com.sun.javafx.runtime.location.AbstractVariable.bind(AbstractVariabl
e.java:118)
        at com.sun.javafx.runtime.location.ObjectVariable.<init>(ObjectVariable.
java:91)
        at com.sun.javafx.runtime.location.ObjectVariable.make(ObjectVariable.ja
va:66)
        at displayshelf.Main$9$1.<init>(Main.fx:65)
        at displayshelf.Main$9.computeElements$(Main.fx:65)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.makeState(
AbstractBoundComprehension.java:110)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.fillInNewV
alues(AbstractBoundComprehension.java:97)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.computeVal
ue(AbstractBoundComprehension.java:88)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.<init>(Abs
tractBoundComprehension.java:56)
        at com.sun.javafx.runtime.sequence.ObjectBoundComprehension.<init>(Objec
tBoundComprehension.java:40)
        at displayshelf.Main$9.<init>(Main.fx:64)
        at displayshelf.Main.javafx$run$(Main.fx:64)
Caused by: java.lang.IllegalArgumentException: Can't load standard profile: GRAY
.pf
        at java.awt.color.ICC_Profile$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.color.ICC_Profile.getStandardProfile(Unknown Source)
        at java.awt.color.ICC_Profile.getInstance(Unknown Source)
        at java.awt.color.ColorSpace.getInstance(Unknown Source)
        at javax.imageio.ImageTypeSpecifier$Grayscale.<init>(Unknown Source)
        at javax.imageio.ImageTypeSpecifier.createGrayscale(Unknown Source)
        at javax.imageio.ImageTypeSpecifier.createSpecifier(Unknown Source)
        at javax.imageio.ImageTypeSpecifier.getSpecifier(Unknown Source)
        at javax.imageio.ImageTypeSpecifier.createFromBufferedImageType(Unknown
Source)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.<clinit>(Unknown Source)

        at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(
Unknown Source)
        at javax.imageio.spi.ImageReaderSpi.createReaderInstance(Unknown Source)

        at javax.imageio.ImageIO$ImageReaderIterator.next(Unknown Source)
        at javax.imageio.ImageIO$ImageReaderIterator.next(Unknown Source)
        at com.sun.javafx.scene.image.ImageLoader.findImageReader(ImageLoader.ja
va:408)
        at com.sun.javafx.scene.image.ImageLoader.readImageFromStream(ImageLoade
r.java:434)
        at com.sun.javafx.scene.image.ImageLoader.readImage(ImageLoader.java:525
)
        at com.sun.javafx.scene.image.ImageLoader.<init>(ImageLoader.java:116)
        at javafx.scene.image.Image.initialize$impl(Image.fx:283)
        at javafx.scene.image.Image.initialize(Image.fx:103)
        at javafx.scene.image.Image.postInit$(Image.fx:261)
        at javafx.scene.image.Image.initialize$(Image.fx:103)
        at displayshelf.Main$9$1$1.computeValue(Main.fx:68)
        at displayshelf.Main$9$1$1.computeValue(Main.fx:68)
        at com.sun.javafx.runtime.location.ObjectVariable.update(ObjectVariable.
java:142)
        at com.sun.javafx.runtime.location.AbstractVariable.bind(AbstractVariabl
e.java:118)
        at com.sun.javafx.runtime.location.ObjectVariable.<init>(ObjectVariable.
java:91)
        at com.sun.javafx.runtime.location.ObjectVariable.make(ObjectVariable.ja
va:66)
        at displayshelf.Main$9$1.<init>(Main.fx:65)
        at displayshelf.Main$9.computeElements$(Main.fx:65)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.makeState(
AbstractBoundComprehension.java:110)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.fillInNewV
alues(AbstractBoundComprehension.java:97)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.computeVal
ue(AbstractBoundComprehension.java:88)
        at com.sun.javafx.runtime.sequence.AbstractBoundComprehension.<init>(Abs
tractBoundComprehension.java:56)
        at com.sun.javafx.runtime.sequence.ObjectBoundComprehension.<init>(Objec
tBoundComprehension.java:40)
        at displayshelf.Main$9.<init>(Main.fx:64)
        at displayshelf.Main.javafx$run$(Main.fx:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javafx.runtime.provider.AWT_EDT_RuntimeProvider$1.run(AWT_EDT
_RuntimeProvider.java:104)
        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)