[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3620) Context menu for the Visual Pane occurs empty with exception

Sergey Dzmitrovich (JIRA) jira-events at lists.jboss.org
Fri Jan 23 09:24:44 EST 2009


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

Sergey Dzmitrovich resolved JBIDE-3620.
---------------------------------------

    Fix Version/s: 3.0.0.CR2
       Resolution: Done
         Assignee: Yura Zhishko  (was: Sergey Dzmitrovich)


> Context menu for  the Visual Pane occurs empty with exception
> -------------------------------------------------------------
>
>                 Key: JBIDE-3620
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3620
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.0.0.CR2
>            Reporter: Yura Zhishko
>            Assignee: Yura Zhishko
>             Fix For: 3.0.0.CR2
>
>
> 1) Insert next source code into empty page
> 2) Set cursor at the end of file
> 3) Call Context menu for the Visual Pane.
> Next exception occurs:
> java.lang.NullPointerException
> 	at org.jboss.tools.vpe.editor.menu.InsertContributionItem.getSelectionRange(InsertContributionItem.java:155)
> 	at org.jboss.tools.vpe.editor.menu.InsertContributionItem.fill(InsertContributionItem.java:119)
> 	at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:731)
> 	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:812)
> 	at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:464)
> 	at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:459)
> 	at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:485)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
> 	at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4111)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3815)
> 	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
> 	at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
> 	at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
> 	at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
> 	at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:250)
> 	at org.eclipse.swt.widgets.Display.runPopups(Display.java:3849)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list