REW Beta Release REW API beta releases

JoinUs

New Member
Joined
Jan 6, 2023
Messages
80
From the mdat I see you are using Trim IR to windows and then exporting the trimmed IR. Trim IR to windows ensures the resulting IR length is a power of 2. If that power of 2 length went past the end of the available data zeroes were prepended to the IR. I have changed that for the next V5.40 beta build. For your exports it would make more sense to use the "Apply IR windows before export" option instead of trimming the IR.
Thank you for your quick feedback.
Yes. It's a habit for me. Letting out after burping.
So if I use Apply IR windows before export in IR exporter, is there no such problem? (
So is something changed for that trim in 5.30.9 and 5.31, right?
In versions before 5.31, I couldn't try to recreate that. )
 

rajdude

Registered
Joined
Jul 11, 2021
Messages
15
More  
Preamp, Processor or Receiver
Emotiva XMC-1
Main Amp
Bryston PP-120 SST Monoblocks
Front Speakers
Magnepan 3.6R
Center Channel Speaker
Magnepan CC3
Surround Back Speakers
Magnepan MC1
Subwoofers
2 x Rythmik FV15HP
1727355661249.png


I am not sure what I am doing wrong, but ever since I have installed the beta version, the right click on the legend panel is missing the option to copy the selections to the other overlay graphs. I only see these three options.

I bet I am missing some step. Please advise.
 

serko70

Member
Joined
Oct 13, 2017
Messages
277
Location
Germany
More  
Preamp, Processor or Receiver
Marantz SR6015
Main Amp
Rotel Michi X3
DAC
Oppo 205
Computer Audio
Intel NUC
Universal / Blu-ray / CD Player
Oppo 205
Streaming Subscriptions
TIDAL, ROON
Front Speakers
Focal Kanta 2
Center Channel Speaker
Linn Trikan
Surround Speakers
Focal Dome Flax
Surround Back Speakers
Focal Dome Flax
Front Height Speakers
Focal Dome Flax
Rear Height Speakers
Focal Dome Flax
Subwoofers
Focal Sub Air
Video Display Device
LG 65 3D OLED
REW V5.40 Beta 55 running Azul Systems, Inc. JRE 1.8.0_422 64-bit on Windows 10 Locale: language en, keyboard GB, windows-1252 on 3840x1600 at 96 DPI Running in C:\Program Files\REW


Message:
java.util.concurrent.ExecutionException: java.lang.NullPointerException
Stack Trace:
java.lang.NullPointerException
java.util.concurrent.FutureTask.report(FutureTask.java:122)
java.util.concurrent.FutureTask.get(FutureTask.java:192)
javax.swing.SwingWorker.get(SwingWorker.java:602)
roomeqwizard.kM.done(y:818)
javax.swing.SwingWorker$5.run(SwingWorker.java:737)
javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
javax.swing.Timer.fireActionPerformed(Timer.java:313)
javax.swing.Timer$DoPostEvent.run(Timer.java:245)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by:
java.lang.NullPointerException
roomeqwizard.IRData.applyOctaveFilter(y:2584)
roomeqwizard.MeasData.applyOctaveFilter(y:6722)
roomeqwizard.MeasData.applyOctaveFilter(y:5931)
roomeqwizard.kM$2.A(y:58)
A.A.A.A.B.A(Unknown Source)
A.A.A.A.B.A(Unknown Source)
roomeqwizard.kM.A(y:2862)
roomeqwizard.kM.doInBackground(y:2621)
javax.swing.SwingWorker$1.call(SwingWorker.java:295)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
javax.swing.SwingWorker.run(SwingWorker.java:334)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:750)
 

Attachments

  • REWdiagnostic_1727372076723.zip
    56.3 KB · Views: 2
Last edited by a moderator:

serko70

Member
Joined
Oct 13, 2017
Messages
277
Location
Germany
More  
Preamp, Processor or Receiver
Marantz SR6015
Main Amp
Rotel Michi X3
DAC
Oppo 205
Computer Audio
Intel NUC
Universal / Blu-ray / CD Player
Oppo 205
Streaming Subscriptions
TIDAL, ROON
Front Speakers
Focal Kanta 2
Center Channel Speaker
Linn Trikan
Surround Speakers
Focal Dome Flax
Surround Back Speakers
Focal Dome Flax
Front Height Speakers
Focal Dome Flax
Rear Height Speakers
Focal Dome Flax
Subwoofers
Focal Sub Air
Video Display Device
LG 65 3D OLED
John,

Somewhere in this part of the script (and it's in a loop) sometimes a Java Exception is thrown. It could be other unclosed script pages running in the background causing this but I am sharing anyway:

1727438027271.png


2024-Sep-27 14:46:10: POST http://localhost:4735/measurements/11/filters {"filters":[{"index":22,"type":"Low pass","enabled":True,"isAuto":false,"frequency":5000,"shape":"BU","slopedBPerOctave":12}]} Response: 200 application/json body size in bytes: 30
Exception captured RT60 calculation
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at roomeqwizard.kM.done(y:818)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
at roomeqwizard.IRData.applyOctaveFilter(y:2584)
at roomeqwizard.MeasData.applyOctaveFilter(y:6722)
at roomeqwizard.MeasData.applyOctaveFilter(y:5931)
at roomeqwizard.kM$2.A(y:58)
at A.A.A.A.B.A(Unknown Source)
at A.A.A.A.B.A(Unknown Source)
at roomeqwizard.kM.A(y:2862)
at roomeqwizard.kM.doInBackground(y:2621)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
java.lang.NullPointerException
2024-Sep-27 14:46:10 Error: An error has occurred in RT60 calculation
java.util.concurrent.ExecutionException: java.lang.NullPointerException
<html><h2>REW V5.40 Beta 55 running Azul Systems, Inc. JRE 1.8.0_422 64-bit on Windows 10


PS There's nothing related to RT60 in the script!
 

Attachments

  • REWdiagnostic_1727437590563.zip
    157.8 KB · Views: 2
Last edited by a moderator:

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Messages
7,888
Somewhere in this part of the script (and it's in a loop) sometimes a Java Exception is thrown
That and the previous post are errors caused when a measurement whose RT60 data is being generated is removed. RT60 data generation can be triggered by various events, including selecting a measurement.
 

serko70

Member
Joined
Oct 13, 2017
Messages
277
Location
Germany
More  
Preamp, Processor or Receiver
Marantz SR6015
Main Amp
Rotel Michi X3
DAC
Oppo 205
Computer Audio
Intel NUC
Universal / Blu-ray / CD Player
Oppo 205
Streaming Subscriptions
TIDAL, ROON
Front Speakers
Focal Kanta 2
Center Channel Speaker
Linn Trikan
Surround Speakers
Focal Dome Flax
Surround Back Speakers
Focal Dome Flax
Front Height Speakers
Focal Dome Flax
Rear Height Speakers
Focal Dome Flax
Subwoofers
Focal Sub Air
Video Display Device
LG 65 3D OLED
It's an extremely rare outcome but any suggestion I can catch or avoid that error? Or is an inhibitor for that kind of background operations possible?
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Messages
7,888
If you are changing the currently selected measurement try and avoid that. If you are deleting measurements don't do it too quickly after generating them.
 
Top Bottom