- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPJmeter NullPointerException on hprof.txt files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 06:26 AM
тАО04-02-2009 06:26 AM
-agentlib:hprof=cpu=times,thread=y,cutoff=0,format=a,file=someFile.hprof.txt
HPJmeter fails to read the resultant file with the following exception:
java.lang.NullPointerException
at com.hp.jmeter.f.jb.a(Unknown Source)
at com.hp.jmeter.f.a.a(Unknown Source)
at com.hp.c.a.j.z.run(Unknown Source)
Exception in thread "HPeprofDataFileReaderThread" java.lang.AssertionError: null pointer exception from loader
at com.hp.jmeter.f.a.a(Unknown Source)
at com.hp.c.a.j.z.run(Unknown Source)
According to the documentation, this scenario should be supported, no? Am I missing something? Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:44 AM
тАО04-03-2009 12:44 AM
Re: HPJmeter NullPointerException on hprof.txt files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 10:10 AM
тАО04-03-2009 10:10 AM
Re: HPJmeter NullPointerException on hprof.txt files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 10:31 AM
тАО04-03-2009 10:31 AM
Re: HPJmeter NullPointerException on hprof.txt files
I believe that what Dennis is telling you is that if (and you should) have a HP SW support contract on the stock OS delivered with the system then you should draw upon that resource. It's not necessary to have a support contract on HPJmeter specifically.
This of course assume that the error is occuring on an HP server. If this is occurring on a Sun system then the ball is in their court.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 10:44 AM
тАО04-03-2009 10:44 AM
Re: HPJmeter NullPointerException on hprof.txt files
HPjmeter is an excellent tool for analyzing "-agentlib:hprof" output files on *any* system and I've had success with it in the past on HP-UX and elsewhere.
However, HPjmeter itself is emitting the above exception during the initial parsing of the *.hprof.txt file output by a variety of JVMs that I currently have access to:
- JRockit 1.5.0_14/Windows
- Sun 1.5.0_18/Windows
- Sun 1.6.0_03/Solaris
- Sun 1.6.0_13/Windows
I would hate to give up on HPjmeter but I'm not sure how to proceed. Since the source is not provided and the bytecode is obfuscated, it's hard to tell what the exact cause of the error is.
Any help would be greatly appreciated!
Thanks,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:03 PM
тАО04-03-2009 12:03 PM
Re: HPJmeter NullPointerException on hprof.txt files
Since this is Java I can't see them wanting to charge you for support on a "free" product.
But it can't hurt to possibly getting an account (free) on the HP ITRC (Internet Tech Resouce Center - www.itrc.hp.com) and dropping a question to HP directly or to the excellent forum they host.
I can personally vouch for the top-notch quality of the talent you can find there.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:07 PM
тАО04-03-2009 12:07 PM
Re: HPJmeter NullPointerException on hprof.txt files
Further, I can't see how to submit a question without a support contract number. What am I missing?
Finally, I can't see how OS patch level would affect this particular issue. I have a plain text file that's supposed to be readable by the standalone HPjmeter analysis tool, and the tool is failing to read the file.
Sorry if I'm not being clear...
Thanks!
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:15 PM
тАО04-03-2009 12:15 PM
Re: HPJmeter NullPointerException on hprof.txt files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 03:32 PM
тАО04-03-2009 03:32 PM
Re: HPJmeter NullPointerException on hprof.txt files
That's correct, a HP-UX support contract. Unless there is a feedback link where you downloaded it.
>I can't see how OS patch level would affect this particular issue.
It may prevent the original problem from occurring? ;-)
Or the hprof.txt may look different?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 06:48 PM
тАО04-05-2009 06:48 PM
Re: HPJmeter NullPointerException on hprof.txt files
Dennis: I think you are overlooking one critical detail in my original post: I'm trying to use HPjmeter to analyze a *performance profiling* hprof output from the JVM. The JVM is *not* crashing. I'm instructing the JVM to create the profiling output on purpose using the "-agentlib" arguments I detailed in my initial post.
I cannot see how the format of that output would be affected by any factors external to the JVM itself. The fact that HPjmeter cannot read this file seems to indicate that either:
1) there's a bug in HPjmeter
or
2) the Sun JVM is not supported by HPjmeter
Since I have had succes in a past life using HPjmeter to read performance profiling output from the Sun JVM, I feel that there must be some bug in HPjmeter that's tripping it up while parsing my current output.
However, since HPjmeter does not come with source code, and since the exception that HPjmeter is throwing is not helpful (see the original post) I do not see how I can proceed without help from either HP or from another user who has encountered and solved this issue. Hence my original post.
The only support link on the HPjmter page that's linked from http://www.hp.com/go/java (the download location) indicates that a support contract is required, so does that mean that the product is provided "as-is" to the rest of us?
Is HP really only in bugs in HPjmeter that are discovered by people who happen to have support contracts for another HP product?
Thanks!
Dave