facebook

Customize Perspective is not working

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #345919 Reply

    Boeing-167
    Participant

    I’m using MyElipse IDE Pro 2014 on Windows 7.

    I cannot get the ‘Customize Perspective’ tool to work.

    When I try I get this error:

    
    eclipse.buildId=unknown
    java.version=1.7.0_45
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86_64
    
    Error
    Fri Jan 10 09:11:14 PST 2014
    java.lang.NullPointerException
    
    java.lang.NullPointerException
        at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog.createMenuEntries(CustomizePerspectiveDialog.java:3040)
        at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog.createMenuEntries(CustomizePerspectiveDialog.java:3054)
        at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog.createMenuStructure(CustomizePerspectiveDialog.java:2945)
        at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog.loadMenuAndToolbarStructure(CustomizePerspectiveDialog.java:2699)
        at org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog.<init>(CustomizePerspectiveDialog.java:1484)
        at org.eclipse.ui.internal.WorkbenchWindow.createCustomizePerspectiveDialog(WorkbenchWindow.java:2729)
        at org.eclipse.ui.internal.WorkbenchPage.editActionSets(WorkbenchPage.java:1854)
        at org.eclipse.ui.internal.handlers.EditActionSetsHandler.execute(EditActionSetsHandler.java:41)
        at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
        at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
        at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
        at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)
        at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
    

    My goal is to customize the toolbar buttons. If more information is needed, let me know.

    #345955 Reply

    support-swapna
    Moderator

    gryffin13,

    This is a known issue and our dev team is working on it. The fix is expected to be out with the maintenance release for MyEclipse 2014 soon.

    Sorry for inconvenience caused.

    Let us know if you have any issues.

    #345962 Reply

    Boeing-167
    Participant

    Not what I hoped to hear, but thanks for the quick response.

    #346213 Reply

    gryffin13,

    The fix for this issue is now available. You need to update the existing installation of MyEclipse to get the Customize perspective window working. Navigate to Help > Check for updates > Click on ‘Apply’ and follow the wizard to install the updates > Restart MyEclipse when it prompts.

    Let us know how it works for you.

    #346263 Reply

    Boeing-167
    Participant

    Thanks for getting a patch out on this so quickly. This is an improvement, in that I can now bring up the ‘customize perspective’ dialog, but I still cannot add many if not most items. There is no entry in the error log, but when I try to add/remove toolbar items like ‘Java Element Creation’ nothing happens. In fact, the setting change isn’t stored. They show checked even though they do not appear in the toolbar, they remain checked even when I uncheck them and restart MyEclipse. There is no apparent functional linkage between many of these options in the ‘customize perspective’ dialogue and the toolbar.

    Some things do work, for example, if I deselect the ‘Mobile Tools’ command group, they disappear from the toolbar and remain absent on restart. I can edit the individual ‘debug’ tool bar options. I have seen no problems editing the ‘menu visibility’ options.

    My goal is to be able to create certain files ( Java Class, package, Perl file, SQL file ) from the tool bar. None of these appear in the toolbar when I reset the perspective even though they’re selected by default in the ‘customize perspective’ dialog.

    I should also add that I’m using a saved perspective based on the MyEclipse Java perspective, but I tested these settings using both and found the same problem.

    So yes, the customize perspective window does come up now, but I still cannot make much use of it for Java work.

    #346283 Reply

    gryffin13,

    We already have a bug report filed for this issue and our dev team is investigating it. As a workaround, I would suggest you to open MyEclipse in new Window (Window > New Window) as new window opens up with new configuration for each perspective.

    The other workaround to display a toolbar option is to uncheck and then check the toolbar option in customize perspective window before clicking OK. (For example, if ‘New Java Class’ option is not shown in toolbar, then open customize perspective > Tool bar visibility > expand Java element creation > uncheck and check ‘Class’ option > click Ok).

    Sorry for the inconvenience caused.

    #346285 Reply

    Boeing-167
    Participant

    Pradeep, thank you for following through on this. I can say that checking/unchecking/checking the non-functional options in the ‘customize perspective’ dialogue does _not_ work. Doing that had no impact on the toolbar.

    However, I did open a new window and all of the desired choices appeared. I testing ‘customize perspective’ there and was rewarded by toolbar choices appearing and disappearing as expected.

    I closed the original window, then closed the new window, and relaunched MyEclipse. As expected I got the new window with all of the desired toolbar items. This workaround appears to fix the problem.

    Thanks again guys for digging into this and providing assistance.

    #346304 Reply

    gryffin13,

    Thanks for letting us know that the workaround fixed the problem.
    Do let us know if you see any issues in MyEclipse.

    #347589 Reply

    guow_99
    Participant

    Upgraded to MyEclipse Blue Edition, Version: 2014 Blue, Build id: 12.0.0-Blue-20131202 and got NPE when trying to do a Customize Perspective.

    Tried “Check for update” and only available is to lock to 2014 GA – December 2, 2013. Very annoying. Basic function. Should not be released at all with bugs like this.

    #347612 Reply

    guow_99,

    I have escalated it to dev team member to investigate on this issue. They will get back to you soon.

    Sorry for the inconvenience caused.

    #347619 Reply

    Boeing-Kent
    Member

    I’m having the same problem with Customize Perspective not working. Also usin MyEclipse Blue Edition, Version: 2014 Blue, Build id: 12.0.0-Blue-20131202. Please post info on fixing this as soon as you get a solution.

    #347663 Reply

    Hi all,

    Sorry for the inconvenience caused.

    An update has been released to fix the ‘Customize perspective’ issue in MyEclipse Blue 2014. In order to update you need to navigate to Help > Check for updates > Click on ‘Apply’ and follow the wizard to install the updates > Restart MyEclipse Blue when it prompts.

    Let us know how it works for you.

    #347685 Reply

    Boeing-Kent
    Member

    I was able to get the update for ME Blue and it worked great. I can now use Customize Perspective and finally get the ClearCase plug-in menu working.

    Thanks!

    #347704 Reply

    Boeing-Kent,

    Glad that you got it working and thanks for getting back to us.
    Let us know if you see any issues in MyEclipse.

    #347728 Reply

    guow_99
    Participant

    Fix works great for me as well. Hopefully better QA will be done for future releases. Thx.

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: Customize Perspective is not working

You must be logged in to post in the forum log in