Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Line Level Coverage runtime error
Line Level Coverage runtime error [message #88797] Mon, 27 November 2006 17:15 Go to next message
Eclipse UserFriend
Originally posted by: wayne.sibley.sercoassurance.com

I am trying to get the Line Level Coverage working using a Solaris server
running JBoss and appropriate agent (4.2.1). When I try to collect the
data I get the following error message in the JBoss log:

java.lang.Error: Line Level Coverage runtime error: cannot write to
C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/llc.UUID-1164634328-6140 64-1262132434-1721025130.1164636338656.rawreport
Check your com.ibm.ra.llc.rawreport property
Cause:
C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/llc.UUID-1164634328-6140 64-1262132434-1721025130.1164636338656.rawreport
(No such file or directory)
com.ibm.ra.llc.runtime.LLCDumpModule.createIOError(LLCDumpMo dule.java:110)
com.ibm.ra.llc.runtime.LLCDumpModule.emitCharsetXMLFragment( LLCDumpModule.java:104)
..
..
..


The path name specified is that on my local PC which is running Eclipse
3.2.1 and TPTP 4.2.1. I'm slightly puzzled that the JBoss server has
complained about a location on my local PC but, either way, I can't find
any solution to the problem. The folder
C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/
does exist, but the file does not.

Assistance greatly appreciated.
Re: Line Level Coverage runtime error [message #96997 is a reply to message #88797] Wed, 25 April 2007 12:16 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Wayne,
It appears as if you are running from a Windows machine. Are you
launching a remote process on the Solaris machine?

Try setting the com.ibm.ra.llc.rawreport sytem variable to a file name
on the Solaris file sytem.

Paul
"Wayne Sibley" <wayne.sibley@sercoassurance.com> wrote in message
news:3084e187693b9bb45715fbf541feebd4$1@www.eclipse.org...
>I am trying to get the Line Level Coverage working using a Solaris server
>running JBoss and appropriate agent (4.2.1). When I try to collect the data
>I get the following error message in the JBoss log:
>
> java.lang.Error: Line Level Coverage runtime error: cannot write to
> C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/llc.UUID-1164634328-6140 64-1262132434-1721025130.1164636338656.rawreport
> Check your com.ibm.ra.llc.rawreport property
> Cause:
> C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/llc.UUID-1164634328-6140 64-1262132434-1721025130.1164636338656.rawreport
> (No such file or directory)
> com.ibm.ra.llc.runtime.LLCDumpModule.createIOError(LLCDumpMo dule.java:110)
> com.ibm.ra.llc.runtime.LLCDumpModule.emitCharsetXMLFragment( LLCDumpModule.java:104)
> .
> .
> .
>
>
> The path name specified is that on my local PC which is running Eclipse
> 3.2.1 and TPTP 4.2.1. I'm slightly puzzled that the JBoss server has
> complained about a location on my local PC but, either way, I can't find
> any solution to the problem. The folder
> C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/
> does exist, but the file does not.
>
> Assistance greatly appreciated.
>
Re: Line Level Coverage runtime error [message #97026 is a reply to message #96997] Wed, 25 April 2007 20:27 Go to previous message
Valentina Popescu is currently offline Valentina PopescuFriend
Messages: 23
Registered: July 2009
Junior Member
Wayne,

From your note I understand that this is the scenario:



- Use Eclipse workbench to profile the server ( start the JBoss
server in profiling mode )

- In the Profile attach configuration you specify a remote machine
and select line coverage



The data collected from the running application is stored into a file which
is located under the Eclipse workbench install. In your case, the location
is under

C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core



In a remote scenario, when the Eclipse client in not on the same machine
with the application being profiled, it is obvious that this location is not
available. This is a known bug which unfortunately has not been fixed yet.
The workaround is to create a similar path on your remote machine, if at all
possible, so that the line coverage file can be saved.



On the host where the server is running, create this path and try to collect
line coverage again; it should work this time



C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core



BTW, I'm really sorry for this late reply..



Valentina



"Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
news:f0ngqp$24b$1@build.eclipse.org...
> Hi Wayne,
> It appears as if you are running from a Windows machine. Are you
> launching a remote process on the Solaris machine?
>
> Try setting the com.ibm.ra.llc.rawreport sytem variable to a file name
> on the Solaris file sytem.
>
> Paul
> "Wayne Sibley" <wayne.sibley@sercoassurance.com> wrote in message
> news:3084e187693b9bb45715fbf541feebd4$1@www.eclipse.org...
>>I am trying to get the Line Level Coverage working using a Solaris server
>>running JBoss and appropriate agent (4.2.1). When I try to collect the
>>data I get the following error message in the JBoss log:
>>
>> java.lang.Error: Line Level Coverage runtime error: cannot write to
>> C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/llc.UUID-1164634328-6140 64-1262132434-1721025130.1164636338656.rawreport
>> Check your com.ibm.ra.llc.rawreport property
>> Cause:
>> C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/llc.UUID-1164634328-6140 64-1262132434-1721025130.1164636338656.rawreport
>> (No such file or directory)
>> com.ibm.ra.llc.runtime.LLCDumpModule.createIOError(LLCDumpMo dule.java:110)
>> com.ibm.ra.llc.runtime.LLCDumpModule.emitCharsetXMLFragment( LLCDumpModule.java:104)
>> .
>> .
>> .
>>
>>
>> The path name specified is that on my local PC which is running Eclipse
>> 3.2.1 and TPTP 4.2.1. I'm slightly puzzled that the JBoss server has
>> complained about a location on my local PC but, either way, I can't find
>> any solution to the problem. The folder
>> C:/Programs/eclipse/workspaces/workspace1/.metadata/.plugins /org.eclipse.tptp.platform.llc.core/
>> does exist, but the file does not.
>>
>> Assistance greatly appreciated.
>>
>
>
Previous Topic:Profiling JUnit tests Headless to get Code Coverage.
Next Topic:Code Coverage Utility
Goto Forum:
  


Current Time: Tue Mar 19 04:58:15 GMT 2024

Powered by FUDForum. Page generated in 0.02361 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top