gstamm
 Basic Member Posts:12
 |
| 2009-10-08 05:09 AM |
|
I just installed the version with the include MPR tool.
When selecting a series of CT images and klick "open with MPR a box appears telling me "Building MPR..." and afterwards a messagebox shows up "Unable to load the selected images in MPR: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."
The translation could be: "Object link was not assigned to an object instance"
Hope there will be fix.
Georg
|
|
|
|
|
norman
 Senior Member Posts:793
 |
| 2009-10-08 09:33 AM |
|
Hi Goerg, Thanks. A few questions: 1) What operating system are you using? 32 or 64 bit? Is it English Windows or German Windows? 2) Could you post the log? We'd like to see the stack trace. 3) Does it fail with all datasets? Or just certain ones? 4) Could you also try using MPR on the sample CT study that's available in our downloads section and see if the same thing happens? Thanks! Norman
|
|
|
|
|
gstamm
 Basic Member Posts:12
 |
|
gstamm
 Basic Member Posts:12
 |
| 2009-10-09 04:53 AM |
|
Hi Norman
tried with different dataset. Always the same, even with your MR-study.
I can see for a very short time a window for MPR, but then the error message appears.
Log for the MR-study:
2009-10-09 10:52:36,217 [1] INFO - No session manager extension found
2009-10-09 10:52:36,357 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:36,373 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:36,607 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:36,607 [1] WARN - Time provider not found - defaulting to local machine time.
2009-10-09 10:52:36,623 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:38,373 [1] WARN - No audit sink extensions found - Auditing will be disabled for the remainder of the session.
2009-10-09 10:52:38,451 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:38,967 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,154 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,170 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,326 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,420 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,467 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,717 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,811 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,842 [1] INFO - No renderer plugins exist; defaulting to GDI renderer.
2009-10-09 10:52:43,858 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:43,904 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:44,326 [10] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:48,186 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider
2009-10-09 10:52:49,920 [1] WARN - Failed to optimize image box rectangles; defaulting to simple method.
2009-10-09 10:52:49,967 [1] ERROR - Exception thrown
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolGraphic.SetLine(IPresentationImage referenceImage, IPresentationImage targetImage)
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolSlave.Initialize()
bei ClearCanvas.Desktop.Tools.ToolSet..ctor(IEnumerable tools, IToolContext context)
2009-10-09 10:52:49,967 [1] ERROR - Exception thrown
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolGraphic.SetLine(IPresentationImage referenceImage, IPresentationImage targetImage)
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolSlave.Initialize()
bei ClearCanvas.Desktop.Tools.ToolSet..ctor(IEnumerable tools, IToolContext context)
2009-10-09 10:52:49,967 [1] ERROR - Exception thrown
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolGraphic.SetLine(IPresentationImage referenceImage, IPresentationImage targetImage)
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolSlave.Initialize()
bei ClearCanvas.Desktop.Tools.ToolSet..ctor(IEnumerable tools, IToolContext context)
2009-10-09 10:52:50,483 [1] ERROR - Exception thrown
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ClearCanvas.ImageViewer.Volume.Mpr.Tools.ResliceTool.ResliceToolSlave.OnPresentationImageSelected(Object sender, PresentationImageSelectedEventArgs e)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
bei System.Delegate.DynamicInvokeImpl(Object[] args)
bei ClearCanvas.Common.Utilities.EventsHelper.Fire(Delegate del, Object sender, EventArgs e)
2009-10-09 10:52:50,733 [1] ERROR - Exception thrown
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ClearCanvas.Desktop.ProgressDialog.Show(BackgroundTask task, IDesktopWindow desktopWindow, Boolean autoClose, ProgressBarStyle progressBarStyle)
bei ClearCanvas.ImageViewer.Volume.Mpr.LaunchMprTool.LaunchMpr()
2009-10-09 10:52:50,733 [1] WARN - Configuration store not found - defaulting to LocalFileSettingsProvider |
|
|
|
|
norman
 Senior Member Posts:793
 |
| 2009-10-11 01:47 AM |
|
Hi Georg, I'll let Jasper address the MPR problem, but I just wanted to let you know that the CT Study download link will actually download a CT now, not a CR. Thanks for pointing that out. N. |
|
|
|
|
jasper.yeh
 Senior Member Posts:425

 |
| 2009-10-14 02:46 PM |
|
Hi Georg,
I had a look at the code around that area, and I can't pinpoint a particular line that could generate a nullref under normal conditions. We have noticed in the past that certain code and events execute in a different order on particular international versions of Windows, and I suspect that we may be making an assumption that something is always created first simply because it's always like that on our English machines.
I could describe a workaround to disable the tool, but this would leave you without a means to manipulate the MPR component. Anyway, I've opened a ticket here and we'll set up a 32-bit German Windows XP environment over here to try and reproduce the problem on our end.
Thanks! |
|
| // Jasper |
|
|
jasper.yeh
 Senior Member Posts:425

 |
| 2009-10-16 11:52 AM |
|
Hi Georg, I noticed a few things the other day while I was trying to create a mock dataset for MPR testing, and it generated similar exceptions. My problems seemed to be related to a few DICOM attributes that were present in the dataset. Could you please check if your images have attributes with these tags? You can use the dump tool from the local file explorer to check what attributes are present. * Patient ID (0010,0020) * Patient's Name (0010,0010) * Study ID (0020,0010) * Study Instance UID (0020,000D) * Series Instance UID (0020,000E) * SOP Instance UID (0008,0016) * Frame of Reference UID (0020,0052) * Pixel Spacing (0028,0030) Thanks, |
|
| // Jasper |
|
|
gstamm
 Basic Member Posts:12
 |
| 2009-10-19 08:29 AM |
|
Hi Jasper
all mentiond Dicom-Tags are present in my test datasets and have valid entries. meanwhile alos tried your CT and MR datasets with the same MPR failure. I can see for a very short time a window which seems to be the MPR interface but then the error window appears and I am left back with the usual 2D view.
Used CC-version 2.0.11431.34437
Hope you will figure out what causes these exceptions
Georg |
|
|
|
|
Zurko
 New Member Posts:4
 |
| 2009-11-05 06:37 AM |
|
We have same error, with non English regional settings. But we found out that MPR works fine if you change regional settings in Windows Control Panel to English (US). This change obviously isn't the solution, but I think that this information can help developers.
Regards! |
|
|
|
|
norman
 Senior Member Posts:793
 |
| 2009-11-05 08:23 AM |
|
Hi Zurko, Georg, Thanks for the information. That's definitely helpful. Georg, we're installing German Windows XP to see if we can reproduce the problem. Zurko, which regional settings were you using? N. |
|
|
|
|
Zurko
 New Member Posts:4
 |
| 2009-11-05 02:22 PM |
|
Hungarian. I think that we also had to anonymize the series in order for MPR to work correctly. Regards! |
|
|
|
|
jasper.yeh
 Senior Member Posts:425

 |
| 2009-11-05 05:01 PM |
|
Hi Zurko, Georg, Good news - we have reproduced the error and now know what the problem is. It is indeed related to regional settings - specifically, the numeric formatting and the use of a comma as the decimal separator. It seems that, while generating the DICOM datasets for use in MPR, we wrote out some image orientation numbers using the default (local!) culture. DICOM requires the use of the period as the decimal separator in the encoding of the dataset, and so that's what we tried to parse out of it shortly thereafter - resulting in a null image orientation. This wouldn't have affected the actual MPR generation, since the different slices are generated out of the original data, but as soon as it tried to figure out where each slice was relative to each other, well, you know the rest of the story. Thanks for all the information - we had actually installed a machine with the localized German Windows XP last night, with the intent on figuring out what was wrong today, but your reports helped narrow down the search scope faster. Anyway, I'll be updating the ticket #5316 with the new information and we'll be working on a fix! Cheers! |
|
| // Jasper |
|
|
gstamm
 Basic Member Posts:12
 |
| 2009-11-06 03:10 AM |
|
Hi Jasper
great news. After fixing it will make a great product even greater!
Georg |
|
|
|
|
laaz
 Basic Member Posts:23
 |
| 2009-11-09 07:14 AM |
|
Same problem, same workaround using Portuse-Brazilian version of Windows XP Pro.
Just to inform...
Zurko, thanks for the information.
Developers team, nice MPR tool! Congratulations! |
|
|
|
|
jasper.yeh
 Senior Member Posts:425

 |
| 2009-11-09 12:13 PM |
|
Hi Zurko, Georg, laaz,
The fix is now committed to revision 11760, which means MPR in tomorrow's daily builds should now work using the native Windows regional settings.
Thank you all for taking the time to help test the 2.0 Alpha, and please keep the suggestions and bug reports coming! |
|
| // Jasper |
|
|
gstamm
 Basic Member Posts:12
 |
| 2009-11-11 09:18 AM |
|
Dear Jasper
downloaded latest build 2.0.11783 and MPR is working fine!
Thank you very much for your efforts.
My first impressions: great tool with full oblique mode in all 3 directions.
It would bi nice or even helpfull to have a reset to othogonal views.
Greetings Georg |
|
|
|
|
stewart
 Senior Member Posts:1425
 |
| 2009-11-23 10:27 AM |
|
Hi Georg, the daily build should now have a reset function. Thanks for the feedback! Best regards, Stewart |
|
|
|
|
gstamm
 Basic Member Posts:12
 |
| 2009-11-24 09:22 AM |
|
Hi stewart, works great, thank you |
|
|
|
|
amroweb@yahoo.com
 New Member Posts:2
 |
| 2010-05-27 10:51 PM |
|
hi jasper We have some regulatory concerns over the mpr tool. Can you please describe a way to disable it. I’ve seen you mentioning that in this forum as a work around. |
|
|
|
|
stewart
 Senior Member Posts:1425
 |
| 2010-06-09 09:39 AM |
|
Hi, may I ask what your regulatory concern is? The easiest way to disable it is to delete the plugins (ClearCanvas.ImageViewer.Volume.Mpr.dll and ClearCanvas.ImageViewer.Volume.Mpr.View.Winforms.dll). Hope this helps, Stewart |
|
|
|
|