Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Reopened: (UDIG-1793) PaletteViewer.setActiveTool NPE when called from ToolProxy.setChecked

     [ https://jira.codehaus.org/browse/UDIG-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hudson reopened UDIG-1793:
-------------------------------


Seems to still have a bug:

1. Open a new map with a shape file and a raster layer
2. Select the shape layer in the layer view
3. Select the Create tools with "c" shortcut
4. Cycle through that several times to get to "Create Ellipse"
5. Select the raster layer in the layer view
6. Select Pan with 'p' shortcut
7. Select Zoom with 'z' shortcut

same stack traces

> PaletteViewer.setActiveTool NPE when called from ToolProxy.setChecked
> ---------------------------------------------------------------------
>
>                 Key: UDIG-1793
>                 URL: https://jira.codehaus.org/browse/UDIG-1793
>             Project: uDIG
>          Issue Type: Sub-task
>          Components: tools and editing
>    Affects Versions: UDIG 1.2.x
>            Reporter: Scott Henderson
>            Assignee: John Hudson
>
> The following from moovida...Short cuts do not work for me or better, only the Z for zoom seems to work. If I try P for pan and S for select, nothing happens.
> The select tool seems to have disappeared completely, but when I push the P, I get an error at least:
> {panel}
> java.lang.NullPointerException
> at org.eclipse.gef.ui.palette.PaletteViewer.setActiveTool(PaletteViewer.java:401)
> at net.refractions.udig.project.ui.internal.tool.display.ModalItem.setChecked(ModalItem.java:126)
> at net.refractions.udig.project.ui.internal.tool.display.ToolProxy.setChecked(ToolProxy.java:50001)
> at net.refractions.udig.project.ui.internal.tool.display.ToolProxy.setActive(ToolProxy.java:490)
> at net.refractions.udig.project.ui.internal.tool.display.ToolProxy.enableModalTool(ToolProxy.java:454)
> at net.refractions.udig.project.ui.internal.tool.display.ToolProxy.access$0(ToolProxy.java:451)
> at net.refractions.udig.project.ui.internal.tool.display.ToolProxy$3.run(ToolProxy.java:446)
> at net.refractions.udig.ui.PlatformGIS.syncInDisplayThread(PlatformGIS.java:285)
> at net.refractions.udig.ui.PlatformGIS.syncInDisplayThread(PlatformGIS.java:261)
> at net.refractions.udig.project.ui.internal.tool.display.ToolProxy.run(ToolProxy.java:444)
> at net.refractions.udig.project.ui.internal.tool.display.ToolCommandHandler.execute(ToolCommandHandler.java:99)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
> {panel}
> We have been having trouble reproducing this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top