VisualVM
  1. VisualVM
  2. VISUALVM-547

NPE at Start Fail to connect to any local JVM

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.3.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows 7 64-bit

      Description

      After downloading VisualVM 1.3.5 I copied the folder into C:\Program Files\visualvm. Whenever I launch visualvm.exe (even if I run as an administrator), VisualVM fails to connect to any running JVM. In the bottom right corner there is an error icon, and upon inspecting the error is listed as:

      SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder$1
      java.lang.NullPointerException
      at com.sun.tools.visualvm.tools.jvmstat.JvmJvmstatModel.getFirstArgument(JvmJvmstatModel.java:261)

      I am unable to use VisualVM at all and need to figure out why this is being blocked.
      (attached is the complete logfile)

      -JD

        Activity

        Hide
        jdsalingerjr added a comment -

        c:\users\921496.CORP\AppData\Roaming\VisualVM\1.3.5\var\log\messages.log:

        -------------------------------------------------------------------------------
        >Log Session: Friday, February 22, 2013 2:23:06 PM CST
        >System Info:
        Product Version = VisualVM 1.3.5
        Operating System = Windows 7 version 6.1 running on x86
        Java; VM; Vendor = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.
        Runtime = Java(TM) SE Runtime Environment 1.6.0_20-b02
        Java Home = C:\Program Files (x86)\Java\jdk1.6.0_20\jre
        System Locale; Encoding = en_US (visualvm); Cp1252
        Home Directory = C:\Users\921496.CORP
        Current Directory = C:\Program Files\visualvm\bin
        User Directory = C:\Users\921496.CORP\AppData\Roaming\VisualVM\1.3.5
        Cache Directory = C:\Users\921496.CORP\AppData\Local\VisualVM\Cache\1.3.5
        Installation = C:\Program Files\visualvm\visualvm
        C:\Program Files\visualvm\profiler
        C:\Program Files\visualvm\platform
        Boot & Ext. Classpath = C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\classes;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\sunpkcs11.jar
        Application Classpath = C:\Program Files\visualvm\platform\lib\boot.jar;C:\Program Files\visualvm\platform\lib\org-openide-modules.jar;C:\Program Files\visualvm\platform\lib\org-openide-util-lookup.jar;C:\Program Files\visualvm\platform\lib\org-openide-util.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\lib\dt.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\lib\tools.jar
        Startup Classpath = C:\Program Files\visualvm\platform\core\core.jar;C:\Program Files\visualvm\platform\core\org-openide-filesystems.jar;C:\Program Files\visualvm\visualvm\core\com-sun-tools-visualvm-modules-startup.jar;C:\Program Files\visualvm\visualvm\core\locale\core_visualvm.jar
        -------------------------------------------------------------------------------
        INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
        org.openide.util.lookup [8.15.2 20120926-d0f92ba97f49]
        org.openide.util [8.25.1 20120926-d0f92ba97f49]
        org.openide.modules [7.32.1 20120926-d0f92ba97f49]
        org.openide.filesystems [7.62.1 20120926-d0f92ba97f49]
        org.netbeans.api.annotations.common/1 [1.14.1 20120926-d0f92ba97f49]
        org.openide.awt [7.46.1 20120926-d0f92ba97f49]
        org.netbeans.api.progress/1 [1.28.1 20120926-d0f92ba97f49]
        org.openide.dialogs [7.25.1 20120926-d0f92ba97f49]
        org.openide.nodes [7.28.1 20120926-d0f92ba97f49]
        org.openide.windows [6.55.2 20120926-d0f92ba97f49]
        org.netbeans.modules.editor.mimelookup/1 [1.26.1 20120926-d0f92ba97f49]
        org.openide.text [6.49.1 20120926-d0f92ba97f49]
        org.netbeans.swing.tabcontrol [1.36.1 20120926-d0f92ba97f49]
        org.netbeans.swing.outline [1.20.1 20120926-d0f92ba97f49]
        org.openide.explorer [6.45.1 20120926-d0f92ba97f49]
        org.openide.actions [6.26.1 20120926-d0f92ba97f49]
        org.netbeans.modules.queries/1 [1.28.1 20120926-d0f92ba97f49]
        org.openide.loaders [7.37.3 20120926-d0f92ba97f49]
        org.openide.io [1.31.2 20120926-d0f92ba97f49]
        org.netbeans.swing.plaf [1.25.1 20120926-d0f92ba97f49]
        org.netbeans.spi.quicksearch [1.14.1 20120926-d0f92ba97f49]
        org.netbeans.bootstrap/1 [2.52.2 20120926-d0f92ba97f49]
        org.netbeans.core.startup/1 [1.40.1 20120926-d0f92ba97f49]
        org.netbeans.modules.settings/1 [1.35.1 20120926-d0f92ba97f49]
        org.netbeans.modules.sendopts/2 [2.22.1 20120926-d0f92ba97f49]
        org.netbeans.modules.sampler [1.1.1 20120926-d0f92ba97f49]
        org.netbeans.modules.progress.ui [1.20.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.utilities/1 [1.22.1 20120926-d0f92ba97f49]
        org.netbeans.lib.profiler/1 [1.19.2 20120926-d0f92ba97f49]
        org.netbeans.lib.profiler.common/1 [1.19.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.api/1 [1.6.1 20120926-d0f92ba97f49]
        org.netbeans.lib.profiler.charts/1 [1.14.1 20120926-d0f92ba97f49]
        org.netbeans.lib.profiler.ui/1 [1.19.1 20121009-773a7f1f34fd]
        org.netbeans.modules.profiler.attach/2 [2.3.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.selector.api/1 [1.20.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.selector.ui/1 [1.17.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler/2 [2.4.1 20120926-d0f92ba97f49]
        org.netbeans.modules.keyring [1.11.1 20120926-d0f92ba97f49]
        org.netbeans.core/2 [3.33.1 20120926-d0f92ba97f49]
        org.netbeans.modules.options.api/1 [1.26.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.snaptracer/1 [1.8.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.oql/2 [2.3.1 20120926-d0f92ba97f49]
        org.netbeans.modules.profiler.heapwalker [1.3.1 20120926-d0f92ba97f49]
        org.netbeans.modules.masterfs/2 [2.38.2 20120926-d0f92ba97f49]
        org.netbeans.libs.jna/1 [1.21.1 20120926-d0f92ba97f49]
        org.netbeans.modules.masterfs.windows [1.1.1 20120926-d0f92ba97f49]
        org.netbeans.modules.keyring.impl [1.7.1 20120926-d0f92ba97f49]
        org.netbeans.modules.editor.mimelookup.impl/1 [1.18.1 20120926-d0f92ba97f49]
        org.netbeans.modules.autoupdate.services [1.33.1 20120926-d0f92ba97f49]
        org.netbeans.modules.autoupdate.ui [1.27.2 20120926-d0f92ba97f49]
        org.netbeans.core.windows/2 [2.49.3 20120926-d0f92ba97f49]
        org.netbeans.core.ui/1 [1.31.1 20120926-d0f92ba97f49]
        org.netbeans.core.nativeaccess/1 [1.16.1 20120926-d0f92ba97f49]
        com.sun.tools.visualvm.uisupport/0 [1.1 121105]
        com.sun.tools.visualvm.core/0 [1.4 121105]
        com.sun.tools.visualvm.host/0 [1.0 121105]
        com.sun.tools.visualvm.application/0 [1.6 121105]
        com.sun.tools.visualvm.tools/0 [1.2 121105]
        com.sun.tools.visualvm.coredump/0 [1.0 121105]
        com.sun.tools.visualvm.threaddump/0 [1.0 121105]
        com.sun.tools.visualvm.heapdump/0 [1.1 121105]
        com.sun.tools.visualvm.profiling/0 [1.1 121105]
        com.sun.tools.visualvm.sampler [2.1 121105]
        com.sun.tools.visualvm.sa/0 [1.0.1 121127]
        com.sun.tools.visualvm.profiler/0 [1.1 121105]
        com.sun.tools.visualvm.modules.startup [1.0 121105]
        com.sun.tools.visualvm.modules.appui [1.0 121105]
        com.sun.tools.visualvm.jvmstat/0 [1.0 121105]
        com.sun.tools.visualvm.jvm/0 [1.1 121105]
        com.sun.tools.visualvm.jmx/0 [1.2 121105]
        com.sun.tools.visualvm.charts/0 [1.1 121105]
        com.sun.tools.visualvm.host.views/0 [1.0 121105]
        com.sun.tools.visualvm.host.remote/0 [1.0 121105]
        com.sun.tools.visualvm.attach/0 [1.1 121105]
        com.sun.tools.visualvm.application.views/0 [1.0 121105]
        WARNING [org.openide.filesystems.Ordering]: Not all children in Windows2/Modes/explorer/ marked with the position attribute: [ExplorerTopComponent.wstcref], but some are: [profiler_cp.wstcref]
        SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder$1
        java.lang.NullPointerException
        at com.sun.tools.visualvm.tools.jvmstat.JvmJvmstatModel.getFirstArgument(JvmJvmstatModel.java:261)
        at com.sun.tools.visualvm.tools.jvmstat.JvmJvmstatModel.getMainArgs(JvmJvmstatModel.java:211)
        at com.sun.tools.visualvm.jvm.JVMImpl.initStaticData(JVMImpl.java:468)
        at com.sun.tools.visualvm.jvm.JVMImpl.getMainClass(JVMImpl.java:138)
        at com.sun.tools.visualvm.application.type.MainClassApplicationTypeFactory.createModelFor(MainClassApplicationTypeFactory.java:148)
        at com.sun.tools.visualvm.application.type.MainClassApplicationTypeFactory.createModelFor(MainClassApplicationTypeFactory.java:42)
        at com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:111)
        at com.sun.tools.visualvm.application.type.ApplicationTypeFactory.getApplicationTypeFor(ApplicationTypeFactory.java:74)
        at com.sun.tools.visualvm.application.ApplicationDescriptor.<init>(ApplicationDescriptor.java:55)
        at com.sun.tools.visualvm.application.ApplicationDescriptorProvider.createModelFor(ApplicationDescriptorProvider.java:43)
        at com.sun.tools.visualvm.application.ApplicationDescriptorProvider.createModelFor(ApplicationDescriptorProvider.java:38)
        at com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:111)
        at com.sun.tools.visualvm.core.datasource.descriptor.DataSourceDescriptorFactory.getDescriptor(DataSourceDescriptorFactory.java:69)
        at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processAddedDisplayableDataSources(ExplorerModelBuilder.java:152)
        at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processIndependentAddedDataSources(ExplorerModelBuilder.java:116)
        at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processAddedDataSources(ExplorerModelBuilder.java:105)
        at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.access$200(ExplorerModelBuilder.java:59)
        at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder$1.run(ExplorerModelBuilder.java:98)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
        [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
        Diagnostic information
        Input arguments:
        -client
        -Xms24m
        -Xmx256m
        -XX:MaxPermSize=96m
        -Dnetbeans.accept_license_class=com.sun.tools.visualvm.modules.startup.AcceptLicense
        -Dsun.jvmstat.perdata.syncWaitMs=10000
        -Dsun.java2d.noddraw=true
        -Dsun.java2d.d3d=false
        -Djdk.home=C:\Program
        Files
        (x86)\Java\jdk1.6.0_20
        -Dnetbeans.home=C:\Program
        Files\visualvm\platform
        -Dnetbeans.user=C:\Users\921496.CORP\AppData\Roaming\VisualVM\1.3.5
        -Dnetbeans.default_userdir_root=C:\Users\921496.CORP\AppData\Roaming\VisualVM
        -XX:+HeapDumpOnOutOfMemoryError
        -XX:HeapDumpPath=C:\Users\921496.CORP\AppData\Roaming\VisualVM\1.3.5\var\log\heapdump.hprof
        -Dnetbeans.system_http_proxy=PAC
        http://internet.proxy.fedex.com/
        -Dsun.awt.keepWorkingSetOnMinimize=true
        -Dnetbeans.dirs=C:\Program
        Files\visualvm\visualvm;C:\Program
        Files\visualvm\profiler
        Compiler: HotSpot Client Compiler
        Heap memory usage: initial 24.0MB maximum 247.5MB
        Non heap memory usage: initial 34.2MB maximum 150.0MB
        Garbage collector: Copy (Collections=13 Total time spent=0s)
        Garbage collector: MarkSweepCompact (Collections=0 Total time spent=0s)
        Classes: loaded=4468 total loaded=4468 unloaded 0
        INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4,294,967,295
        INFO [null]: Total physical memory 4,294,967,295

        Show
        jdsalingerjr added a comment - c:\users\921496.CORP\AppData\Roaming\VisualVM\1.3.5\var\log\messages.log: ------------------------------------------------------------------------------- >Log Session: Friday, February 22, 2013 2:23:06 PM CST >System Info: Product Version = VisualVM 1.3.5 Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_20-b02 Java Home = C:\Program Files (x86)\Java\jdk1.6.0_20\jre System Locale; Encoding = en_US (visualvm); Cp1252 Home Directory = C:\Users\921496.CORP Current Directory = C:\Program Files\visualvm\bin User Directory = C:\Users\921496.CORP\AppData\Roaming\VisualVM\1.3.5 Cache Directory = C:\Users\921496.CORP\AppData\Local\VisualVM\Cache\1.3.5 Installation = C:\Program Files\visualvm\visualvm C:\Program Files\visualvm\profiler C:\Program Files\visualvm\platform Boot & Ext. Classpath = C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\classes;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\jre\lib\ext\sunpkcs11.jar Application Classpath = C:\Program Files\visualvm\platform\lib\boot.jar;C:\Program Files\visualvm\platform\lib\org-openide-modules.jar;C:\Program Files\visualvm\platform\lib\org-openide-util-lookup.jar;C:\Program Files\visualvm\platform\lib\org-openide-util.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\lib\dt.jar;C:\Program Files (x86)\Java\jdk1.6.0_20\lib\tools.jar Startup Classpath = C:\Program Files\visualvm\platform\core\core.jar;C:\Program Files\visualvm\platform\core\org-openide-filesystems.jar;C:\Program Files\visualvm\visualvm\core\com-sun-tools-visualvm-modules-startup.jar;C:\Program Files\visualvm\visualvm\core\locale\core_visualvm.jar ------------------------------------------------------------------------------- INFO [org.netbeans.core.startup.NbEvents] : Turning on modules: org.openide.util.lookup [8.15.2 20120926-d0f92ba97f49] org.openide.util [8.25.1 20120926-d0f92ba97f49] org.openide.modules [7.32.1 20120926-d0f92ba97f49] org.openide.filesystems [7.62.1 20120926-d0f92ba97f49] org.netbeans.api.annotations.common/1 [1.14.1 20120926-d0f92ba97f49] org.openide.awt [7.46.1 20120926-d0f92ba97f49] org.netbeans.api.progress/1 [1.28.1 20120926-d0f92ba97f49] org.openide.dialogs [7.25.1 20120926-d0f92ba97f49] org.openide.nodes [7.28.1 20120926-d0f92ba97f49] org.openide.windows [6.55.2 20120926-d0f92ba97f49] org.netbeans.modules.editor.mimelookup/1 [1.26.1 20120926-d0f92ba97f49] org.openide.text [6.49.1 20120926-d0f92ba97f49] org.netbeans.swing.tabcontrol [1.36.1 20120926-d0f92ba97f49] org.netbeans.swing.outline [1.20.1 20120926-d0f92ba97f49] org.openide.explorer [6.45.1 20120926-d0f92ba97f49] org.openide.actions [6.26.1 20120926-d0f92ba97f49] org.netbeans.modules.queries/1 [1.28.1 20120926-d0f92ba97f49] org.openide.loaders [7.37.3 20120926-d0f92ba97f49] org.openide.io [1.31.2 20120926-d0f92ba97f49] org.netbeans.swing.plaf [1.25.1 20120926-d0f92ba97f49] org.netbeans.spi.quicksearch [1.14.1 20120926-d0f92ba97f49] org.netbeans.bootstrap/1 [2.52.2 20120926-d0f92ba97f49] org.netbeans.core.startup/1 [1.40.1 20120926-d0f92ba97f49] org.netbeans.modules.settings/1 [1.35.1 20120926-d0f92ba97f49] org.netbeans.modules.sendopts/2 [2.22.1 20120926-d0f92ba97f49] org.netbeans.modules.sampler [1.1.1 20120926-d0f92ba97f49] org.netbeans.modules.progress.ui [1.20.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.utilities/1 [1.22.1 20120926-d0f92ba97f49] org.netbeans.lib.profiler/1 [1.19.2 20120926-d0f92ba97f49] org.netbeans.lib.profiler.common/1 [1.19.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.api/1 [1.6.1 20120926-d0f92ba97f49] org.netbeans.lib.profiler.charts/1 [1.14.1 20120926-d0f92ba97f49] org.netbeans.lib.profiler.ui/1 [1.19.1 20121009-773a7f1f34fd] org.netbeans.modules.profiler.attach/2 [2.3.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.selector.api/1 [1.20.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.selector.ui/1 [1.17.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler/2 [2.4.1 20120926-d0f92ba97f49] org.netbeans.modules.keyring [1.11.1 20120926-d0f92ba97f49] org.netbeans.core/2 [3.33.1 20120926-d0f92ba97f49] org.netbeans.modules.options.api/1 [1.26.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.snaptracer/1 [1.8.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.oql/2 [2.3.1 20120926-d0f92ba97f49] org.netbeans.modules.profiler.heapwalker [1.3.1 20120926-d0f92ba97f49] org.netbeans.modules.masterfs/2 [2.38.2 20120926-d0f92ba97f49] org.netbeans.libs.jna/1 [1.21.1 20120926-d0f92ba97f49] org.netbeans.modules.masterfs.windows [1.1.1 20120926-d0f92ba97f49] org.netbeans.modules.keyring.impl [1.7.1 20120926-d0f92ba97f49] org.netbeans.modules.editor.mimelookup.impl/1 [1.18.1 20120926-d0f92ba97f49] org.netbeans.modules.autoupdate.services [1.33.1 20120926-d0f92ba97f49] org.netbeans.modules.autoupdate.ui [1.27.2 20120926-d0f92ba97f49] org.netbeans.core.windows/2 [2.49.3 20120926-d0f92ba97f49] org.netbeans.core.ui/1 [1.31.1 20120926-d0f92ba97f49] org.netbeans.core.nativeaccess/1 [1.16.1 20120926-d0f92ba97f49] com.sun.tools.visualvm.uisupport/0 [1.1 121105] com.sun.tools.visualvm.core/0 [1.4 121105] com.sun.tools.visualvm.host/0 [1.0 121105] com.sun.tools.visualvm.application/0 [1.6 121105] com.sun.tools.visualvm.tools/0 [1.2 121105] com.sun.tools.visualvm.coredump/0 [1.0 121105] com.sun.tools.visualvm.threaddump/0 [1.0 121105] com.sun.tools.visualvm.heapdump/0 [1.1 121105] com.sun.tools.visualvm.profiling/0 [1.1 121105] com.sun.tools.visualvm.sampler [2.1 121105] com.sun.tools.visualvm.sa/0 [1.0.1 121127] com.sun.tools.visualvm.profiler/0 [1.1 121105] com.sun.tools.visualvm.modules.startup [1.0 121105] com.sun.tools.visualvm.modules.appui [1.0 121105] com.sun.tools.visualvm.jvmstat/0 [1.0 121105] com.sun.tools.visualvm.jvm/0 [1.1 121105] com.sun.tools.visualvm.jmx/0 [1.2 121105] com.sun.tools.visualvm.charts/0 [1.1 121105] com.sun.tools.visualvm.host.views/0 [1.0 121105] com.sun.tools.visualvm.host.remote/0 [1.0 121105] com.sun.tools.visualvm.attach/0 [1.1 121105] com.sun.tools.visualvm.application.views/0 [1.0 121105] WARNING [org.openide.filesystems.Ordering] : Not all children in Windows2/Modes/explorer/ marked with the position attribute: [ExplorerTopComponent.wstcref] , but some are: [profiler_cp.wstcref] SEVERE [org.openide.util.RequestProcessor] : Error in RequestProcessor com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder$1 java.lang.NullPointerException at com.sun.tools.visualvm.tools.jvmstat.JvmJvmstatModel.getFirstArgument(JvmJvmstatModel.java:261) at com.sun.tools.visualvm.tools.jvmstat.JvmJvmstatModel.getMainArgs(JvmJvmstatModel.java:211) at com.sun.tools.visualvm.jvm.JVMImpl.initStaticData(JVMImpl.java:468) at com.sun.tools.visualvm.jvm.JVMImpl.getMainClass(JVMImpl.java:138) at com.sun.tools.visualvm.application.type.MainClassApplicationTypeFactory.createModelFor(MainClassApplicationTypeFactory.java:148) at com.sun.tools.visualvm.application.type.MainClassApplicationTypeFactory.createModelFor(MainClassApplicationTypeFactory.java:42) at com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:111) at com.sun.tools.visualvm.application.type.ApplicationTypeFactory.getApplicationTypeFor(ApplicationTypeFactory.java:74) at com.sun.tools.visualvm.application.ApplicationDescriptor.<init>(ApplicationDescriptor.java:55) at com.sun.tools.visualvm.application.ApplicationDescriptorProvider.createModelFor(ApplicationDescriptorProvider.java:43) at com.sun.tools.visualvm.application.ApplicationDescriptorProvider.createModelFor(ApplicationDescriptorProvider.java:38) at com.sun.tools.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:111) at com.sun.tools.visualvm.core.datasource.descriptor.DataSourceDescriptorFactory.getDescriptor(DataSourceDescriptorFactory.java:69) at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processAddedDisplayableDataSources(ExplorerModelBuilder.java:152) at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processIndependentAddedDataSources(ExplorerModelBuilder.java:116) at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.processAddedDataSources(ExplorerModelBuilder.java:105) at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder.access$200(ExplorerModelBuilder.java:59) at com.sun.tools.visualvm.core.explorer.ExplorerModelBuilder$1.run(ExplorerModelBuilder.java:98) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032) Diagnostic information Input arguments: -client -Xms24m -Xmx256m -XX:MaxPermSize=96m -Dnetbeans.accept_license_class=com.sun.tools.visualvm.modules.startup.AcceptLicense -Dsun.jvmstat.perdata.syncWaitMs=10000 -Dsun.java2d.noddraw=true -Dsun.java2d.d3d=false -Djdk.home=C:\Program Files (x86)\Java\jdk1.6.0_20 -Dnetbeans.home=C:\Program Files\visualvm\platform -Dnetbeans.user=C:\Users\921496.CORP\AppData\Roaming\VisualVM\1.3.5 -Dnetbeans.default_userdir_root=C:\Users\921496.CORP\AppData\Roaming\VisualVM -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\Users\921496.CORP\AppData\Roaming\VisualVM\1.3.5\var\log\heapdump.hprof -Dnetbeans.system_http_proxy=PAC http://internet.proxy.fedex.com/ -Dsun.awt.keepWorkingSetOnMinimize=true -Dnetbeans.dirs=C:\Program Files\visualvm\visualvm;C:\Program Files\visualvm\profiler Compiler: HotSpot Client Compiler Heap memory usage: initial 24.0MB maximum 247.5MB Non heap memory usage: initial 34.2MB maximum 150.0MB Garbage collector: Copy (Collections=13 Total time spent=0s) Garbage collector: MarkSweepCompact (Collections=0 Total time spent=0s) Classes: loaded=4468 total loaded=4468 unloaded 0 INFO [org.netbeans.core.ui.warmup.DiagnosticTask] : Total memory 4,294,967,295 INFO [null] : Total physical memory 4,294,967,295
        Hide
        jdsalingerjr added a comment -

        I did notice it was connecting to a 32-bit JVM. When I switched it to a 64-bit JVM using the config file I still get the same error

        Show
        jdsalingerjr added a comment - I did notice it was connecting to a 32-bit JVM. When I switched it to a 64-bit JVM using the config file I still get the same error
        Hide
        jdsalingerjr added a comment -

        Well I am still getting the error when I launch VisualVM. However, I was able to resolve the issue with not being able to connect to a JVM.

        Navigate Tools -> Options -> Network, and set the Proxy configuration to either 'No Proxy' or 'Manual proxy settings'.

        I can't understand how that would affect the ability to connect to a running JVM but it does. Everything (almost, still have the NPE) is now working great.

        Show
        jdsalingerjr added a comment - Well I am still getting the error when I launch VisualVM. However, I was able to resolve the issue with not being able to connect to a JVM. Navigate Tools -> Options -> Network, and set the Proxy configuration to either 'No Proxy' or 'Manual proxy settings'. I can't understand how that would affect the ability to connect to a running JVM but it does. Everything (almost, still have the NPE) is now working great.
        Hide
        thurka added a comment -

        This is interesting. Are you able to provide reproducible test case?

        Show
        thurka added a comment - This is interesting. Are you able to provide reproducible test case?
        Hide
        jdsalingerjr added a comment -

        I will try it on some of our other workstations this morning.

        Any specific details you're looking for?

        Show
        jdsalingerjr added a comment - I will try it on some of our other workstations this morning. Any specific details you're looking for?
        Hide
        thurka added a comment -

        Currently I don't have an idea, why it does not work, so having the steps how to reproduce it, would be great.

        Show
        thurka added a comment - Currently I don't have an idea, why it does not work, so having the steps how to reproduce it, would be great.

          People

          • Assignee:
            thurka
            Reporter:
            jdsalingerjr
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: