<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4831</bug_id>
          
          <creation_ts>2013-07-09 09:00:13 +0000</creation_ts>
          <short_desc>error when running systemtap within eclipse</short_desc>
          <delta_ts>2015-08-07 12:59:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Ioana Grigoropol">ioanax.grigoropol</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34422</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-07-09 09:00:13 +0000</bug_when>
    <thetext>HOST USED: Fedora 18 64bit
eclipse-poky:e35dfd79e3970f88a8273125890a54f75f108b97
poky:eaa5df34af42b6a37f6506847d0f3ef6ba0d298a


STEPS TO REPRODUCE
1. Perfom a headless build.
2. install the eclipse plugin.
3. Prepare a core-image-sato-sdk qemux86 image with tools-profile as EXTRA_IMAGE_FEATURES.
4. After step 3 is done, launch the qemux86 within console
5. launch the systemtap tool and fill in all the details. as a systemtap script, use the following one: 

[yocto@localhost 703-3]$ cat trac.stp 
probe syscall.open
{
        printf (&quot;%s(%d) open (%s)\n&quot;, execname(), pid(), argstr)
}

probe timer.ms(4000) # after 4 seconds
{
        exit ()
}
[yocto@localhost 703-3]


6. Press ok 

EXPECTED RESULTS
6. the systemtap tool connects to the qemu image and provides an output in eclipse

ACTUAL RESULT
6. A popup window appears without text in it. 
IN the eclipse console I have the followin error: 

java.lang.reflect.InvocationTargetException
        at org.yocto.sdk.remotetools.actions.SystemtapModel.process(Unknown Source)
        at org.yocto.sdk.remotetools.actions.BaseModel.run(Unknown Source)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NullPointerException
        at java.io.File.&lt;init&gt;(File.java:251)
        ... 3 more</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34423</commentid>
    <comment_count>1</comment_count>
    <who name="Ioana Grigoropol">ioanax.grigoropol</who>
    <bug_when>2013-07-09 09:04:20 +0000</bug_when>
    <thetext>Patch sent on the mailing list: &quot;Fix retrieval of System tap parameters&quot; .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34881</commentid>
    <comment_count>2</comment_count>
    <who name="Ioana Grigoropol">ioanax.grigoropol</who>
    <bug_when>2013-07-25 11:40:11 +0000</bug_when>
    <thetext>git commit id: 76df60597ae7cce069a5f1fd45089ea04c7394cd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37347</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-09-30 12:43:28 +0000</bug_when>
    <thetext>works now</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>