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 57231 - NPE when doing remote CPU profiling
Summary: NPE when doing remote CPU profiling
Status: CLOSED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: mishadmitriev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 04:57 UTC by mishadmitriev
Modified: 2007-02-12 22:24 UTC (History)
1 user (show)

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 mishadmitriev 2005-03-31 04:57:09 UTC
Originally reported as a part of issue 55921,
http://www.netbeans.org/issues/show_bug.cgi?id=55921

Re-created as a separate issue to improve tracking.


<7/03/2005 08:57:13 AM EST> <Info> <WebLogicServer> <BEA-000377> <Starting
WebLogic Server with JFluid Client VM 1.4.4 (based on Java HotSpot(TM) VM)
Version 1.4.2_04-b05 from Sun Microsystems Inc.> 
<7/03/2005 08:57:20 AM EST> <Info> <Configuration Management> <BEA-150016> <This
server is being started as the administration server.> 
<7/03/2005 08:57:21 AM EST> <Info> <Management> <BEA-141107> <Version: WebLogic
Server 8.1 SP3  Tue Jun 29 23:11:19 PDT 2004 404973 
WebLogic XMLX Module 8.1 SP3  Tue Jun 29 23:11:19 PDT 2004 404973 > 
<7/03/2005 08:57:26 AM EST> <Notice> <Management> <BEA-140005> <Loading domain
configuration from configuration repository at /ct/acct/bwatson/wls/./config.xml.> 
<7/03/2005 08:58:09 AM EST> <Notice> <Log Management> <BEA-170019> <The server
log file /ct/acct/bwatson/wls/brett8/brett8.log is opened. All server side log
events will be written to this file.> 
<7/03/2005 08:58:27 AM EST> <Critical> <WebLogicServer> <BEA-000364> <Server
failed during initialization. Exception:java.lang.NullPointerException
java.lang.NullPointerException
        at
com.sun.tools.profiler.server.ClassBytesLoader.getClassFileBytes(ClassBytesLoader.java:24)
        at
com.sun.tools.profiler.server.ProfilerInterface.classLoadHook(ProfilerInterface.java:598)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1622)
        at java.lang.Class.getConstructor0(Class.java:1931)
        at java.lang.Class.getConstructor(Class.java:1027)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:559)
        at
weblogic.management.commo.CommoProxy.createFreshProxy(CommoProxy.java:586)
        at
weblogic.management.commo.CommoProxy.getProxyInstance(CommoProxy.java:486)
        at weblogic.management.commo.CommoProxy.getCommoProxy(CommoProxy.java:182)
        at
weblogic.management.commo.CustomMBeanServerProxy.getMBean(CustomMBeanServerProxy.java:189)
        at
weblogic.management.mbeans.custom.SecurityConfiguration.objectNameToRealm(SecurityConfiguration.java:232)
        at
weblogic.management.mbeans.custom.SecurityConfiguration.findRealms(SecurityConfiguration.java:156)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:734)
        at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
        at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:487)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1559)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
        at
weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
        at
weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:944)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:953)
        at
weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:490)
        at
weblogic.management.configuration.SecurityConfigurationMBean_Stub.findRealms(SecurityConfigurationMBean_Stub.java:1068)
        at
weblogic.security.service.SecurityServiceManagerDelegateImpl.getDefaultRealm(SecurityServiceManagerDelegateImpl.java:326)
        at
weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:725)
        at
weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:876)
        at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:723)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:827)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:674)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:347)
        at weblogic.Server.main(Server.java:36)
> 
<7/03/2005 08:58:27 AM EST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to
initialize the server: java.lang.NullPointerException> 
***************************************************************************
The WebLogic Server did not start up properly.
java.lang.NullPointerException
        at
com.sun.tools.profiler.server.ClassBytesLoader.getClassFileBytes(ClassBytesLoader.java:24)
        at
com.sun.tools.profiler.server.ProfilerInterface.classLoadHook(ProfilerInterface.java:598)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1622)
        at java.lang.Class.getConstructor0(Class.java:1931)
        at java.lang.Class.getConstructor(Class.java:1027)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:559)
        at
weblogic.management.commo.CommoProxy.createFreshProxy(CommoProxy.java:586)
        at
weblogic.management.commo.CommoProxy.getProxyInstance(CommoProxy.java:486)
        at weblogic.management.commo.CommoProxy.getCommoProxy(CommoProxy.java:182)
        at
weblogic.management.commo.CustomMBeanServerProxy.getMBean(CustomMBeanServerProxy.java:189)
        at
weblogic.management.mbeans.custom.SecurityConfiguration.objectNameToRealm(SecurityConfiguration.jav
a:232)
        at
weblogic.management.mbeans.custom.SecurityConfiguration.findRealms(SecurityConfiguration.java:156)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:734)
        at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:710)
        at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:487)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1559)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
        at
weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:985)
        at
weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:944)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:953)
        at
weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:490)
        at
weblogic.management.configuration.SecurityConfigurationMBean_Stub.findRealms(SecurityConfigurationMBean_Stub.java:1068)
        at
weblogic.security.service.SecurityServiceManagerDelegateImpl.getDefaultRealm(SecurityServiceManagerDelegateImpl.java:326)
        at
weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:725)
        at
weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:876)
        at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:723)
        at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:827)
        at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:674)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:347)
        at weblogic.Server.main(Server.java:36)
Reason: java.lang.NullPointerException
***************************************************************************
Comment 1 mishadmitriev 2005-04-21 07:17:16 UTC
Now that we have released the Milestone 6 release of the Profiler, I would
suggest the user who originally reported the problem to download it and check if
the problem still exists. There is a chance that it has gone away; otherwise we
will hopefully get better/more up to date diagnostics.

Regards,

Misha
Comment 2 mishadmitriev 2005-04-27 05:19:22 UTC
If this issue is not confirmed within a week or so, I would be inclined to close
it. We fixed a number of profiler engine related problems in M6, and this could
well be a manifestation of one of them.
Comment 3 mishadmitriev 2005-05-04 02:15:09 UTC
Closing this issue for now as not confirmed/not reproducible.
Comment 4 ehucka 2006-10-09 12:08:29 UTC
Verification of old issues.
Comment 5 Alexander Kouznetsov 2007-02-12 22:24:07 UTC
Closing old issues.