Error Writing Target Family To File?

whoareyou

Member
Thread Starter
Joined
Dec 23, 2021
Messages
179
More  
Main Amp
Benchmark AHB2
Additional Amp
ATI AT525NC
Computer Audio
JRiver
DAC
Exasound E38
Front Speakers
Psb synchrony one
Center Channel Speaker
PSB synchrony one C
Surround Speakers
Revel m105
Anyone know what this error means? Program GPF's after encountering the error.
So far, the error only seems to occur when generating filters from one particular target (it is a multi-target).
 

Attachments

  • TargetFamilyError.jpg
    TargetFamilyError.jpg
    29.2 KB · Views: 8
  • target.zip
    1.3 MB · Views: 11
Last edited:

whoareyou

Member
Thread Starter
Joined
Dec 23, 2021
Messages
179
More  
Main Amp
Benchmark AHB2
Additional Amp
ATI AT525NC
Computer Audio
JRiver
DAC
Exasound E38
Front Speakers
Psb synchrony one
Center Channel Speaker
PSB synchrony one C
Surround Speakers
Revel m105
Never mind for now. It seems to be working once again. Thanks
 

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
699
Glad you got rid ov it. This looks like a bug that takes something special to surface. If you're able to bring it back I would like to look at your target file. Also, different sample rates may play a part here. If you e.g. were reworking an old target made at 44.1 kHz and now had a measurement open with a different sample rate.
 

whoareyou

Member
Thread Starter
Joined
Dec 23, 2021
Messages
179
More  
Main Amp
Benchmark AHB2
Additional Amp
ATI AT525NC
Computer Audio
JRiver
DAC
Exasound E38
Front Speakers
Psb synchrony one
Center Channel Speaker
PSB synchrony one C
Surround Speakers
Revel m105
The attached zip file has the target file. It has two additional targets for my 2 side speakers for high end roll-off. In my case I generate corrections with all rates from 44.1 -> 352.8.
In my case the default rate of 48khz worked, but other rates generated the error.

A bit more information...
I was writing out the corrections to a network drive and probably generated a. couple hundred files before I hit the error.
I fixed this by writing files to local drive, so I thought there was just something related to my network.

Also, different sample rates may play a part here.
.... but since my default rate of 48khz saves properly, your comment makes me think this is the odd bug you mention.
 

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
699
Did you forget to attach the zip? Could you perhaps mail it to me?
 

whoareyou

Member
Thread Starter
Joined
Dec 23, 2021
Messages
179
More  
Main Amp
Benchmark AHB2
Additional Amp
ATI AT525NC
Computer Audio
JRiver
DAC
Exasound E38
Front Speakers
Psb synchrony one
Center Channel Speaker
PSB synchrony one C
Surround Speakers
Revel m105
first post of this thread. I'll send e-mail just in case
 

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
699
I didn’t See any problems with the target file here. But this was anyway helpful in case it turns up later.
 

whoareyou

Member
Thread Starter
Joined
Dec 23, 2021
Messages
179
More  
Main Amp
Benchmark AHB2
Additional Amp
ATI AT525NC
Computer Audio
JRiver
DAC
Exasound E38
Front Speakers
Psb synchrony one
Center Channel Speaker
PSB synchrony one C
Surround Speakers
Revel m105
Thanks.
Weird how this worked perfectly, until it just mysteriously refused to complete process.
When I get chance, I will once again test with network drive.
Permissions seem fine for the drive so perhaps Windows defender started blocking AL process from writing to drive for some reason.
If I can duplicate issue, I'll let you know.
 

adprotection

New Member
Joined
Jan 3, 2023
Messages
2
I get the error when saving a filter @ 44.1kHz with the Current Frequency = 48kHz

Update:
I get the error for every selected target sampling frequency, so if I select 3 sampling frequencies I'll get the error 3 times when saving the filters.
I can manage to save the filters by saving filters several times in a row.

Example:
Sampling frequencies selected: 44.1kHz, 88.2kHz, 192kHz.

[Save filter] (first time) =>
1st error occour when making filters for 44.1kHz.

I afterwards get an 'Unhandled Exception' in Windows where I choose 'Continue'.

[Save filter] (second time) =>
No error when making the filter for 44.1kHz!
2nd error occour when making filters for 88.2kHz.

I afterwards get an 'Unhandled Exception' in Windows where I choose 'Continue'.

[Save filter] (third time) =>
No error when making the filters for 44.1kHz and 88.2kHz!
3rd error occour when making filters for 192kHz.

I afterwards get an 'Unhandled Exception' in Windows where I choose 'Continue'.

[Save filter] (4th time) =>
No errors when making the filters!

Background Info:
Audiolense XO v6.21
PC: Apple Macbook Air (M1)
OS: Windows 11 Home, fully updated
Parallels Desktop for Mac (for running Windows on my Apple M1-processor), fully updated.

Screen shots:
FileWriteError.png


UnhandledException.png


Details of the Unhandled Exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Juice.TargetFamily.uE9WBAqIwi(String )
at Juice.TargetFamily.ArrayToVecOneTarget(Double FS, TVec Target, Int32 SpID)
at Juice.Correction.QQfCMJwvTcNAhResltD(Object , Double FS, Object , Int32 SpID)
at Juice.Correction.cPJHmY0sJP(Int32 )
at Juice.Correction.RunCorrection(SpeakerSetup CSS, MeasurementClass MsmInput, TargetFamily TargetInput, FilterProcedureClass _currentFilter, Double[] FSArrayInput, String CorrNameInput, TVecList Input, TVecList Output, TVecList SmoothedFrequencyAnalysis, CorrectionEnum CorEnum, RiaaCorrEnum CurrentRiaaPreference)
at Juice.formMain.hgQn5OEZtEVWrKNDisf(Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , CorrectionEnum CorEnum, RiaaCorrEnum CurrentRiaaPreference)
at Juice.formMain.TrHnLMwMya(FilterProcedureClass )
at Juice.formMain.kMqn8HjDJ1(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9105.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Audiolense
Assembly Version: 6.21.8385.21935
Win32 Version: 6.21.8385.21935
CodeBase: file:///C:/Program%20Files/Juice%20Hifi/Audiolense%206.21/Audiolense.exe
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9065.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9115.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
a18245d7-7c50-4444-8c9a-d73109df3c29
Assembly Version: 1.0.0.0
Win32 Version: 6.21.8385.21935
CodeBase: file:///C:/Program%20Files/Juice%20Hifi/Audiolense%206.21/Audiolense.exe
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9110.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9115.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Last edited:

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
699
Thank you for the report and the files.

Sofar, no errors here.
 

adprotection

New Member
Joined
Jan 3, 2023
Messages
2
The problem is gone...

The problem has been consistent since day 1 with Audiolense running in Windows 11 via Parallels on my MacBook Air (M1 processor). Every time I wanted to save filters from Audiolense Windows throw me an Unhandled Exception.

Increasing memory to Windows (the virtual machine that is) didn't change anything. Restarting Windows 11, restarting Parallels and the MacBook didn't change anything. The problem was consistent.

When I thought, maybe this is an issue caused by the nature of the shared filesystem or the so-called TPM-chip that encrypts everything within the virtual machine running in Parallels.
So I changed the default directory for Audiolense from being outside the virtual machine (on the Mac) to be within Windows 11. Voila!

Then I changed the default mirror sharing (Mac <> Windows) in Parallels to just use a shared folder on my Mac. This worked flawless as well.
So it seems that there's something going on with the mirror sharing in Parallels.

Working in the IT Business I know we need to replicate the issue to help us find the root cause to any give problem.
But I wasn't able to replicate the issue! Going back to using mirror sharing between the Mac and the virtual machine with Windows 11 is now working without a glitch! ...?

The root cause stays unknown.

I guess that changing the choice of method for filesharing in Parallels resolved the issue either in Parallels or in Windows and not in Audiolense.

Thanks to Bernt for looking into the issue and for keeping up the excellent work with Audiolense.
 

juicehifi

Audiolense
Staff member
Joined
Feb 5, 2018
Messages
699
This problem is likely to surface again for some other user(s).. So I am very glad that you sorted this out to an such a degree. This will help the next guy who experiences the same.
 
Top Bottom