uDIG
  1. uDIG
  2. UDIG-1857

NPE at net.refractions.udig.ui.CRSChooser.getCRS(CRSChooser.java:586)

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: UDIG 1.3.1
    • Fix Version/s: 2.x
    • Component/s: application
    • Labels:
      None
    • Environment:
      openSUSE 11.1, x86_64, gtk

      Description

      When udig application starts, press coordinate system chooser, start typing something silly, for example ddddd.
      Cancel button does not work after that throwing exception:

      !ENTRY org.eclipse.ui 4 0 2011-12-14 12:46:31.859
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
      at net.refractions.udig.ui.CRSChooser.getCRS(CRSChooser.java:586)
      at net.refractions.udig.ui.CRSChooserDialog.close(CRSChooserDialog.java:46)
      at org.eclipse.jface.dialogs.Dialog.cancelPressed(Dialog.java:488)
      at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:474)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      at org.eclipse.jface.window.Window.open(Window.java:801)
      at net.refractions.udig.project.ui.internal.MapEditorWithPalette$StatusBarButton.promptForCRS(MapEditorWithPalette.java:561)
      at net.refractions.udig.project.ui.internal.MapEditorWithPalette$StatusBarButton.access$0(MapEditorWithPalette.java:546)
      at net.refractions.udig.project.ui.internal.MapEditorWithPalette$StatusBarButton$1.handleEvent(MapEditorWithPalette.java:531)
      ...
      Dialog does not close either.

        Activity

        Andrea Antonello made changes -
        Field Original Value New Value
        Assignee Andrea Antonello [ moovida ]
        Andrea Antonello made changes -
        Status Open [ 1 ] Analysis [ 10002 ]
        Hide
        Andrea Antonello added a comment -
        fixed in master d573d97
        Show
        Andrea Antonello added a comment - fixed in master d573d97
        Andrea Antonello made changes -
        Status Analysis [ 10002 ] Resolved [ 5 ]
        Fix Version/s UDIG 1.3.x [ 17102 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Andrea Antonello
            Reporter:
            Slava
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: