[jbosstools-issues] [JBoss JIRA] (JBIDE-4601) JBoss Profiler throws NPE when Profile > Profile Configurations... dialog is launched for a Main class

Max Rydahl Andersen (JIRA) issues at jboss.org
Mon Jan 20 06:56:13 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-4601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen resolved JBIDE-4601.
----------------------------------------

    Resolution: Out of Date


Thank you for reporting this issue but this issue have been resolved as out-of-date since it has not had any updates for the last 2+ years (730 days).

If you believe this issue is still relevant and important then please reopen the issue or create a new one mentioning/linking this jira for background information.

Thank you!


                
> JBoss Profiler throws NPE when Profile > Profile Configurations... dialog is launched for a Main class
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4601
>                 URL: https://issues.jboss.org/browse/JBIDE-4601
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: profiler
>    Affects Versions: 3.1.0.M2
>            Reporter: Nick Boldt
>            Assignee: Max Rydahl Andersen
>             Fix For: 3.3.x
>
>         Attachments: 13 EDT 2009.txt, Screenshot-1.png, Screenshot-2.png
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Steps to repro:
> a) install Eclipse 3.5
> b) install JBoss Profiler feature from update site http://download.jboss.org/jbosstools/updates/nightly/3.1.0.M2/
> c) restart Eclipse
> d) create a Java project, eg., foobar
> e) create a Main class in that project, eg., foo.bar.Main
> f) put this in Main.java:
> package foo.bar;
> public class Main {
> 	/**
> 	 * @param args
> 	 */
> 	public static void main(String[] args) {
> 		System.out.println("Hello, Foo!");
> 	}
> }
> f) debug the class: right-click in the file and Debug As > Java Application
> g) add a breakpoint on the println() line
> h) debug again, this time switching to the Debug perspective when prompted
> i) right-click in class file, Debug As > Debug Configurations...
> j) note the new JBoss Profiler tab for your Java Application > Main launch configuration -- see screenshot-1. Close the dialog.
> k) right-click in class file, Profile As > Profile Configurations... 
> l) note three error dialogs:
>   "Exception occurred creating launch config tabs - Reason: No tab group defined for launch config type org.eclipse.jdt.launching.localJavaApplication"
>   "Problem occurred: no tabs defined for launch configuration type Java Application"
>   "NullPointerException" (see screenshot-2).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list