Bug Issue: Error Message when changing name of an attribute


Pages: 1

Luyren

  • Master Stencyler
  • *
July 10, 2020, 06:09:44 pm
b10575, on Windows
When trying to change the name of an attribute and hitting the "apply name" button a lot of times I get an error pop up. If I dismiss it, close and reopen the behavior, the name of the attribute was changed successfuly.

I don't know exactly what causes this to happen. Including the logs.
Code: [Select]
java.lang.NullPointerException
at stencyl.sw.editors.snippet.designer.search.AttributeBlockPattern.tagMatchesVariable(AttributeBlockPattern.java:54)
at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
at stencyl.sw.editors.snippet.designer.search.AttributeBlockPattern.matchesBlock(AttributeBlockPattern.java:75)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:422)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:411)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:441)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:411)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:441)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:411)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:441)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:411)
at stencyl.sw.editors.snippet.designer.EditArea.applyTransform(EditArea.java:387)
at stencyl.sw.editors.snippet.designer.SnippetDesigner.applyTransform(SnippetDesigner.java:1930)
at stencyl.sw.editors.snippet.designer.SnippetDesigner.refreshVariableDisplayName(SnippetDesigner.java:957)
at stencyl.sw.editors.snippet.vars.EditVariablePane.lambda$createEditPanel$0(EditVariablePane.java:392)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
2020-07-10 22:08:35,407 DEBUG [pool-1-thread-1] stencyl.sw.util.FileHelper: Matching (non-hidden) files within C:\Users\User\AppData\Roaming\Stencyl\stencylworks\logs: [C:\Users\User\AppData\Roaming\Stencyl\stencylworks\logs\2020-07-10_10-34-22.log, C:\Users\User\AppData\Roaming\Stencyl\stencylworks\logs\2020-07-10_22-07-48.log]


New attachment added by Luyren - July 10, 2020, 06:10:35 pm


Issue updated by Justin - July 10, 2020, 07:11:18 pm
  • Tags added: regression, 4.0.3


Justin

  • Master Stencyler
  • *
July 11, 2020, 03:06:39 am
Fixed in build 10582.
  • Issue Assigned from (none) to Justin
  • Status changed from New to Resolved


Luyren

  • Master Stencyler
  • *
July 11, 2020, 04:37:52 am
Fix confirmed in b10584.


Pages: 1

Details

  • Reported
    July 10, 2020, 06:09:44 pm
  • Updated
    July 11, 2020, 04:37:52 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Design Mode Blocks

Tags


Attachments

* log-2020-07-10.zip (2874.91 kB - downloaded 1421 times.)