Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1849) Map properties dialog cant be opened, ClassCastException - Layer expected in LayerInteractionPropertyPage

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

                 Key: UDIG-1849
                 URL: https://jira.codehaus.org/browse/UDIG-1849
             Project: uDIG
          Issue Type: Bug
          Components: framework
    Affects Versions: UDIG 1.3.x
            Reporter: Frank Gasdorf
            Assignee: Jody Garnett


ClassCastException if the user selects a map and tries to open map properties pages (menu -> map -> Properties):
{code}
!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)

{code}

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

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

        


Back to the top