REW Beta Release java.lang.NullPointerException in Alignment tool

leov

Registered
Thread Starter
Joined
Feb 16, 2021
Messages
2
I'm playing around with the Alignment tool. I get the following error when I click, for example, Align phase slopes at cursor. I also tried it with the 32-bit version and both do the same thing.

REW V5.20 running JRE 1.8.0_202 64-bit on Windows 10, en, US, windows-1252 at 96 DPI
Code:
Message:
    java.lang.NullPointerException
Stack Trace:
    roomeqwizard.MeasData.averageGD(y:4253)
    roomeqwizard.NI$30.actionPerformed(y:291)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Window.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    java.awt.EventQueue.access$500(Unknown Source)
    java.awt.EventQueue$3.run(Unknown Source)
    java.awt.EventQueue$3.run(Unknown Source)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    java.awt.EventQueue$4.run(Unknown Source)
    java.awt.EventQueue$4.run(Unknown Source)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source)
 

Attachments

  • room-eq-20210216-null-repro.mdat
    328.3 KB · Views: 6

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,212
Your measurements are the results of magnitude averages that don't have any phase data, so there is no phase to use. I'll make a change to disable the feature in those cases, but the tool is for use with measurements that have phase responses, without them there is no meaning to the idea of time alignment.
 

leov

Registered
Thread Starter
Joined
Feb 16, 2021
Messages
2
Yes, thank you. I deduced that after some trial and error. I did not realize the phase responses were not there. Preventing it from being used would be a good fix. Thanks again.
 
Top Bottom