jvisualvm just throws an NPE on starting any java application

Bug #422303 reported by Nonconventionally Creative
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
visualvm (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Hardy by Nonconventionally Creative
Nominated for Intrepid by Nonconventionally Creative
Nominated for Jaunty by Nonconventionally Creative
Nominated for Karmic by Nonconventionally Creative

Bug Description

Binary package hint: visualvm

Ubuntu 9.04
visualvm 0.20080728-1ubuntu2
Expected: running jvisualvm at the same time as a java application will allow profiling of the application.
Actual: instead of showing running java applications, the openjdk version of jvisualvm just displays a message with an NPE when a java program is started, or if the java application is started first, on startup. In addition, jvisualvm's own task appears as <Unknown Application>

the sun jdk jvisualvm in /usr/lib/jvm/java-6-sun-1.6.0.14/bin/ shows running java tasks properly, even with update-java-alternatives set to openjdk

in addition, as a feature request, jvisualvm should be added to the rest of the stufff instead of providing nothing for sun's and symlinking /usr/bin/jvisualvm to ../lib/jvm/java-6-openjdk/bin/jvisualvm

Attached is the full log, for the error, grep -A 17 SEVERE messages.log
Edit: okay, my paranoia about not including my username in the log has proven useless given how I pasted the filepath to be helpful.

Revision history for this message
Nonconventionally Creative (br-longbons) wrote :
description: updated
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this reproducible in Lucid's version (1.2.1)?

Changed in visualvm (Ubuntu):
status: New → Incomplete
Revision history for this message
Nonconventionally Creative (br-longbons) wrote :

It is fixed in 1.2.1-0ubuntu3 (in a debootstrap chroot).
Fixed upstream with note:
https://visualvm.dev.java.net/troubleshooting.html#jvmstat6u12

Changed in visualvm (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.