mcRPW / rpw

Resource Pack Workbench, Minecraft resource pack editor
http://mcrpw.github.io
Other
104 stars 41 forks source link

Crash on attempting to edit model #142

Closed mn200 closed 6 years ago

mn200 commented 6 years ago

What happened?

Got crash dialog (as below)

Steps to reproduce:

Attempt to edit model (of diamond_horse_armor). Log below is with "custom model editor" turned off; had similar with c:\...path...\Blockbench_1.10.3.exe as editor.

Crash report (if any)

RPW 4.5.2 CRASH REPORT

Please, report this issue on GitHub (use the button below). If possible, include THIS WHOLE LOG in the report.

Alternatively, you can send this log to MightyPork. E-mail: ondra@ondrovo.com

SYSTEM INFO

Key Value
Runtime name Java(TM) SE Runtime Environment
Java version 1.8.0_162
Java vendor Oracle Corporation
Java path c:\Program Files\Java\jre1.8.0_162
OS name Windows 10
OS arch amd64
File encoding Cp1252
Launch dir C:\Users\ruthe\IdeaProjects\rpw\out\artifacts\ResourcePackWorkbench_jar
RPW version 4.5.2
Library version 1.12.2
RPW path C:\Users\ruthe\AppData\Roaming.mcRPW
Minecraft path C:\Users\ruthe\AppData\Roaming.minecraft

STACK TRACE

java.lang.NullPointerException
    at net.mightypork.rpw.tasks.TaskModifyAsset.editModel(TaskModifyAsset.java:103)
    at net.mightypork.rpw.tasks.Tasks.taskEditModel(Tasks.java:813)
    at net.mightypork.rpw.gui.widgets.SidePanel$9.actionPerformed(SidePanel.java:719)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.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$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)

FULL LOG

[ i ] Main logger initialized.
[ i ] 2018/02/01 14:26:17
[ i ] ResourcePack Workbench v.4.5.2 (#452)
[ # ] Init started...
[ - ] Project 'BlueBlanket': Creating backup copy...
[ - ] Project 'BlueBlanket': Copying - done.
[ - ] Project 'BlueBlanket': Loading from workdir
[   ] Adding RPW_README.txt to the pack
[ - ] Checking Minecraft installation.
[ - ] Initializing configuration manager.
[ - ] Checking working directory.
[   ] Last run version: 4.5.2 (#452)
[ i ] Using library version: 1.12.2
[ - ] Loading GUI icons
[ - ] Loading GUI icons - done.
[   ] Initializing RSyntaxTextArea
[ # ] Initializing Sources
[ - ] Loading help pages
[ - ] Loading vanilla structure
[ - ] Loading help pages - done.
[ - ] Loading vanilla structure - done.
[ - ] Erasing library cache
[ - ] Loading resourcepacks...
[ # ] Initializing Sources - done.
[ - ] Building main window.
[ - ] Downloading update info
[ - ] Opening last project (if any).
[ # ] Loading project BlueBlanket
[ - ] Project 'BlueBlanket': Creating backup copy...
[ - ] Project 'BlueBlanket': Copying - done.
[ - ] Project 'BlueBlanket': Loading from workdir
[   ] Adding RPW_README.txt to the pack
[ - ] Downloading update info - done.
[ i ] Your version is up-to-date.
[!E!] Unhandled error, opening error screen.
[!E!] java.lang.NullPointerException
[!E!]   at net.mightypork.rpw.tasks.TaskModifyAsset.editModel(TaskModifyAsset.java:103)
[!E!]   at net.mightypork.rpw.tasks.Tasks.taskEditModel(Tasks.java:813)
[!E!]   at net.mightypork.rpw.gui.widgets.SidePanel$9.actionPerformed(SidePanel.java:719)
[!E!]   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
[!E!]   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
[!E!]   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
[!E!]   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[!E!]   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
[!E!]   at java.awt.Component.processMouseEvent(Unknown Source)
[!E!]   at javax.swing.JComponent.processMouseEvent(Unknown Source)
[!E!]   at java.awt.Component.processEvent(Unknown Source)
[!E!]   at java.awt.Container.processEvent(Unknown Source)
[!E!]   at java.awt.Component.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Container.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Component.dispatchEvent(Unknown Source)
[!E!]   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
[!E!]   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
[!E!]   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
[!E!]   at java.awt.Container.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Window.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Component.dispatchEvent(Unknown Source)
[!E!]   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.EventQueue.access$500(Unknown Source)
[!E!]   at java.awt.EventQueue$3.run(Unknown Source)
[!E!]   at java.awt.EventQueue$3.run(Unknown Source)
[!E!]   at java.security.AccessController.doPrivileged(Native Method)
[!E!]   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[!E!]   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[!E!]   at java.awt.EventQueue$4.run(Unknown Source)
[!E!]   at java.awt.EventQueue$4.run(Unknown Source)
[!E!]   at java.security.AccessController.doPrivileged(Native Method)
[!E!]   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[!E!]   at java.awt.EventQueue.dispatchEvent(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.run(Unknown Source)
[!E!] 
[   ] Dialog open: RPW has crashed!
[   ] Dialog closed: RPW has crashed!
[   ] Dialog open: Configure Editors
[   ] Dialog closed: Configure Editors
[!E!] Unhandled error, opening error screen.
[!E!] java.lang.NullPointerException
[!E!]   at net.mightypork.rpw.tasks.TaskModifyAsset.editModel(TaskModifyAsset.java:103)
[!E!]   at net.mightypork.rpw.tasks.Tasks.taskEditModel(Tasks.java:813)
[!E!]   at net.mightypork.rpw.gui.widgets.SidePanel$9.actionPerformed(SidePanel.java:719)
[!E!]   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
[!E!]   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
[!E!]   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
[!E!]   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[!E!]   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
[!E!]   at java.awt.Component.processMouseEvent(Unknown Source)
[!E!]   at javax.swing.JComponent.processMouseEvent(Unknown Source)
[!E!]   at java.awt.Component.processEvent(Unknown Source)
[!E!]   at java.awt.Container.processEvent(Unknown Source)
[!E!]   at java.awt.Component.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Container.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Component.dispatchEvent(Unknown Source)
[!E!]   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
[!E!]   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
[!E!]   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
[!E!]   at java.awt.Container.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Window.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.Component.dispatchEvent(Unknown Source)
[!E!]   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
[!E!]   at java.awt.EventQueue.access$500(Unknown Source)
[!E!]   at java.awt.EventQueue$3.run(Unknown Source)
[!E!]   at java.awt.EventQueue$3.run(Unknown Source)
[!E!]   at java.security.AccessController.doPrivileged(Native Method)
[!E!]   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[!E!]   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[!E!]   at java.awt.EventQueue$4.run(Unknown Source)
[!E!]   at java.awt.EventQueue$4.run(Unknown Source)
[!E!]   at java.security.AccessController.doPrivileged(Native Method)
[!E!]   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
[!E!]   at java.awt.EventQueue.dispatchEvent(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[!E!]   at java.awt.EventDispatchThread.run(Unknown Source)
[!E!] 
MarcusElg commented 6 years ago

Try the latest beta