Community
Participate
Working Groups
What steps will reproduce the problem? 1. Press the drop down arrow next to a C++ binary or shared library 2. Right click on one of the symbols listed 3. Click on "Open Call Hierarchy" -- Error Details -- Date: Thu Mar 10 04:20:14 PST 2011 Message: An internal error occurred during: "Child Node Computation". Severity: Error Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.java.product) Plugin: org.eclipse.core.jobs Session Data: eclipse.buildId=M20110210-1200 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -data /home/pbrook/research_workspace -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product Exception Stack Trace: java.lang.NullPointerException at org.eclipse.cdt.internal.ui.callhierarchy.CHQueries.findCalledBy(CHQueries.java:60) at org.eclipse.cdt.internal.ui.callhierarchy.CHContentProvider.asyncronouslyComputeReferencedBy(CHContentProvider.java:160) at org.eclipse.cdt.internal.ui.callhierarchy.CHContentProvider.asyncronouslyComputeChildren(CHContentProvider.java:102) at org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider.runJob(AsyncTreeContentProvider.java:223) at org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider.access$0(AsyncTreeContentProvider.java:218) at org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider$1.run(AsyncTreeContentProvider.java:63) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
*** cdt cvs genie on behalf of mschorn *** Bug 339501: NPE in Call Hierarchy. [*] CHQueries.java 1.20 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/callhierarchy/CHQueries.java?root=Tools_Project&r1=1.19&r2=1.20
I simply fixed the NPE. Note, that the call-hierarchy does not work for functions found in the binaries.