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 67346 - NullPointerException when trying to startup Memory Analyzer
Summary: NullPointerException when trying to startup Memory Analyzer
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: iformanek
URL:
Keywords:
: 69031 69308 69887 70164 70264 70564 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-22 14:42 UTC by paul_netbeans
Modified: 2007-02-20 18:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (17.51 KB, text/plain)
2005-10-26 12:32 UTC, sergioborges
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paul_netbeans 2005-10-22 14:42:38 UTC
A NullPointerException is thrown when trying to start up the memory analyzer.
The error message suggested that I should attach a copy of my messages.log, this
is as follows:

>Log Session: Saturday, October 22, 2005 2:12:59 PM BST
>System Info: 
  Product Version       = NetBeans IDE 5.0 Beta (Build 200509261930)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05; Sun
Microsystems Inc.
  Java Home             = C:\Program Files\Java\jdk1.5.0_05\jre
  System Locale; Encod. = en_GB (nb); Cp1252
  Home Dir; Current Dir = C:\Documents and Settings\paul; C:\Program
Files\netbeans-5.0beta
  IDE Install; User Dir = C:\Program Files\netbeans-5.0beta\platform6;
C:\Documents and Settings\paul\.netbeans\5.0beta
  CLASSPATH             = C:\Program
Files\netbeans-5.0beta\platform6\lib\boot.jar;C:\Program
Files\netbeans-5.0beta\platform6\lib\org-openide-modules.jar;C:\Program
Files\netbeans-5.0beta\platform6\lib\org-openide-util.jar;C:\Program
Files\Java\jdk1.5.0_05\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_05\lib\tools.jar
  Boot & ext classpath  = C:\Program
Files\Java\jdk1.5.0_05\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\i18n.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\classes;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\dnsns.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\localedata.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\sunjce_provider.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\sunpkcs11.jar
  Dynamic classpath     = C:\Program
Files\netbeans-5.0beta\platform6\core\core.jar;C:\Program
Files\netbeans-5.0beta\platform6\core\org-openide-filesystems.jar;C:\Program
Files\netbeans-5.0beta\platform6\core\updater.jar;C:\Program
Files\netbeans-5.0beta\nb5.0\core\org-netbeans-upgrader.jar;C:\Program
Files\netbeans-5.0beta\nb5.0\core\locale\core_nb.jar;C:\Program
Files\netbeans-5.0beta\nb5.0\core\locale\updater_nb.jar;C:\Program
Files\netbeans-5.0beta\ide6\core\org-netbeans-modules-utilities-cli.jar
-------------------------------------------------------------------------------
[org.netbeans.core.modules #2] Disabling openide load optimizations due to use
of org.openide.compat
[org.netbeans.core.modules #2] Warning: the module org.netbeans.modules.java
uses org.openide.compat which is deprecated: The classes in this API are all
deprecated and can be replaced by more modern APIs.
Turning on modules:
	org.openide.util [6.4.1 200509261930]
	org.openide.modules [6.3.1 200509261930]
	org.openide.awt [6.5.1 200509261930]
	org.openide.filesystems [6.2.1 200509261930]
	org.openide.dialogs [6.2.1 200509261930]
	org.openide.nodes [6.5.1 200509261930]
	org.openide.windows [6.2.1 200509261930]
	org.openide.options [6.2.1 200509261930]
	org.openide.text [6.6.1 200509261930]
	org.openide.explorer [6.3.1 1 200509261930]
	org.openide.actions [6.3.1 200509261930]
	org.openide.loaders [5.6.1 200509261930]
	org.netbeans.core.multiview/1 [1.6.1 200509261930]
	org.netbeans.modules.xml.multiview/1 [1.2.1.2 2 200509261930]
	javax.jmi.reflect/1 [1.5.1 200509261930]
	org.netbeans.jmi.javamodel/2 [1.18.1 200509261930]
	org.netbeans.modules.editor.mimelookup/1 [1.1.1 200509261930]
	org.netbeans.modules.editor.settings/1 [1.2.1 200509261930]
	org.netbeans.modules.editor.util/1 [1.6.1 200509261930]
	org.netbeans.modules.editor.fold/1 [1.3.1 200509261930]
	org.netbeans.modules.editor.lib/1 [1.7.1.1 1 200509261930]
	org.netbeans.modules.queries/1 [1.5.1 200509261930]
	org.openidex.util/3 [3.7.1 200509261930]
	org.netbeans.modules.editor.settings.storage/1 [1.2.1 200509261930]
	org.netbeans.modules.editor/3 [1.24.1.1 200509261930]
	org.netbeans.modules.editor.completion/1 [1.1.1 200509261930]
	org.netbeans.modules.html.editor.lib/1 [1.2.1 200509261930]
	org.openide.io [1.7.1 200509261930]
	org.netbeans.core.output2/1 [1.5.1.1 1 200509261930]
	org.netbeans.modules.projectapi/1 [1.7.1 200509261930]
	org.netbeans.modules.servletapi/1 [1.7.1 200509261930]
	org.netbeans.modules.httpserver/2 [2.3.1.42 42 200509261930]
	org.netbeans.api.xml/1 [1.10.1 200509261930]
	org.netbeans.spi.navigator/1 [1.0.1 200509261930]
	org.netbeans.modules.xml.core/2 [1.9.1.4 4 200509261930]
	org.openide.execution [1.6.1 200509261930]
	org.netbeans.api.progress/1 [1.0.1 200509261930]
	org.netbeans.modules.projectuiapi/1 [1.11.1.5 5 200509261930]
	org.netbeans.modules.xsl/1 [1.9.1.4 200509261930]
	org.netbeans.bootstrap/1 [2.1.1 200509261930]
	org.netbeans.core.startup/1 [1.3.1 200509261930]
	org.netbeans.swing.plaf [1.3.1 200509261930]
	org.netbeans.core/2 [3.0.1.1 200509261930]
	org.openide.compat [6.2.1 200509261930]
	org.netbeans.api.java/1 [1.8.1 200509261930]
	org.openide.src [1.6.1 200509261930]
	org.netbeans.modules.classfile/1 [1.15.1 200509261930]
	org.netbeans.api.mdr/1 [1.2.1 200509261930]
	javax.jmi.model/1 [1.5.1 200509261930]
	org.netbeans.modules.jmiutils/1 [1.3.1.2 2 200509261930]
	org.netbeans.modules.mdr/1 [1.3.1.2.2 2 200509261930]
	org.netbeans.modules.javacore/1 [1.15.1.2.2 200509261930]
	org.netbeans.modules.editor.errorstripe.api/1 [2.0.1.1 1 200509261930]
	org.netbeans.modules.java/1 [1.23.1.2.2.2 2 200509261930]
	org.netbeans.tasklistapi/1 [1.18.1.7 7 200509261930]
	org.jdesktop.layout/1 [1.1.1 0.7 200509261930]
	org.netbeans.libs.formlayout/1 [1.0.1 1 200509261930]
	org.netbeans.modules.options.api/0 [1.0.1 200509261930]
	org.netbeans.core.execution/1 [1.7.1 200509261930]
	org.apache.tools.ant.module/3 [3.22.1 200509261930]
	org.netbeans.modules.ant.browsetask [1.9.1 200509261930]
	org.netbeans.modules.schema2beans/1 [1.12.1 200509261930]
	org.netbeans.libs.xerces/1 [1.6.1 2.6.2 200509261930]
	org.netbeans.modules.j2ee.dd/1 [1.5.1.2 2 200509261930]
	org.netbeans.modules.j2ee.dd.webservice [1.1.1 200509261930]
	org.netbeans.api.web.webmodule [1.4.1 200509261930]
	org.netbeans.modules.project.ant/1 [1.10.1 200509261930]
	org.netbeans.modules.web.examples/1 [1.3.1 200509261930]
	org.netbeans.modules.websvc.clientapi [1.2.1 200509261930]
	org.netbeans.core.ui/1 [1.7.1 200509261930]
	org.netbeans.modules.css/2 [1.9.1 200509261930]
	org.netbeans.libs.commons_logging/1 [1.1.1 1.0.4 200509261930]
	org.netbeans.modules.servletapi24/1 [2.4.1 2.4 200509261930]
	org.netbeans.modules.web.jspparser/2 [2.3.1 200509261930]
	org.netbeans.modules.j2eeapis/1 [1.4.1 200509261930]
	org.netbeans.modules.settings/1 [1.8.1 200509261930]
	org.netbeans.spi.viewmodel/2 [1.7.1 200509261930]
	org.netbeans.api.debugger/1 [1.5.1 200509261930]
	org.netbeans.api.debugger.jpda/2 [2.1.1 200509261930]
	org.netbeans.modules.java.platform/1 [1.5.1 200509261930]
	org.netbeans.modules.project.libraries/1 [1.11.1 200509261930]
	org.netbeans.modules.j2eeserver/3 [1.9.1 200509261930]
	org.netbeans.modules.websvc.websvcapi [1.2.1 200509261930]
	org.netbeans.modules.xml.catalog/2 [1.8.1.4.4 4 200509261930]
	org.netbeans.modules.masterfs/1 [1.5.1 200509261930]
	org.netbeans.modules.projectui [1.5.2.5 200509261930]
	org.netbeans.modules.java.project/1 [1.6.1 200509261930]
	org.netbeans.modules.j2ee.api.ejbmodule [1.2.1 200509261930]
	org.netbeans.modules.junit/2 [2.17.1 200509261930]
	org.netbeans.modules.web.project [1.1.1 200509261930]
	org.netbeans.modules.ant.freeform [1.6.1 200509261930]
	org.netbeans.modules.java.freeform/1 [1.2.1 200509261930]
	org.netbeans.modules.j2ee.ejbfreeform [1.2.1 200509261930]
	org.netbeans.modules.ant.grammar/1 [1.12.1 200509261930]
	org.netbeans.modules.jmxri/1 [1.0.1 1 200509261930]
	org.netbeans.modules.j2ee.weblogic9/1 [1.1.1 200509261930]
	org.netbeans.modules.j2ee.platform/1 [1.1.1 200509261930]
	org.netbeans.modules.java.examples/1 [1.3.1 200509261930]
	org.netbeans.modules.properties/1 [1.15.1 200509261930]
	org.netbeans.modules.properties.syntax/1 [1.15.1 200509261930]
	org.netbeans.modules.debugger.jpda/2 [1.14.1 200509261930]
	org.netbeans.spi.debugger.ui/1 [2.6.1 200509261930]
	org.netbeans.modules.debugger.jpda.ui/1 [1.3.1 200509261930]
	org.netbeans.modules.debugger.jpda.ant [1.5.1 200509261930]
	org.netbeans.modules.java.j2seproject [1.4.1.42 42 200509261930]
	org.netbeans.modules.profiler/1 [0.9 050926]
	org.netbeans.modules.profiler.j2ee.jboss/1 [0.90 050926]
	org.netbeans.modules.j2ee.ant [1.4.1 200509261930]
	org.netbeans.modules.apisupport.ant [2.27.1 200509261930]
	org.netbeans.modules.javahelp/1 [2.6.1 200509261930]
	org.netbeans.modules.xml.tax/2 [1.9.1.4.4 4 200509261930]
	org.netbeans.modules.apisupport.project [1.9.1.5.4 5 200509261930]
	org.netbeans.modules.profiler.j2ee.tomcat/1 [0.90 050926]
	org.netbeans.modules.j2ee.jboss4/1 [1.1.1 200509261930]
	org.netbeans.modules.java.navigation/1 [1.0.1 200509261930]
	org.netbeans.spi.palette/0 [1.3.1 200509261930]
	org.netbeans.modules.refactoring/1 [1.12.1.3.2 3 200509261930]
	org.netbeans.modules.form/2 [1.17.1 1 200509261930]
	org.netbeans.modules.i18n/1 [1.18.1 200509261930]
	org.netbeans.modules.i18n.form/2 [1.16.1 200509261930]
	org.netbeans.modules.image/1 [1.15.1 200509261930]
	org.netbeans.modules.xml.tools/2 [1.9.1.4.4.4 4 200509261930]
	org.netbeans.modules.java.editor.lib/1 [1.2.1 200509261930]
	org.netbeans.modules.editor.codetemplates/1 [1.0.1 200509261930]
	org.netbeans.modules.java.editor/1 [1.2.1 200509261930]
	org.netbeans.modules.j2ee.common/1 [1.2.1 200509261930]
	org.netbeans.modules.websvc.registry [1.0.1 200509261930]
	org.netbeans.modules.websvc.core [1.2.1.1.4.4 1 200509261930]
	org.netbeans.modules.websvc.dev/1 [1.3.1.1 200509261930]
	org.netbeans.modules.apisupport.refactoring [1.0.1.5 200509261930]
	org.netbeans.modules.html.editor/1 [1.2.1 200509261930]
	org.netbeans.modules.editor.plain.lib/1 [1.1.1 200509261930]
	org.netbeans.modules.editor.plain/1 [1.1.1 200509261930]
	org.netbeans.modules.autoupdate/1 [2.14.1 200509261930]
	org.netbeans.modules.options.editor/1 [1.0.1 200509261930]
	org.netbeans.modules.utilities/1 [1.19.1 200509261930]
	org.netbeans.modules.utilities.project/1 [1.3.1 200509261930]
	org.netbeans.modules.j2ee.genericserver [1.1.1 200509261930]
	org.netbeans.modules.editor.errorstripe/2 [2.0.1.1.1 1 200509261930]
	org.netbeans.modules.welcome/1 [1.8.1 200509261930]
	org.netbeans.modules.editor.hints/1 [1.7.1.1 1 200509261930]
	org.netbeans.modules.j2ee.debug/1 [1.1.1 200509261930]
	org.netbeans.swing.tabcontrol [1.4.1 200509261930]
	org.netbeans.core.windows/2 [2.5.1.1 200509261930]
	org.netbeans.modules.tasklist.core/2 [1.35.1.16.7 16 200509261930]
	org.netbeans.modules.suggestions_framework/2 [1.13.1.9.16.7 9
200509-------------------------------------------------------------------------------
>Log Session: Saturday, October 22, 2005 2:15:25 PM BST
>System Info: 
  Product Version       = NetBeans IDE 5.0 Beta (Build 200509261930)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05; Sun
Microsystems Inc.
  Java Home             = C:\Program Files\Java\jdk1.5.0_05\jre
  System Locale; Encod. = en_GB (nb); Cp1252
  Home Dir; Current Dir = C:\Documents and Settings\paul; C:\Program
Files\netbeans-5.0beta
  IDE Install; User Dir = C:\Program Files\netbeans-5.0beta\platform6;
C:\Documents and Settings\paul\.netbeans\5.0beta
  CLASSPATH             = C:\Program
Files\netbeans-5.0beta\platform6\lib\boot.jar;C:\Program
Files\netbeans-5.0beta\platform6\lib\org-openide-modules.jar;C:\Program
Files\netbeans-5.0beta\platform6\lib\org-openide-util.jar;C:\Program
Files\Java\jdk1.5.0_05\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_05\lib\tools.jar
  Boot & ext classpath  = C:\Program
Files\Java\jdk1.5.0_05\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\i18n.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\classes;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\dnsns.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\localedata.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\sunjce_provider.jar;C:\Program
Files\Java\jdk1.5.0_05\jre\lib\ext\sunpkcs11.jar
  Dynamic classpath     = C:\Program
Files\netbeans-5.0beta\platform6\core\core.jar;C:\Program
Files\netbeans-5.0beta\platform6\core\org-openide-filesystems.jar;C:\Program
Files\netbeans-5.0beta\platform6\core\updater.jar;C:\Program
Files\netbeans-5.0beta\nb5.0\core\org-netbeans-upgrader.jar;C:\Program
Files\netbeans-5.0beta\nb5.0\core\locale\core_nb.jar;C:\Program
Files\netbeans-5.0beta\nb5.0\core\locale\updater_nb.jar;C:\Program
Files\netbeans-5.0beta\ide6\core\org-netbeans-modules-utilities-cli.jar
-------------------------------------------------------------------------------
[org.netbeans.core.modules #2] Disabling openide load optimizations due to use
of org.openide.compat
[org.netbeans.core.modules #2] Warning: the module org.netbeans.modules.java
uses org.openide.compat which is deprecated: The classes in this API are all
deprecated and can be replaced by more modern APIs.
Turning on modules:
	org.openide.util [6.4.1 200509261930]
	org.openide.modules [6.3.1 200509261930]
	org.openide.awt [6.5.1 200509261930]
	org.openide.filesystems [6.2.1 200509261930]
	org.openide.dialogs [6.2.1 200509261930]
	org.openide.nodes [6.5.1 200509261930]
	org.openide.windows [6.2.1 200509261930]
	org.openide.options [6.2.1 200509261930]
	org.openide.text [6.6.1 200509261930]
	org.openide.explorer [6.3.1 1 200509261930]
	org.openide.actions [6.3.1 200509261930]
	org.openide.loaders [5.6.1 200509261930]
	org.netbeans.core.multiview/1 [1.6.1 200509261930]
	org.netbeans.modules.xml.multiview/1 [1.2.1.2 2 200509261930]
	javax.jmi.reflect/1 [1.5.1 200509261930]
	org.netbeans.jmi.javamodel/2 [1.18.1 200509261930]
	org.netbeans.modules.editor.mimelookup/1 [1.1.1 200509261930]
	org.netbeans.modules.editor.settings/1 [1.2.1 200509261930]
	org.netbeans.modules.editor.util/1 [1.6.1 200509261930]
	org.netbeans.modules.editor.fold/1 [1.3.1 200509261930]
	org.netbeans.modules.editor.lib/1 [1.7.1.1 1 200509261930]
	org.netbeans.modules.queries/1 [1.5.1 200509261930]
	org.openidex.util/3 [3.7.1 200509261930]
	org.netbeans.modules.editor.settings.storage/1 [1.2.1 200509261930]
	org.netbeans.modules.editor/3 [1.24.1.1 200509261930]
	org.netbeans.modules.editor.completion/1 [1.1.1 200509261930]
	org.netbeans.modules.html.editor.lib/1 [1.2.1 200509261930]
	org.openide.io [1.7.1 200509261930]
	org.netbeans.core.output2/1 [1.5.1.1 1 200509261930]
	org.netbeans.modules.projectapi/1 [1.7.1 200509261930]
	org.netbeans.modules.servletapi/1 [1.7.1 200509261930]
	org.netbeans.modules.httpserver/2 [2.3.1.42 42 200509261930]
	org.netbeans.api.xml/1 [1.10.1 200509261930]
	org.netbeans.spi.navigator/1 [1.0.1 200509261930]
	org.netbeans.modules.xml.core/2 [1.9.1.4 4 200509261930]
	org.openide.execution [1.6.1 200509261930]
	org.netbeans.api.progress/1 [1.0.1 200509261930]
	org.netbeans.modules.projectuiapi/1 [1.11.1.5 5 200509261930]
	org.netbeans.modules.xsl/1 [1.9.1.4 200509261930]
	org.netbeans.bootstrap/1 [2.1.1 200509261930]
	org.netbeans.core.startup/1 [1.3.1 200509261930]
	org.netbeans.swing.plaf [1.3.1 200509261930]
	org.netbeans.core/2 [3.0.1.1 200509261930]
	org.openide.compat [6.2.1 200509261930]
	org.netbeans.api.java/1 [1.8.1 200509261930]
	org.openide.src [1.6.1 200509261930]
	org.netbeans.modules.classfile/1 [1.15.1 200509261930]
	org.netbeans.api.mdr/1 [1.2.1 200509261930]
	javax.jmi.model/1 [1.5.1 200509261930]
	org.netbeans.modules.jmiutils/1 [1.3.1.2 2 200509261930]
	org.netbeans.modules.mdr/1 [1.3.1.2.2 2 200509261930]
	org.netbeans.modules.javacore/1 [1.15.1.2.2 200509261930]
	org.netbeans.modules.editor.errorstripe.api/1 [2.0.1.1 1 200509261930]
	org.netbeans.modules.java/1 [1.23.1.2.2.2 2 200509261930]
	org.netbeans.tasklistapi/1 [1.18.1.7 7 200509261930]
	org.jdesktop.layout/1 [1.1.1 0.7 200509261930]
	org.netbeans.libs.formlayout/1 [1.0.1 1 200509261930]
	org.netbeans.modules.options.api/0 [1.0.1 200509261930]
	org.netbeans.core.execution/1 [1.7.1 200509261930]
	org.apache.tools.ant.module/3 [3.22.1 200509261930]
	org.netbeans.modules.ant.browsetask [1.9.1 200509261930]
	org.netbeans.modules.schema2beans/1 [1.12.1 200509261930]
	org.netbeans.libs.xerces/1 [1.6.1 2.6.2 200509261930]
	org.netbeans.modules.j2ee.dd/1 [1.5.1.2 2 200509261930]
	org.netbeans.modules.j2ee.dd.webservice [1.1.1 200509261930]
	org.netbeans.api.web.webmodule [1.4.1 200509261930]
	org.netbeans.modules.project.ant/1 [1.10.1 200509261930]
	org.netbeans.modules.web.examples/1 [1.3.1 200509261930]
	org.netbeans.modules.websvc.clientapi [1.2.1 200509261930]
	org.netbeans.core.ui/1 [1.7.1 200509261930]
	org.netbeans.modules.css/2 [1.9.1 200509261930]
	org.netbeans.libs.commons_logging/1 [1.1.1 1.0.4 200509261930]
	org.netbeans.modules.servletapi24/1 [2.4.1 2.4 200509261930]
	org.netbeans.modules.web.jspparser/2 [2.3.1 200509261930]
	org.netbeans.modules.j2eeapis/1 [1.4.1 200509261930]
	org.netbeans.modules.settings/1 [1.8.1 200509261930]
	org.netbeans.spi.viewmodel/2 [1.7.1 200509261930]
	org.netbeans.api.debugger/1 [1.5.1 200509261930]
	org.netbeans.api.debugger.jpda/2 [2.1.1 200509261930]
	org.netbeans.modules.java.platform/1 [1.5.1 200509261930]
	org.netbeans.modules.project.libraries/1 [1.11.1 200509261930]
	org.netbeans.modules.j2eeserver/3 [1.9.1 200509261930]
	org.netbeans.modules.websvc.websvcapi [1.2.1 200509261930]
	org.netbeans.modules.xml.catalog/2 [1.8.1.4.4 4 200509261930]
	org.netbeans.modules.masterfs/1 [1.5.1 200509261930]
	org.netbeans.modules.projectui [1.5.2.5 200509261930]
	org.netbeans.modules.java.project/1 [1.6.1 200509261930]
	org.netbeans.modules.j2ee.api.ejbmodule [1.2.1 200509261930]
	org.netbeans.modules.junit/2 [2.17.1 200509261930]
	org.netbeans.modules.web.project [1.1.1 200509261930]
	org.netbeans.modules.ant.freeform [1.6.1 200509261930]
	org.netbeans.modules.java.freeform/1 [1.2.1 200509261930]
	org.netbeans.modules.j2ee.ejbfreeform [1.2.1 200509261930]
	org.netbeans.modules.ant.grammar/1 [1.12.1 200509261930]
	org.netbeans.modules.jmxri/1 [1.0.1 1 200509261930]
	org.netbeans.modules.j2ee.weblogic9/1 [1.1.1 200509261930]
	org.netbeans.modules.j2ee.platform/1 [1.1.1 200509261930]
	org.netbeans.modules.java.examples/1 [1.3.1 200509261930]
	org.netbeans.modules.properties/1 [1.15.1 200509261930]
	org.netbeans.modules.properties.syntax/1 [1.15.1 200509261930]
	org.netbeans.modules.debugger.jpda/2 [1.14.1 200509261930]
	org.netbeans.spi.debugger.ui/1 [2.6.1 200509261930]
	org.netbeans.modules.debugger.jpda.ui/1 [1.3.1 200509261930]
	org.netbeans.modules.debugger.jpda.ant [1.5.1 200509261930]
	org.netbeans.modules.java.j2seproject [1.4.1.42 42 200509261930]
	org.netbeans.modules.profiler/1 [0.9 050926]
	org.netbeans.modules.profiler.j2ee.jboss/1 [0.90 050926]
	org.netbeans.modules.j2ee.ant [1.4.1 200509261930]
	org.netbeans.modules.apisupport.ant [2.27.1 200509261930]
	org.netbeans.modules.javahelp/1 [2.6.1 200509261930]
	org.netbeans.modules.xml.tax/2 [1.9.1.4.4 4 200509261930]
	org.netbeans.modules.apisupport.project [1.9.1.5.4 5 200509261930]
	org.netbeans.modules.profiler.j2ee.tomcat/1 [0.90 050926]
	org.netbeans.modules.j2ee.jboss4/1 [1.1.1 200509261930]
	org.netbeans.modules.java.navigation/1 [1.0.1 200509261930]
	org.netbeans.spi.palette/0 [1.3.1 200509261930]
	org.netbeans.modules.refactoring/1 [1.12.1.3.2 3 200509261930]
	org.netbeans.modules.form/2 [1.17.1 1 200509261930]
	org.netbeans.modules.i18n/1 [1.18.1 200509261930]
	org.netbeans.modules.i18n.form/2 [1.16.1 200509261930]
	org.netbeans.modules.image/1 [1.15.1 200509261930]
	org.netbeans.modules.xml.tools/2 [1.9.1.4.4.4 4 200509261930]
	org.netbeans.modules.java.editor.lib/1 [1.2.1 200509261930]
	org.netbeans.modules.editor.codetemplates/1 [1.0.1 200509261930]
	org.netbeans.modules.java.editor/1 [1.2.1 200509261930]
	org.netbeans.modules.j2ee.common/1 [1.2.1 200509261930]
	org.netbeans.modules.websvc.registry [1.0.1 200509261930]
	org.netbeans.modules.websvc.core [1.2.1.1.4.4 1 200509261930]
	org.netbeans.modules.websvc.dev/1 [1.3.1.1 200509261930]
	org.netbeans.modules.apisupport.refactoring [1.0.1.5 200509261930]
	org.netbeans.modules.html.editor/1 [1.2.1 200509261930]
	org.netbeans.modules.editor.plain.lib/1 [1.1.1 200509261930]
	org.netbeans.modules.editor.plain/1 [1.1.1 200509261930]
	org.netbeans.modules.autoupdate/1 [2.14.1 200509261930]
	org.netbeans.modules.options.editor/1 [1.0.1 200509261930]
	org.netbeans.modules.utilities/1 [1.19.1 200509261930]
	org.netbeans.modules.utilities.project/1 [1.3.1 200509261930]
	org.netbeans.modules.j2ee.genericserver [1.1.1 200509261930]
	org.netbeans.modules.editor.errorstripe/2 [2.0.1.1.1 1 200509261930]
	org.netbeans.modules.welcome/1 [1.8.1 200509261930]
	org.netbeans.modules.editor.hints/1 [1.7.1.1 1 200509261930]
	org.netbeans.modules.j2ee.debug/1 [1.1.1 200509261930]
	org.netbeans.swing.tabcontrol [1.4.1 200509261930]
	org.netbeans.core.windows/2 [2.5.1.1 200509261930]
	org.netbeans.modules.tasklist.core/2 [1.35.1.16.7 16 200509261930]
	org.netbeans.modules.suggestions_framework/2 [1.13.1.9.16.7 9 200509261930]
	org.netbeans.modules.db/0 [1.13.1.3 3 200509261930]
	org.netbeans.modules.dbschema/1 [1.5.1.3.3 3 200509261930]
	org.netbeans.modules.j2ee.sun.dd/1 [1.3.1 200509261930]
	org.netbeans.modules.j2ee.sun.appsrv/1 [1.0.1 1 200509261930]
	org.netbeans.modules.j2ee.sun.ddui/1 [1.3.1 200509261930]
	org.netbeans.modules.clazz/1 [1.17.1 200509261930]
	org.netbeans.modules.apisupport.feedreader/1 [1.0.1 200509261930]
	org.netbeans.modules.diff/1 [1.13.1.42 42 200509261930]
	org.netbeans.modules.versioning/1 [1.1.1.1 1 200509261930]
	org.netbeans.lib.cvsclient/1 [1.12.1 200509261930]
	org.netbeans.libs.jsch/1 [1.1.1 0.1.20 200509261930]
	org.netbeans.modules.versioning.system.cvss/1 [1.5.1.1.42 1 200509261930]
	org.netbeans.modules.db.core [1.0.1 200509261930]
	org.netbeans.modules.db.sql.editor [1.0.1.3 200509261930]
	org.netbeans.modules.xml.schema/1 [1.9.1.4 200509261930]
	org.netbeans.modules.beans/1 [1.15.1 200509261930]
	org.netbeans.modules.editor.structure/1 [1.9.1.1 1 200509261930]
	org.netbeans.modules.xml.text/2 [1.9.1.4 200509261930]
	org.netbeans.modules.web.core.syntax/1 [1.20.1 200509261930]
	org.netbeans.modules.web.struts/1 [1.0.1.1 1 200509261930]
	org.netbeans.modules.profiler.j2ee/1 [0.90 050926]
	org.netbeans.modules.javadoc/1 [1.16.1 200509261930]
	org.netbeans.modules.web.freeform [1.1.1 200509261930]
	org.netbeans.modules.ant.debugger/1 [1.5.1 200509261930]
	org.netbeans.modules.j2ee.ejbcore [1.1.1 200509261930]
	org.netbeans.modules.j2ee.ejbjarproject [1.1.1 200509261930]
	org.netbeans.modules.j2ee.earproject [1.2.1 200509261930]
	org.netbeans.modules.defaults/1 [1.0.1 200509261930]
	org.netbeans.modules.updatecenters/1 [1.4.1 200509261930]
	org.netbeans.modules.j2ee.sun.appsrv81/1 [2.2.1 200509261930]
	org.netbeans.modules.web.core/1 [1.22.1.42.2 42 200509261930]
	org.netbeans.modules.extbrowser/1 [1.7.1 200509261930]
	org.netbeans.upgrader [4.3.1 200509261930]
	org.netbeans.modules.j2ee.ddloaders/1 [1.4.1.2.2.4 200509261930]
	org.netbeans.modules.web.monitor/1 [1.13.1 200509261930]
	org.netbeans.modules.html/1 [1.17.1 200509261930]
	org.netbeans.modules.profiler.j2se/1 [0.90 050926]
	org.netbeans.core.ide/1 [1.7.1 200509261930]
	org.netbeans.modules.editor.bookmarks/1 [1.1.1 200509261930]
	org.netbeans.modules.web.debug/1 [2.5.1 200509261930]
	org.netbeans.modules.usersguide/1 [1.17.1 200509261930]
	org.netbeans.modules.websvc.jaxrpc16/1 [1.0.1 200509261930]
	org.netbeans.modules.j2ee.blueprints/1 [1.7.1 200509261930]
	org.netbeans.modules.web.jsf/1 [1.0.1.1 1 200509261930]
	org.netbeans.modules.java.j2seplatform/1 [1.4.1.2 2 200509261930]
	org.netbeans.modules.tomcat5/1 [1.4.1 200509261930]
	org.netbeans.modules.tomcat5.bundled/1 [1.4.1 200509261930]
	org.netbeans.modules.j2ee.refactoring/1 [1.2.1.42.1 200509261930]
	org.netbeans.modules.web.jstl11/1 [2.4.1 1.1.2 200509261930]
	org.netbeans.modules.favorites/1 [1.9.1 200509261930]
	org.netbeans.modules.profiler.j2ee.sunas/1 [0.90 050926]
	org.netbeans.modules.tasklist.docscan/2 [1.21.1.9.16.7 200509261930]
	org.netbeans.modules.profiler.freeform/1 [0.9 050926]
	org.netbeans.modules.profiler.j2ee.weblogic/1 [0.90 050926]
	org.netbeans.modules.java.hints/1 [1.8.1.1 1 200509261930]
>>> Profiler agent [port=5140, id=753069825]: STATE_STARTING
>>> Profiler agent [port=5140, id=753069825]: STATE_BLOCKING
Profiler.connectToStartedApp: **************************************************
Profiler.connectToStartedApp: profiling settings -------------------------------
name: Preset: Code Fragment
profilingType =32
overrideGlobalSettings =false
workingDir =
jvmArgs: 
portNo =5140
javaPlatform =<project>
threadsMonitoringEnabled =false
excludeWaitTime =true
cpuProfilingType =0
instrScheme =1
threadCPUTimerOn =false
instrumentGetterSetterMethods =false
instrumentEmptyMethods =false
instrumentMethodInvoke =true
instrumentSpawnedThreads =false
nProfiledThreadsLimit =32
sortResultsByThreadCPUTime =false
samplingInterval =10
instrumentationRootMethods =[]
codeFragmentSelection =Source Code defined via methods: 1 methods:
  class: uk.co.cymbol.tair.tapestry.common.ForeignAirportSelectionModel
    method: <init> 
(Ljava/util/List;Luk/co/cymbol/tair/bus/ForeignAirportManagerDao;)V
  
codeRegionCPUResBufSize =1000
runGCOnGetResultsInMemoryProfiling =true
allocTrackEvery =10
allocStackTraceLimit =0
selectedInstrFilter =

Profiler.connectToStartedApp: session settings ---------------------------------
mainClass: 
mainClassPath: C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\ant.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\commons-el.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\jasper-compiler.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\jasper-runtime.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\jsp-api.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\naming-factory-dbcp.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\naming-factory.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\naming-resources.jar:C:\Program
Files\netbeans-5.0beta\enterprise2\jakarta-tomcat-5.5.7\common\lib\servlet-api.jar
mainArgs: 
jvmArgs =
workingDir =C:\Program Files\netbeans-5.0beta
javaExecutable =C:\Program Files\Java\jdk1.5.0_05\bin\java.exe
javaVersionString =jdk15
portNo =5140
Profiler.connectToStartedApp: **************************************************
Instrumentation filter:
  Filter type: None
  Filter value:  
>>> Profiler agent [port=5140, id=753069825]: STATE_BLOCKING
>>> Profiler agent [port=5140, id=753069825]: STATE_BLOCKING
*** Profiler message (Sat Oct 22 14:18:49 BST 2005): Class
uk.co.cymbol.tair.tapestry.common.ForeignAirportSelectionModel not found on
class path. It will be instrumented in classLoadHook.
>>> Profiler agent [port=5140, id=753069825]: STATE_PROFILING
>>> Profiler agent [port=5140, id=753069825]: STATE_PROFILING
*** Profiler message (Sat Oct 22 14:20:41 BST 2005): Class
uk.co.cymbol.tair.tapestry.common.ForeignAirportSelectionModel not found on
class path. It will be instrumented in classLoadHook.
IDEAppStatusHandler - error: Invalid location was specified for code region
instrumentation.
Instrumentation cannot be performed.
Profiler.modifyCurrentProfiling: name: Preset: Liveness
profilingType =4
overrideGlobalSettings =false
workingDir =
jvmArgs: 
portNo =5140
javaPlatform =<project>
threadsMonitoringEnabled =false
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 =

Instrumentation filter:
  Filter type: None
  Filter value:  
*** Profiler warning (Sat Oct 22 14:21:49 BST 2005): class
org/apache/commons/logging/impl/Jdk14Logger, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:50 BST 2005): class
org/apache/commons/logging/LogFactory$3, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:50 BST 2005): class
org/apache/commons/logging/impl/LogFactoryImpl, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:50 BST 2005): class
org/apache/commons/logging/Log, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:51 BST 2005): class
org/apache/commons/logging/LogFactory$2, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:53 BST 2005): class
org/apache/commons/logging/LogFactory, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:53 BST 2005): class
org/apache/commons/logging/impl/LogFactoryImpl$1, ldr = 0 not found anywhere
*** Profiler warning (Sat Oct 22 14:21:53 BST 2005): class
org/apache/commons/logging/LogFactory$1, ldr = 0 not found anywhere
*** JFluid warning: unknown opcode: 255 detected at offset 85in class/method
org/hibernate/proxy/HibernateProxy$$FastClassByCGLIB$$76d69142.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
*** JFluid warning: unknown opcode: 220 detected at offset 86in class/method
org/hibernate/proxy/HibernateProxy$$FastClassByCGLIB$$76d69142.newInstance(I[Ljava/lang/Object;)Ljava/lang/Object;
Failed to locate constant pool ref for:
org/hibernate/proxy/HibernateProxy$$FastClassByCGLIB$$76d69142
Failed to locate constant pool ref index: 51
*********** Exception occurred ************ at 2:21 PM on Oct 22, 2005
java.lang.NullPointerException
	at
com.sun.tools.profiler.instrumentation.ObjLivenessInstrCallsInjector.locateConstructorCallForNewOp(ObjLivenessInstrCallsInjector.java:131)
	at
com.sun.tools.profiler.instrumentation.ObjLivenessInstrCallsInjector.instrumentMethod(ObjLivenessInstrCallsInjector.java:85)
	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:479)
	at
com.sun.tools.profiler.instrumentation.Instrumentor.createInitialInstrumentMethodGroupResponse(Instrumentor.java:86)
	at
com.sun.tools.profiler.ProfilerClient.instrumentMethodGroupFromRoot(ProfilerClient.java:743)
	at com.sun.tools.profiler.ProfilerClient.access$2700(ProfilerClient.java:46)
[catch] at
com.sun.tools.profiler.ProfilerClient$SeparateCmdExecutionThread.run(ProfilerClient.java:1385)
Comment 1 sergioborges 2005-10-26 12:28:32 UTC
I'm also having the same problem on memory analyzer. My application is running
with hibernate 3.0.5 and springframework 1.2.4. The messages.log is attached.
Comment 2 sergioborges 2005-10-26 12:32:12 UTC
Created attachment 26352 [details]
messages.log
Comment 3 paul_netbeans 2005-10-26 13:55:13 UTC
I have subsequently tried running the profiler tutorial exercise2 on a Linux Fedora system with Java jdk 
1.5_05  (the latest) and Netbeans 5.0 beta. This produced the same result, NullPointerException, when 
trying to run the memory analyzer.

I did this because I thought it may be related to my application as sergioborges@netbeans.org indicated 
by the fact that his application was using hibernate and spring the same as mine was.

I am working on two new installations of Netbeans 5.0 and profiler M9. There must be someone out there 
who has got the memory analyzer to work, otherwise there would be loads of posts similar to this one.

Am I missing something?
Comment 4 iformanek 2005-10-26 18:05:02 UTC
Paul, what exactly are you doing when you run the excersise2? Specifically, 
what webserver you run it on, and the steps you perform. I am unable to 
reproduce this particular issue on Tomcat running Servlets (like the excersise2 
does).

There are known issues I am currently fixing with bytecode generated by JSP 
compiler in Tomcat/JBoss, and possibly similarly dynamically generated bytecode 
from other frameworks - hibernate/spring must generate some stuff that the 
profiler chokes on when injecting the bytecode.
Comment 5 paul_netbeans 2005-10-26 18:32:04 UTC
I am running it on the tomcat server packaged with the Netbeans 5.0 beta distribution. This is what is 
curious I am just following the profiler tutorial with the standard downloads both the ide and profiler 
are on the same download page.

Initially I had tried running the profiler on my application which did use hibernate and spring. It was 
because I was unable to get this running I tried the profiler tutorials which I downloaded from the 
profiler tutorial page. Initially I tried pofiling my own application on a Windows XP machine which is 
where the initial Issue was created. I subsequently went to a Linux (Fedora core 3) machine and this 
produced the same NullPointerException on the final "Profiling Object Creation In Order to find Memory 
Leaks (20 minutes)" where stage 9. when trying to use the "Analyze Memory Usage".

It maybe worth getting the downloads from http://www.netbeans.info/downloads/download.php?
type=5.0b for either Windows or Linux for both the IDE and the profiler Milestone 9 just to check but I 
just feel that there is something wrong with the downloads. I hope I am wrong but that is my gut 
feeling.
Comment 6 iformanek 2005-11-22 18:31:02 UTC
*** Issue 69031 has been marked as a duplicate of this issue. ***
Comment 7 iformanek 2005-11-30 11:43:59 UTC
*** Issue 69308 has been marked as a duplicate of this issue. ***
Comment 8 smil 2005-12-01 12:03:32 UTC
I have the same problem. The combo is the same: spring & hibernate. 

The NPE occours right after initialiseing ehcache.
Comment 9 iformanek 2005-12-01 15:45:34 UTC
Fixed in M12
Comment 10 glestum 2005-12-05 14:29:05 UTC
*** Issue 69887 has been marked as a duplicate of this issue. ***
Comment 11 iformanek 2005-12-11 13:22:34 UTC
*** Issue 70164 has been marked as a duplicate of this issue. ***
Comment 12 Jiri Sedlacek 2005-12-12 14:19:16 UTC
*** Issue 70264 has been marked as a duplicate of this issue. ***
Comment 13 Jiri Sedlacek 2005-12-20 09:19:20 UTC
*** Issue 70564 has been marked as a duplicate of this issue. ***
Comment 14 ehucka 2006-10-09 12:10:15 UTC
Verification of old issues.
Comment 15 Alexander Kouznetsov 2007-02-20 10:27:28 UTC
Closing old issues
Comment 16 Alexander Kouznetsov 2007-02-20 18:10:44 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.