Topic
  • 2 replies
  • Latest Post - ‏2008-11-04T22:00:09Z by SystemAdmin
SystemAdmin
SystemAdmin
14225 Posts

Pinned topic The currently displayed page contains invalid values

‏2007-02-28T21:45:23Z |
I am using RAD 7.

When trying to access 'J2EE module dependencies' of my dynamic web project I get following error: 'The currently displayed page contains invalid values'.

So I try to access MANIFEST.MF directly and get:

Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.

Details:

java.lang.NullPointerException
at org.eclipse.wst.common.componentcore.internal.resources.VirtualResource.getReadOnlyComponent(Unknown Source)
at org.eclipse.wst.common.componentcore.internal.resources.VirtualResource.getProjectRelativePaths(Unknown Source)
at org.eclipse.wst.common.componentcore.internal.resources.VirtualFile.getUnderlyingFiles(Unknown Source)
at org.eclipse.wst.common.componentcore.internal.resources.VirtualFile.getUnderlyingResources(Unknown Source)
at org.eclipse.wst.common.componentcore.internal.resources.VirtualResource.exists(Unknown Source)
at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestClasspath(Unknown Source)
at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getManifestReferences(Unknown Source)
at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(Unknown Source)
Any ideas?

Updated on 2008-11-04T22:00:09Z at 2008-11-04T22:00:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: The currently displayed page contains invalid values

    ‏2007-02-28T22:53:04Z  
    I have found a bunch of other issues that just fails - some with tha same error others just display a green view instead of the original - this includes some tabs of deployment descriptors, security editor etc. On one deployment descriptor I can't add utility jars - nothing happens though it marks as modified (*).

    I have tried switching workspace - that didn't help anything.
    So basically my projects are ruined!!!

    I guess all I can do is recreate them???

    Please help - any files I can delete or something, so peace can be restored in my projects

    /Chr
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: The currently displayed page contains invalid values

    ‏2008-11-04T22:00:09Z  
    I have found a bunch of other issues that just fails - some with tha same error others just display a green view instead of the original - this includes some tabs of deployment descriptors, security editor etc. On one deployment descriptor I can't add utility jars - nothing happens though it marks as modified (*).

    I have tried switching workspace - that didn't help anything.
    So basically my projects are ruined!!!

    I guess all I can do is recreate them???

    Please help - any files I can delete or something, so peace can be restored in my projects

    /Chr
    I am getting this same error. Anyone know of a solution?

    I have a dynamic web project in RAD 7.0.0.6, and when I select the context menu "Properties", then try to access "J2EE Module Dependencies" I get the error "The currently displayed page contains invalid values".

    I searched for this error for eclipse, and found something related to the WTP plugin, which I am not running. I did remove plugins and am still getting the error.

    Per the message above, when I try to access the MANIFEST.MF in RAD, I get the same error and the following stack trace:
    java.lang.NullPointerException
    + at org.eclipse.wst.common.componentcore.internal.resources.VirtualContainer.findMember(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.resources.VirtualContainer.findMember(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities.findFile(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphManager.getTimeStampFile(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphManager.collectManifestTimeStamps(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphManager.manifestTimeStampsChanged(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphManager.metadataChanged(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphManager.constructIfNecessary(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.builder.DependencyGraphManager.getDependencyGraph(Unknown Source)+
    + at org.eclipse.wst.common.componentcore.internal.resources.VirtualComponent.getReferencingComponents(Unknown Source)+
    + at org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities.getReferencingEARProjects(Unknown Source)+
    + at org.eclipse.jst.j2ee.internal.common.ClasspathModel.refreshAvailableEARs(Unknown Source)+
    + at org.eclipse.jst.j2ee.internal.common.ClasspathModel.getAvailableEARComponents(Unknown Source)+
    + at org.eclipse.jst.j2ee.internal.common.ClasspathModel.setProject(Unknown Source)+
    + at com.ibm.etools.j2ee.manifest.ui.JARDependencyEditor.initializeModel(Unknown Source)+
    + at com.ibm.etools.j2ee.manifest.ui.JARDependencyEditor.getModel(Unknown Source)+
    + at com.ibm.etools.j2ee.manifest.ui.JARDependencyEditor.initializeValidateEditListener(Unknown Source)+
    + at com.ibm.etools.j2ee.manifest.ui.JARDependencyEditor.primCreatePages(Unknown Source)+
    + at com.ibm.etools.emf.workbench.ui.presentation.BaseMultiPageEditorPart.createPages(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.PartPane.setVisible(Unknown Source)+
    + at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Unknown Source)+
    + at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Unknown Source)+
    + at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(Unknown Source)+
    + at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(Unknown Source)+
    + at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(Unknown Source)+
    + at org.eclipse.ui.internal.PartStack.setSelection(Unknown Source)+
    + at org.eclipse.ui.internal.PartStack.showPart(Unknown Source)+
    + at org.eclipse.ui.internal.PartStack.add(Unknown Source)+
    + at org.eclipse.ui.internal.EditorStack.add(Unknown Source)+
    + at org.eclipse.ui.internal.PartStack.add(Unknown Source)+
    + at org.eclipse.ui.internal.EditorStack.add(Unknown Source)+
    + at org.eclipse.ui.internal.EditorSashContainer.addEditor(Unknown Source)+
    + at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(Unknown Source)+
    + at org.eclipse.ui.internal.EditorAreaHelper.addEditor(Unknown Source)+
    + at org.eclipse.ui.internal.EditorManager.createEditorTab(Unknown Source)+
    + at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(Unknown Source)+
    + at org.eclipse.ui.internal.EditorManager.openEditor(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 org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(Unknown Source)+
    + at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(Unknown Source)+
    + at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(Unknown Source)+
    + at org.eclipse.ui.views.navigator.ResourceNavigator$6.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)+

    When I go to the manifest manually and edit it, it is just the default. Here is the COMPLETE text:
    Manifest-Version: 1.0

    So what is missing from the manifest that will help me get past this error?