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 255444 - InternalError: Should never happen
Summary: InternalError: Should never happen
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-21 11:45 UTC by sviatopolk
Modified: 2015-09-26 12:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219193


Attachments
stacktrace (2.10 KB, text/plain)
2015-09-21 11:45 UTC, sviatopolk
Details
stacktrace (4.49 KB, text/plain)
2015-09-21 17:42 UTC, jaska_tl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sviatopolk 2015-09-21 11:45:27 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: OpenJDK 64-Bit Server VM, 24.79-b02, OpenJDK Runtime Environment, 1.7.0_79-b14
OS: Linux

User Comments:
sviatopolk: Just started the latest public beta

GUEST: <Please provide a description of the problem or the steps to reproduce>
not

GUEST: its when i tried to specify jdk location.

nanny09: logo ao abrir o IDE mostra uma mensagem de erro

GUEST: Trying to activate java modules

GUEST: First open after install, NB just finished background scanning and importing plugins




Stacktrace: 
java.lang.InternalError: Should never happen
   at org.netbeans.lib.profiler.common.Profiler.getDefault(Profiler.java:125)
   at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager$3.run(ProfilingPointsManager.java:402)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 sviatopolk 2015-09-21 11:45:29 UTC
Created attachment 156317 [details]
stacktrace
Comment 2 Tomas Hurka 2015-09-21 15:02:01 UTC
You need to run NetBeans on JDK (you are using JRE).
Comment 3 jaska_tl 2015-09-21 17:42:03 UTC
Created attachment 156331 [details]
stacktrace

First run of Netbeans ide on Ubuntu After instalation.....
Comment 4 Tomas Hurka 2015-09-22 12:59:20 UTC
Fixed in profiler-main

changeset:   291786:a2980009d2eb
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Sep 22 14:58:03 2015 +0200
summary:     bugfix #255444, profiler requires JDK
Comment 5 Quality Engineering 2015-09-26 12:59:10 UTC
Integrated into 'main-silver', will be available in build *201509261150* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a2980009d2eb
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #255444, profiler requires JDK