Null Reference Exception

Null Reference Exception

I'm getting this exception:

System.ArgumentNullException: Value cannot be null.
Parameter name: format
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at Intel.Healthcare.Device.Buttons..ctor(IntPtr windowHandle)
at xxx.frmScan..ctor()

My code at that point looks like:

using Intel.Healthcare;
using Intel.Healthcare.Device;
using Intel.Healthcare.Exception;

Buttons btn;
EventHandler mRfidScannedHand = null;

public frmScan()
{
InitializeComponent();
btn = new Buttons(this.Handle);
mRfidScannedHand = new EventHandler(mBtn_RfidScanned);
}

Any ideas on what I'm doing wrong?

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

rtbsoft,

There is not enough detail here to understand root casue of your issue. Can you please provide the following

1. Version of PD
2. Version of SDK
3. Full test code for us to evaluate the issue.

Thanks

John C

The PD is version 2.0.0.25057.

Intel.Healthcare version: 2.1.0.30123

Intel.Healthcare runtime version: v2.0.50727

A C# project demonstrating this error is attached.

Attachments: 

AttachmentSize
Download TestDT.zip37.67 KB

rtbsoft,

You are running two different version of your PD and SDK. They need to be the same.

I suggest that you upgrade to the most current versions for both.
Uninstall both the SDK and PD and then download and install the latest versions.

For the SDK you can get it from Intel at
http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Healthcare+Products&ProductLine=Healthcare+IT&ProductProduct=Mobile+Clinical+Assistant+(MCA)&ProdId=2854&LineId=3022&FamilyId=2918

You can get the PD from your hardware vendor.

Thanks

John C

thanks!

Login to leave a comment.