Author |
Message
|
nimisha.parihar |
Posted: Tue Jan 18, 2011 11:34 pm Post subject: Unable to delete elements from Message Set |
|
|
Apprentice
Joined: 03 Nov 2010 Posts: 41
|
Experts,
we created a message set but when we double click it to open the same we are getting the following error -
"An error has occured when ativitating this view"
Though the Message set still opens but when i try deleting an element i created in the same i am not getting the "DELETE" option active.
I am also getting the following exception -->
Code: |
Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.
java.lang.NullPointerException
at com.ibm.etools.msg.editor.edit.mxsd.MXSDOutlinePage.getSelectionForSetShowSegmentOnly(Unknown Source)
at com.ibm.etools.msg.editor.edit.mxsd.MXSDOutlinePage.canSetShowSegmentOnly(Unknown Source)
at com.ibm.etools.msg.editor.actions.ShowSegmentOnlyAction.refreshEnablement(Unknown Source)
at com.ibm.etools.msg.editor.actions.ShowSegmentOnlyAction.setActiveEditor(Unknown Source)
at com.ibm.etools.msg.editor.actions.ActionManager.setActiveEditor(Unknown Source)
at com.ibm.etools.msg.editor.edit.MSGEditorActionBarContributor.setActivePage(Unknown Source)
at com.ibm.etools.msg.editor.edit.mxsd.MXSDEditorActionBarContributor.setActivePage(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.pageChange(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
at org.eclipse.ui.internal.EditorReference.getEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.access$10(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage$9.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.ide.IDE.openEditor(Unknown Source)
at org.eclipse.ui.ide.IDE.openEditor(Unknown Source)
at org.eclipse.ui.actions.OpenFileAction.openFile(Unknown Source)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(Unknown Source)
at com.ibm.etools.mft.navigator.resource.viewer.ResourceTreeViewer$OpenListener$1.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at com.ibm.etools.mft.navigator.resource.viewer.ResourceTreeViewer$OpenListener.open(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer$2.run(Unknown Source)
at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
at org.eclipse.core.runtime.Platform.run(Unknown Source)
at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
at org.eclipse.jface.util.SafeRunnable.run(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Unknown Source)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(Unknown Source)
at org.eclipse.jface.util.OpenStrategy.access$2(Unknown Source)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
at org.eclipse.core.launcher.Main.run(Unknown Source)
at org.eclipse.core.launcher.Main.main(Unknown Source) |
|
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jan 19, 2011 12:07 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What version of the toolkit are you using?
Have you tried to re-create the message set from the original XSD's/CopyBook/DTD etc and do the same operation? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
nimisha.parihar |
Posted: Wed Jan 19, 2011 12:15 am Post subject: |
|
|
Apprentice
Joined: 03 Nov 2010 Posts: 41
|
We are using 6.1.0.4
It was working fine some time back.
Of late it has started giving this error.
Be it creating a new Message Set or Opening an already created Message Set. |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jan 19, 2011 12:46 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Have you tried doing an export of your workspace and importing it all into a new one?
If I recall, 6.1.0.4 was a bit buggy. Can you upgrade to a later fixpack. We develop for a 6.1.0.3 runtime with 6.1.0.5 toolkits. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
nimisha.parihar |
Posted: Wed Jan 19, 2011 1:36 am Post subject: |
|
|
Apprentice
Joined: 03 Nov 2010 Posts: 41
|
The workspace remains to be the same. However i have configured the config mgr and broker on a new user id as i had recently replaced a collegue of mine in the project.
I guess, Since then i am facing this issue with the Message Sets.
Everything else however seems to be woking good.
I assume updating to a new fix pack would not be possible as it requires huge list of approvals from Higher Management.
Is there any other solution ? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 19, 2011 2:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Your Toolkit is broken somehow. "An error occurred trying to open this view" is a Toolkit issue.
It's *slightly* possible that your workspace simply has too much stuff in it or is corrupt, but it's more likely that your Toolkit is either broken or needs to be fixpacked.
Toolkit *only*. NOT runtime. |
|
Back to top |
|
 |
nimisha.parihar |
Posted: Wed Jan 19, 2011 4:03 am Post subject: |
|
|
Apprentice
Joined: 03 Nov 2010 Posts: 41
|
Thanks Jeff...
Its helped after creating a new workspace  |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jan 19, 2011 4:47 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Like WOT I suggested earlier then?
Quote: |
Have you tried doing an export of your workspace and importing it all into a new one?
|
_________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|