java.lang.IllegalArgumentException: stream == null!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843851, 1 year ago
via Google Groups by Unknown author, 3 months ago
java.lang.IllegalArgumentException: stream == null!
at javax.imageio.stream.MemoryCacheImageInputStream.(MemoryCacheImageInputStream.java:54)
at com.sun.javafx.tk.desktop.AWTImageLoader.readImageFromStream(AWTImageLoader.java:453)
at com.sun.javafx.tk.desktop.AWTImageLoader.readImage(AWTImageLoader.java:580)
at com.sun.javafx.tk.desktop.AWTImageLoader.(AWTImageLoader.java:118)
at com.sun.javafx.tk.swing.SwingToolkit.loadImage(SwingToolkit.fx:163)
at javafx.scene.image.Image.initialize(Image.fx:288)
at javafx.scene.image.Image.postInit$(Image.fx:262)
at com.sun.javafx.runtime.FXBase.complete$(FXBase.java:57)
at com.reachfield.ui.DetailPage.printDetail(DetailPage.fx:198)
at com.reachfield.ui.DetailPage.printDetail(DetailPage.fx:198)
at com.reachfield.ui.MainForm$13.lambda(MainForm.fx:414)
at com.reachfield.ui.MainForm$13.lambda(MainForm.fx:414)
at com.reachfield.ui.MainForm$13.invoke(MainForm.fx:411)
at com.reachfield.ui.MainForm$13.invoke(MainForm.fx:411)
at com.reachfield.ui.MainForm$13.invoke(MainForm.fx:411)
at com.reachfield.ui.MainForm$13.invoke(MainForm.fx:411)
at javafx.scene.Node.impl_processMouseEvent(Node.fx:1684)
at javafx.scene.Node.preprocessMouseEvent(Node.fx:1708)
at javafx.scene.Scene$MouseHandler.process(Scene.fx:688)
at javafx.scene.Scene$MouseHandler.process(Scene.fx:573)
at javafx.scene.Scene.impl_processMouseEvent(Scene.fx:391)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.fx:519)
at com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.doMouseEvent(SwingScene.java:388)
at com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.mouseClicked(SwingScene.java:396)
at java.awt.Component.processMouseEvent(Component.java:6266)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.