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 69308 - NPE: ObjLivenessInstrCallsInjector.locateConstructorCallForNewOp
Summary: NPE: ObjLivenessInstrCallsInjector.locateConstructorCallForNewOp
Status: CLOSED DUPLICATE of bug 67346
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 08:06 UTC by jchristi
Modified: 2007-02-21 10:35 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 jchristi 2005-11-25 08:06:57 UTC
Had previous had application just being monitored/threads.

Modified profiling after startup to then be memory profiling, and during the
instrumentation go the following NPE


Profiler.attachToApp: ***************************************************
Profiler.attachToApp: profiling settings --------------------------------
name: Preset: Monitor
profilingType =1
overrideGlobalSettings =false
workingDir =
jvmArgs: 
javaPlatform =<project>
threadsMonitoringEnabled =true
excludeWaitTime =true
cpuProfilingType =0
instrScheme =1
threadCPUTimerOn =false
instrumentGetterSetterMethods =false
instrumentEmptyMethods =false
instrumentMethodInvoke =true
instrumentSpawnedThreads =false
nProfiledThreadsLimit =32
sortResultsByThreadCPUTime =false
samplingInterval =10
instrumentationRootMethods =[]
codeFragmentSelection =null
codeRegionCPUResBufSize =1000
runGCOnGetResultsInMemoryProfiling =true
allocTrackEvery =10
allocStackTraceLimit =0
selectedInstrFilter =

Profiler.attachToApp: attach settings ----------------------------------
target type =Application
server type =
remote =false
direct =true
ctrlBreak =true
pid =-1
workingDir =
host =
host os =Windows
transient port =-1

Profiler.attachToApp: ***************************************************
Instrumentation filter:
  Filter type: None
  Filter value:  
Profiler.modifyCurrentProfiling: name: FULL MEMORY
profilingType =4
overrideGlobalSettings =false
workingDir =
jvmArgs: 
javaPlatform =<project>
threadsMonitoringEnabled =true
excludeWaitTime =true
cpuProfilingType =0
instrScheme =1
threadCPUTimerOn =false
instrumentGetterSetterMethods =false
instrumentEmptyMethods =false
instrumentMethodInvoke =true
instrumentSpawnedThreads =false
nProfiledThreadsLimit =32
sortResultsByThreadCPUTime =false
samplingInterval =10
instrumentationRootMethods =[]
codeFragmentSelection =null
codeRegionCPUResBufSize =1000
runGCOnGetResultsInMemoryProfiling =true
allocTrackEvery =1
allocStackTraceLimit =-10
selectedInstrFilter =Profile All Classes

Instrumentation filter:
  Filter type: None
  Filter value:  
*** JFluid warning: unknown opcode: 207 detected at offset 131in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 211 detected at offset 135in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 222 detected at offset 139in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 226 detected at offset 143in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 237 detected at offset 147in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 241 detected at offset 151in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 252 detected at offset 155in class/method
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
Failed to locate constant pool ref for:
com/bmc/websdk/domain/account/hibernate/AccountBeanSupport$$FastClassByCGLIB$$a74d8d94
Failed to locate constant pool ref index: 141
*********** Exception occurred ************ at 2:03 AM on Nov 25, 2005
java.lang.NullPointerException
	at
com.sun.tools.profiler.instrumentation.ObjLivenessInstrCallsInjector.locateConstructorCallForNewOp(ObjLivenessInstrCallsInjector.java:138)
	at
com.sun.tools.profiler.instrumentation.ObjLivenessInstrCallsInjector.instrumentMethod(ObjLivenessInstrCallsInjector.java:92)
	at
com.sun.tools.profiler.instrumentation.InstrumentationFactory.instrumentForMemoryProfiling(InstrumentationFactory.java:60)
	at
com.sun.tools.profiler.instrumentation.ObjLivenessMethodInstrumentor.instrumentMethod(ObjLivenessMethodInstrumentor.java:58)
	at
com.sun.tools.profiler.instrumentation.MemoryProfMethodInstrumentor.createInstrumentedMethodPack15(MemoryProfMethodInstrumentor.java:211)
	at
com.sun.tools.profiler.instrumentation.MemoryProfMethodInstrumentor.createInstrumentedMethodPack(MemoryProfMethodInstrumentor.java:146)
	at
com.sun.tools.profiler.instrumentation.MemoryProfMethodInstrumentor.getInitialMethodsToInstrument(MemoryProfMethodInstrumentor.java:64)
	at
com.sun.tools.profiler.instrumentation.Instrumentor.createInitialInstrumentMethodGroupResponseForMemoryProfiling(Instrumentor.java:483)
	at
com.sun.tools.profiler.instrumentation.Instrumentor.createInitialInstrumentMethodGroupResponse(Instrumentor.java:86)
	at
com.sun.tools.profiler.ProfilerClient.instrumentMethodGroupFromRoot(ProfilerClient.java:847)
	at com.sun.tools.profiler.ProfilerClient.access$2700(ProfilerClient.java:46)
[catch] at
com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:1558)
Comment 1 iformanek 2005-11-30 11:44:00 UTC

*** This issue has been marked as a duplicate of 67346 ***
Comment 2 ehucka 2006-10-09 12:11:08 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-21 10:35:20 UTC
Closing old issues