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.
Summary: | AssertionError: profile | ||
---|---|---|---|
Product: | profiler | Reporter: | Martin Fousek <marfous> |
Component: | Ide | Assignee: | J Bachorik <yardus> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | schkovich, tmysik |
Priority: | P1 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 186528 |
Attachments: | stacktrace |
Description
Martin Fousek
2012-04-02 07:20:54 UTC
Created attachment 117624 [details]
stacktrace
Caused by some profiler changes? Please evaluate, thanks. P2 since my IDE did not start. Thanks. (In reply to comment #3) > Fixing in http://hg.netbeans.org/profiler-main/rev/4c000bdeb20d Will this change be propagated to main-silver automatically? The fix is in main-silver: http://hg.netbeans.org/main-silver/rev/4c000bdeb20d Thanks a lot! Still not fixed, sorry. java.lang.AssertionError: profile at org.netbeans.modules.php.project.PhpActionProvider.getCommand(PhpActionProvider.java:146) at org.netbeans.modules.php.project.PhpActionProvider.isActionEnabled(PhpActionProvider.java:141) at org.netbeans.modules.profiler.nbimpl.actions.ProjectSensitivePerformer.enable(ProjectSensitivePerformer.java:77) at org.netbeans.modules.project.ui.actions.MainProjectAction$1.run(MainProjectAction.java:175) at org.netbeans.modules.project.ui.actions.MainProjectAction.refreshView(MainProjectAction.java:200) at org.netbeans.modules.project.ui.actions.MainProjectAction.refresh(MainProjectAction.java:218) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.doRefresh(LookupSensitiveAction.java:193) at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.isEnabled(LookupSensitiveAction.java:136) Hotfixed in PHP. http://hg.netbeans.org/web-main/rev/7e4bcc3c8f95 BTW maybe you should check ActionProvider.getSupportedActions() first? But really not sure since I have no idea how ProjectProfilingSupport class gets to PHP project. Thanks. Checking the supported actions first. Also fixing still wrong order ... http://hg.netbeans.org/profiler-main/rev/2a4102ecc126 *** Bug 210573 has been marked as a duplicate of this bug. *** Integrated into 'main-golden', will be available in build *201204030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4c000bdeb20d User: Jaroslav Bachorik <yardus@netbeans.org> Log: #210502: Changing the order of "action enabled" checks in order not to bother projects without profiling support Integrated into 'main-golden', will be available in build *201204060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2a4102ecc126 User: Jaroslav Bachorik <yardus@netbeans.org> Log: #210502: Utilizing ActionProvider.getSupportedActions() to decide whether to ask the provider about an action enablement |