[ https://issues.apache.org/jira/browse/SLING-3631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu updated SLING-3631: ----------------------------------- Affects Version/s: (was: Sling Eclipse IDE 1.0.0) Fix Version/s: Sling Eclipse IDE 1.0.2 > NPE when trying to change the primary node type from nt:folder to sling:Folder > ------------------------------------------------------------------------------ > > Key: SLING-3631 > URL: https://issues.apache.org/jira/browse/SLING-3631 > Project: Sling > Issue Type: Bug > Components: IDE > Reporter: Robert Munteanu > Fix For: Sling Eclipse IDE 1.0.0 > > > When trying to create the node type of an nt:folder to a sling:Folder using > the JCR properties view, I get a NPE. Possibly related to the fact that there > is no .content.xml for that node yet? > {code}!ENTRY org.eclipse.jface 4 2 2014-06-03 15:09:24.373 > !MESSAGE Problems occurred when invoking code from plug-in: > "org.eclipse.jface". > !STACK 0 > java.lang.NullPointerException > at > org.apache.sling.ide.eclipse.ui.nav.model.ModifiableProperties.setPropertyValue(ModifiableProperties.java:110) > at > org.eclipse.ui.views.properties.PropertySheetEntry.valueChanged(PropertySheetEntry.java:782) > at > org.eclipse.ui.views.properties.PropertySheetEntry.setValue(PropertySheetEntry.java:723) > at > org.eclipse.ui.views.properties.PropertySheetEntry.applyEditorValue(PropertySheetEntry.java:146) > at > org.eclipse.ui.views.properties.PropertySheetEntry$1.applyEditorValue(PropertySheetEntry.java:103) > at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:335) > 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) > at > org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:333) > at > org.eclipse.jface.viewers.TextCellEditor.handleDefaultSelection(TextCellEditor.java:293) > at > org.eclipse.jface.viewers.TextCellEditor$1.widgetDefaultSelected(TextCellEditor.java:148) > at > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:119) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363) > at > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) > at > org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) > at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) > at org.eclipse.equinox.launcher.Main.run(Main.java:1450) > at org.eclipse.equinox.launcher.Main.main(Main.java:1426){code} > ( cc [~egli] ) -- This message was sent by Atlassian JIRA (v6.2#6252)