vasanth
I'm new here

FS Migration from 4.2 to 5.1

Hello ,

Currently We are migrating the Templates from FS 4.2 to FS 5.1. We have migrated deprecated API and FS Component to FS 5.1 and Some pages are displaying error message like this. Please let me know the root cause ot this.

java.lang.NullPointerException

    at de.espirit.firstspirit.store.access.contentstore.DatasetImpl.<init>(DatasetImpl.java:154)

    at de.espirit.firstspirit.store.access.contentstore.DatasetImpl.<init>(DatasetImpl.java:136)

    at de.espirit.firstspirit.client.access.editor.DatasetEditorValueImpl.createDataset(DatasetEditorValueImpl.java:257)

    at de.espirit.firstspirit.client.access.editor.DatasetEditorValueImpl.createDatasetContainer(DatasetEditorValueImpl.java:227)

    at de.espirit.firstspirit.client.access.editor.DatasetEditorValueImpl.parseLegacyEntry(DatasetEditorValueImpl.java:364)

    at de.espirit.firstspirit.client.access.editor.DatasetEditorValueImpl.parseValue(DatasetEditorValueImpl.java:86)

    at de.espirit.firstspirit.client.access.editor.DatasetEditorValueImpl.parseValue(DatasetEditorValueImpl.java:60)

    at de.espirit.firstspirit.client.access.editor.AbstractEditorValue.parseDataElement(AbstractEditorValue.java:413)

    at de.espirit.firstspirit.client.access.editor.AbstractEditorValue.setValueNode(AbstractEditorValue.java:345)

    at de.espirit.firstspirit.client.access.editor.AbstractEditorValue.initialize(AbstractEditorValue.java:121)

    at de.espirit.firstspirit.module.GadgetSpecification$ValueMediatorFactoryImpl.createValue(GadgetSpecification.java:213)

    at de.espirit.firstspirit.module.GadgetSpecification$ValueMediatorFactoryImpl.createValue(GadgetSpecification.java:193)

    at de.espirit.firstspirit.client.access.editor.EditorValueFactory.create(EditorValueFactory.java:61)

    at de.espirit.firstspirit.client.access.editor.EditorValueFactory.create(EditorValueFactory.java:46)

    at de.espirit.firstspirit.store.access.DataImpl.create(DataImpl.java:199)

    at de.espirit.firstspirit.store.access.DataImpl.create(DataImpl.java:179)

    at de.espirit.firstspirit.store.access.DataBuilder.toData(DataBuilder.java:109)

    at de.espirit.firstspirit.store.access.DataProviderHelper.parseData(DataProviderHelper.java:192)

    at de.espirit.firstspirit.store.access.DataProviderHelper.getData(DataProviderHelper.java:150)

    at de.espirit.firstspirit.store.access.DataProviderHelper.getFormData(DataProviderHelper.java:161)

    at de.espirit.firstspirit.store.access.pagestore.PageImpl.getFormData(PageImpl.java:188)

    at de.espirit.firstspirit.ui.views.controls.IDProviderControls$1.loadFormData(IDProviderControls.java:95)

    at de.espirit.firstspirit.ui.views.controls.IDProviderControls$FormViews.<init>(IDProviderControls.java:440)

    at de.espirit.firstspirit.ui.views.controls.IDProviderControls.addDataView(IDProviderControls.java:102)

    at de.espirit.firstspirit.ui.views.controls.pagestore.PageControlFactory.setUp(PageControlFactory.java:34)

    at de.espirit.firstspirit.ui.views.controls.pagestore.PageControlFactory.setUp(PageControlFactory.java:29)

    at de.espirit.firstspirit.ui.views.controls.IDProviderControlFactory.create(IDProviderControlFactory.java:41)

    at de.espirit.firstspirit.ui.views.controls.IDProviderControlFactory.create(IDProviderControlFactory.java:18)

    at de.espirit.firstspirit.agency.EditorialViewControlAgentImpl$UIControlImpl.createControl(EditorialViewControlAgentImpl.java:582)

    at de.espirit.firstspirit.agency.EditorialViewControlAgentImpl$UIControlImpl.updateControl(EditorialViewControlAgentImpl.java:837)

    at de.espirit.firstspirit.agency.EditorialViewControlAgentImpl$UIControlImpl.reload(EditorialViewControlAgentImpl.java:779)

    at de.espirit.firstspirit.agency.EditorialViewControlAgentImpl.handleRefresh(EditorialViewControlAgentImpl.java:397)

    at de.espirit.firstspirit.agency.EditorialViewControlAgentImpl.updateControlState(EditorialViewControlAgentImpl.java:376)

    at de.espirit.firstspirit.agency.EditorialViewControlAgentImpl.refreshControl(EditorialViewControlAgentImpl.java:162)

    at de.espirit.firstspirit.client.gui.tree.store.AbstractGuiStoreElement.notifyLockStatusChanged(AbstractGuiStoreElement.java:2205)

    at de.espirit.firstspirit.client.gui.tree.store.AbstractGuiStoreElement.setLock(AbstractGuiStoreElement.java:1278)

    at de.espirit.firstspirit.client.gui.tree.store.AbstractGuiStoreElement.unlock(AbstractGuiStoreElement.java:1212)

    at de.espirit.firstspirit.client.action.ToggleEditAction.unlock(ToggleEditAction.java:233)

    at de.espirit.firstspirit.client.action.ToggleEditAction.actionPerformed(ToggleEditAction.java:80)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at javax.swing.JComponent.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$200(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$4.run(Unknown Source)

    at java.awt.EventQueue$4.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:149)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:133)

    at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:126)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

Please find the screenshot in the attachment.

Regards,

Vasandharaj M.

Labels (1)
0 Kudos
1 Reply
Peter_Jodeleit
Crownpeak employee
Crownpeak employee

Re: FS Migration from 4.2 to 5.1

Could you please contact our helpdesk with this error message. I suspect that the data from 4.2 may be corrupted...

Peter