uDIG
  1. uDIG
  2. UDIG-1849

Map properties dialog cant be opened, ClassCastException - Layer expected in LayerInteractionPropertyPage

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.x
    • Fix Version/s: UDIG 1.3.0
    • Component/s: framework
    • Labels:
      None
    • Patch attached:
      Yes

      Description

      ClassCastException if the user selects a map and tries to open map properties pages (menu -> map -> Properties):

      !ENTRY org.eclipse.jface 4 2 2011-12-05 16:10:11.818
      !MESSAGE Beim Aufrufen des Codes vom Plug-in sind Fehler aufgetreten: "org.eclipse.jface".
      !STACK 0
      java.lang.ClassCastException: net.refractions.udig.project.internal.impl.MapImpl cannot be cast to net.refractions.udig.project.internal.Layer
      	at net.refractions.udig.project.ui.internal.property.pages.LayerInteractionPropertyPage.createContents(LayerInteractionPropertyPage.java:63)
      	at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
      	at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501)
      	at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      
      

      Patch for this is the pull request #83 : https://github.com/uDig/udig-platform/pull/83

        Activity

        Frank Gasdorf made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s UDIG 1.3.x [ 17102 ]
        Resolution Fixed [ 1 ]
        Frank Gasdorf made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Frank Gasdorf made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s UDIG 1.3.0 [ 17485 ]
        Fix Version/s UDIG 1.3.x [ 17102 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jody Garnett
            Reporter:
            Frank Gasdorf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: