Attach Profiler to running application - Empty process list - Exception

7 posts, 0 answers
  1. Sreeram
    Sreeram avatar
    3 posts
    Member since:
    Apr 2011

    Posted 27 Apr 2011 Link to this post

    Hello,

    I have attempted to attach Just Trace Profiller to a running winforms application process. JustTrace Process list shows empty and right click on the list area (to see if refresh is an option) throws the following exception

    ---------------------------
    Error
    ---------------------------
    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!



    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.

       at Telerik.JustTrace.RunningApplicationLocatorData.SetUpSessionConfiguration(SessionData sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\Base\RunningApplicationLocatorData.cs:line 67

       at Telerik.JustTrace.SessionData..ctor(ISetupProfiling sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\Base\SessionData.cs:line 29

       at Telerik.JustTrace.PerformanceSessionData..ctor(ISetupProfiling sessionConfiguration, Process process) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\Base\PerformanceSessionData.cs:line 14

       at Telerik.JustTrace.ProfileSetupAndSessionPresenter.#FJ(ISetupProfiling sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\ProfileSetupAndSession\ProfileSetupAndSessionPresenter.cs:line 163

       at Telerik.JustTrace.ProfileSetupAndSessionPresenter.#DJ(ISetupProfiling sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\ProfileSetupAndSession\ProfileSetupAndSessionPresenter.cs:line 125

       at Telerik.JustTrace.ProfileSetupAndSessionPresenter.#IJ(ISetupProfiling session) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\ProfileSetupAndSession\ProfileSetupAndSessionPresenter.cs:line 16777215

       --- End of inner exception stack trace ---

       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

       at System.Delegate.DynamicInvokeImpl(Object[] args)

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    ---------------------------
    OK   
    ---------------------------
  2. Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 28 Apr 2011 Link to this post

    Hello Sreeram,

    Thank you for reporting this bug. We will prove a fix in the next release.

    Regards,
    Mike
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 30 Apr 2011 Link to this post

    FWIW, I just had this too under Win7 x64.

    -- 
    Stuart
  5. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 30 May 2011 Link to this post

    Hello Everyone,

    There is a new JustTrace Beta version which has a fix for the reported problem. Please download and install it, and let us know if you still have troubles. Any other feedback will be also very helpful.

    Best wishes,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  6. stijn
    stijn avatar
    1 posts
    Member since:
    Apr 2011

    Posted 21 Jun 2011 Link to this post

    Hi,

    I just downloaded and installed the latest version but when I want to profile a running application my processes list is empty.

    I don't get any errormessages.

    Any advice?
  7. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 21 Jun 2011 Link to this post

    Hi stijn,

    Thank you for your feedback. We are aware of this kind of issue and have prepared a fix for it. We are planning a new Beta version which will include this fix and lot's of other fixes and new functionalities too. The new version will be available in less than a week and I will notify you again when it is published.

    Thanks again for reporting this issue and I'm sorry for any inconvenience we might have caused.

    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  8. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 28 Jun 2011 Link to this post

    Hello stijn,

     
    The new Beta is published and this issue should be resolved. Please give it a try and let us know if you still experience the same issue.

    Best wishes,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top
DevCraft banner