File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes VisualVM/jHat OQL toString() Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "VisualVM/jHat OQL toString() Error" Watch "VisualVM/jHat OQL toString() Error" New topic
Author

VisualVM/jHat OQL toString() Error

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
I just followed the documentation and used the following OQL (taken directly from the example) in VisualVM/JHat but it gives me an exception:





Is there any way to get rid of the null objects first in my search before calling its toString()?
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 861
can you put a check for null first.

where /java/(s!=null && s.value.toString())


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
What is the meaning of the expression after /..../? From my knowledge of client side javascript, an regular expression literal is those things between the pair of /. What are all those things inside the bracket after the regular expression literal? Is it some ecmascript syntax not used with javascript in the browser?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: VisualVM/jHat OQL toString() Error