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 269859 - NullPointerException at org.netbeans.modules.profiler.NetBeansProfiler.runCalibration
Summary: NullPointerException at org.netbeans.modules.profiler.NetBeansProfiler.runCal...
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-17 20:03 UTC by silva_fabio
Modified: 2017-02-20 13:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228102


Attachments
stacktrace (496 bytes, text/plain)
2017-02-17 20:03 UTC, silva_fabio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description silva_fabio 2017-02-17 20:03:39 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 10

User Comments:
silva_fabio: - Maven project
- Not using builtin maven (external version 3.3.9)
- Glassfish 3.1.2.2

1) Right click on project
2) Profile
3) On the opened profile window select telemetri
4) Run Profile




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.NetBeansProfiler.runCalibration(NetBeansProfiler.java:1275)
   at org.netbeans.modules.profiler.NetBeansProfiler.startEx(NetBeansProfiler.java:1689)
   at org.netbeans.modules.maven.profiler.RunCheckerImpl.checkRunConfig(RunCheckerImpl.java:152)
   at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:225)
   at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Comment 1 silva_fabio 2017-02-17 20:03:42 UTC
Created attachment 163656 [details]
stacktrace
Comment 2 Tomas Hurka 2017-02-20 13:27:59 UTC
NPE is side-effect of the following warning in messages.log:

WARNING [org.netbeans.modules.profiler.NetBeansProfiler]: Falha ao inicializar o mecanismo do Determinador de Perfil: Problem with a required JFluid installation directory or file C:/Users/silva/AppData/Roaming/NetBeans/8.2/lib/deployed/jdk16/windows-amd64/profilerinterface.dll

It looks like you installation is missing profilerinterface.dll file. I don't know how this can happen.