This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 71096 - Dynamic attach doesn't work
Summary: Dynamic attach doesn't work
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
: 71095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-06 14:46 UTC by Jiri Sedlacek
Modified: 2007-03-14 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2006-01-06 14:46:03 UTC
Dynamic attach is not working, throwing this exception on profiled 
application's console:

java.lang.ExceptionInInitializerError
        at com.sun.tools.profiler.server.ProfilerServer.doActivate
(ProfilerServer.java:370)
        at com.sun.tools.profiler.server.ProfilerServer.access$400
(ProfilerServer.java:34)
        at com.sun.tools.profiler.server.ProfilerServer$AttachDynamicThread.run
(ProfilerServer.java:353)
Caused by: java.util.MissingResourceException: Can't find bundle for base name 
com.sun.tools.profiler.server.Bundle, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException
(ResourceBundle.java:839)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:808)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:552)
        at com.sun.tools.profiler.server.ProfilerInterface.<clinit>
(ProfilerInterface.java:34)
        ... 3 more
Comment 1 Jiri Sedlacek 2006-01-06 14:48:06 UTC
*** Issue 71095 has been marked as a duplicate of this issue. ***
Comment 2 arseniy 2006-01-08 11:43:13 UTC
too late to fix for 5.0 -- setting TM for 5.1
Comment 3 Jiri Sedlacek 2006-01-09 16:46:50 UTC
Fixed for M12.
Comment 4 ehucka 2006-01-10 10:50:42 UTC
Attaching to running vm produce:

java.lang.NullPointerException
com.sun.tools.profiler.server.ThreadInfo.addProfilerServerThread(ThreadInfo.java:230)
com.sun.tools.profiler.server.ProfilerServer$AttachDynamicThread.<init>(ProfilerServer.java:301)
com.sun.tools.profiler.server.ProfilerServer.activate(ProfilerServer.java:291)
Comment 5 ehucka 2006-01-10 13:14:04 UTC
Sorry, it was an old build.
Comment 6 Alexander Kouznetsov 2007-03-14 10:09:22 UTC
Closing old issues