Thursday, May 23, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: Ivantack
New Today New Today: 0
New Yesterday New Yesterday: 14
User Count Overall: 28681

People Online People Online:
Visitors Visitors: 6
Members Members: 1
Total Total: 7

Online Now Online Now:
01: yjsyyyjszf

ClearCanvas Community Forums

We've moved our Developer Forums!
To better assist our open source community, we have moved our repository and developer forums to GitHub. You can access the new developer forums on our ClearCanvas GitHub issues board.

ROIanalysis sample
Last Post 2011-08-09 11:10 AM by stewart. 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
spapa
Basic Member
Basic Member
Posts:18

--
2011-06-24 12:46 AM

 Hi,

I am trying to test the ROIAnalysis sample included in the source code but i get an "Exception has been thrown by the target of an invocation" message while the viewer is trying to open. After this the viewer is empty with no images loaded.

If i remove the ROIAnalysis from the plugins directory everything works as expected.

Any ideas what could be wrong?

Thanks in advance

 

stewart
Senior Member
Senior Member
Posts:2336

--
2011-06-27 10:51 AM
Is there anything in the Workstation log file when this happens?
Live and real-time support available for Personal and Team Edition customers
spapa
Basic Member
Basic Member
Posts:18

--
2011-06-29 01:42 PM

 Please find attached.

Thank you in advance Stewart

Henri

stewart
Senior Member
Senior Member
Posts:2336

--
2011-07-15 10:22 AM
Might actually be that the sample isn't working properly anymore. Based on the logs, one of the attributes on the ClearCanvas.ImageViewer.Tools.ImageProcessing.RoiAnalysis.RoiAnalysisTool is incorrect, in particular the name of the property or event for controlling whether or not the tool is enabled. Try commenting out the EnabledStateObserver attribute on that tool.
Live and real-time support available for Personal and Team Edition customers
spapa
Basic Member
Basic Member
Posts:18

--
2011-08-05 01:36 AM

 Thank you Stewart.

Now i can see the button. However when i click i get:

System.NotSupportedException: No extensions found for extension point ClearCanvas.ImageViewer.Tools.ImageProcessing.RoiAnalysis.RoiHistogramComponentViewExtensionPoint, or the extensions could not be instantiated.  Please see the log for more information.

   at ClearCanvas.Common.ExtensionPoint.AtLeastOne(Object[] objs, Type extensionPointType)

   at ClearCanvas.Common.ExtensionPoint.CreateExtension(ExtensionFilter filter)

   at ClearCanvas.Desktop.ViewFactory.CreateView(IExtensionPoint extensionPoint, String toolkitID)

   at ClearCanvas.Desktop.ViewFactory.CreateAssociatedView(Type modelType)

   at ClearCanvas.Desktop.ApplicationComponentHost.get_ComponentView()

 

Note: I build the project against the binaries and paste the dll in the official distribution.

 

stewart
Senior Member
Senior Member
Posts:2336

--
2011-08-09 11:10 AM
No problem. If you're doing things the manual way, you will have to copy the View.WinForms.dll as well.
Live and real-time support available for Personal and Team Edition customers
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved