This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Critical error: Invalid Device
#6
Since it is a very rare error, when I do encounter the issue, I just close and restart the emulator. After restarting the emulator, there aren't any issues when I select a game or application.

Although the option "Unpack PBP on load" now works with encrypted EBOOT.PBP files, it should probably be listed somewhere on the README.txt that the -Xmx Size should be increased to a greater capacity (depending on the size of the EBOOT) when using this option or else the following occurs:
Code:
Exception in thread "Umd Browser - Umd Info Loader" java.lang.OutOfMemoryError: Java heap space
    at jpcsp.util.Utilities.readAsByteBuffer(Utilities.java:1901)
    at jpcsp.filesystems.umdiso.UmdIsoReader.init(UmdIsoReader.java:79)
    at jpcsp.filesystems.umdiso.UmdIsoReader.<init>(UmdIsoReader.java:56)
    at jpcsp.GUI.UmdBrowser.loadUmdInfo(UmdBrowser.java:453)
    at jpcsp.GUI.UmdBrowser.access$800(UmdBrowser.java:65)
    at jpcsp.GUI.UmdBrowser$UmdInfoLoader.run(UmdBrowser.java:802)

For example, I had to raise the -Xmx Size to 2560 MB in order for the emulator to dump the contents of Final Fantasy Type-0 Trial [Zeroshiki] into the unpacked-pbp directory.

A similar error may appear when selecting an encrypted EBOOT.PBP from the UMD Browser:
Code:
Exception in thread "GUI" java.lang.OutOfMemoryError: Java heap space
    at jpcsp.util.Utilities.readAsByteBuffer(Utilities.java:1901)
    at jpcsp.filesystems.umdiso.UmdIsoReader.init(UmdIsoReader.java:79)
    at jpcsp.filesystems.umdiso.UmdIsoReader.<init>(UmdIsoReader.java:56)
    at jpcsp.GUI.UmdBrowser.onSelectionChanged(UmdBrowser.java:524)
    at jpcsp.GUI.UmdBrowser.access$1600(UmdBrowser.java:65)
    at jpcsp.GUI.UmdBrowser$3.valueChanged(UmdBrowser.java:340)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
    at javax.swing.JTable.changeSelectionModel(Unknown Source)
    at javax.swing.JTable.changeSelection(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(Unknown Source)
    at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
    at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
Exception in thread "GUI" java.lang.OutOfMemoryError: Java heap space
    at jpcsp.util.Utilities.readAsByteBuffer(Utilities.java:1901)
    at jpcsp.filesystems.umdiso.UmdIsoReader.init(UmdIsoReader.java:79)
    at jpcsp.filesystems.umdiso.UmdIsoReader.<init>(UmdIsoReader.java:56)
    at jpcsp.GUI.UmdBrowser.onSelectionChanged(UmdBrowser.java:524)
    at jpcsp.GUI.UmdBrowser.access$1600(UmdBrowser.java:65)
    at jpcsp.GUI.UmdBrowser$3.valueChanged(UmdBrowser.java:340)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$300(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

The first error seems to occur when the -Xmx Size is never touched (UMD Browser displays a white screen and is frozen). The second error seems to occur after the -Xmx Size has changed to a lower value (I lowered the value from 2560 MB back to 1024 MB). Both cases require using the Task Manager to close the emulator.


Attached Files
.zip   Log_r7bda5b7(64bit)_INFO (1st Error).zip (Size: 1.42 KB / Downloads: 133)
.zip   Log_r7bda5b7(64bit)_INFO (Alternate Error).zip (Size: 1.75 KB / Downloads: 142)
Reply


Messages In This Thread
Critical error: Invalid Device - by DragonNeos - 12-19-2017, 11:15 AM
RE: Critical error: Invalid Device - by gid15 - 12-22-2017, 08:41 AM
RE: Critical error: Invalid Device - by gid15 - 12-23-2017, 04:20 PM
RE: Critical error: Invalid Device - by gid15 - 12-23-2017, 08:30 PM
RE: Critical error: Invalid Device - by DragonNeos - 12-23-2017, 08:45 PM
RE: Critical error: Invalid Device - by gid15 - 12-28-2017, 08:04 PM
RE: Critical error: Invalid Device - by gid15 - 01-09-2018, 06:34 PM
RE: Critical error: Invalid Device - by gid15 - 01-12-2018, 08:26 AM
RE: Critical error: Invalid Device - by gid15 - 01-15-2018, 08:04 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)