Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-429

NPE selecting file in explorer that has no file extension

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0
    • Fix Version/s: 7.0
    • Component/s: Views
    • Labels:
      None

      Description

      Create File resource under some Model Project in Desginer

      Select that file in explorer and receive the following NPE:

      java.lang.NullPointerException
      at com.metamatrix.modeler.internal.ui.actions.DeleteResourceAction.isValidSelection(DeleteResourceAction.java:861)
      at com.metamatrix.modeler.internal.ui.actions.DeleteResourceAction.selectionChanged(DeleteResourceAction.java:799)
      at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
      at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)
      at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)

      Simple code fix in DeleteResourceAction

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                blafond Barry LaFond
                Reporter:
                blafond Barry LaFond
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: