MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
cgennari
Post subject: JSF editor not showing  PostPosted: Feb 23, 2011 - 01:48 PM
Registered Member
Registered Member


Joined: Mar 14, 2006
Posts: 13

I just installed MyEclipse 9.0 M2 32Bit. Below my installation detail. I updated my installation thru MyEclypse configuration center. Imported MyEclipse 8.6 projects (converted as needed) but editing my ICEFaces 1.8.2 pages with JSF editor preview pane is not showing! Two errors are repeated.

Thanks in advance

I'm getting the followings errors:
Code:

eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Command-line arguments:  -os win32 -ws win32 -arch x86_64

Error
Wed Feb 23 14:35:37 CET 2011
Error initializing facelet registry entry

org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.TagModelLoader.loadFromInputStream(TagModelLoader.java:101)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.JarFileFaceletTaglibLocator.processJar(JarFileFaceletTaglibLocator.java:237)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.JarFileFaceletTaglibLocator.start(JarFileFaceletTaglibLocator.java:126)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.JarFileFaceletTaglibLocator.start(JarFileFaceletTaglibLocator.java:1)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.ProjectTaglibDescriptor$1.run(ProjectTaglibDescriptor.java:82)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.ProjectTaglibDescriptor.initialize(ProjectTaglibDescriptor.java:71)
at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.ProjectTaglibDescriptor.getTagLibraries(ProjectTaglibDescriptor.java:117)
at org.eclipse.jst.jsf.facelet.core.internal.registry.FaceletTagRegistry.initialize(FaceletTagRegistry.java:155)
at org.eclipse.jst.jsf.facelet.core.internal.registry.FaceletTagRegistry.getAllTagLibraries(FaceletTagRegistry.java:110)
at org.eclipse.jst.jsf.facelet.core.internal.registry.FaceletTagRegistry.getTagLibrary(FaceletTagRegistry.java:201)
at org.eclipse.jst.jsf.facelet.core.internal.metadata.FaceletNamespaceMetaDataLocator.locateMetaDataModelProviders(FaceletNamespaceMetaDataLocator.java:45)
at org.eclipse.jst.jsf.common.metadata.internal.DomainLoadingStrategy.locateMetaDataSourceInstances(DomainLoadingStrategy.java:143)
at org.eclipse.jst.jsf.common.metadata.internal.DomainLoadingStrategy.load(DomainLoadingStrategy.java:55)
at org.eclipse.jst.jsf.common.metadata.internal.MetaDataModel.load(MetaDataModel.java:93)
at org.eclipse.jst.jsf.common.metadata.internal.MetaDataModelManager.loadMetadata(MetaDataModelManager.java:147)
at org.eclipse.jst.jsf.common.metadata.internal.MetaDataModelManager.getModel(MetaDataModelManager.java:90)
at org.eclipse.jst.jsf.common.metadata.query.TaglibDomainMetaDataQueryHelper.getMDModel(TaglibDomainMetaDataQueryHelper.java:205)
at org.eclipse.jst.jsf.common.metadata.query.TaglibDomainMetaDataQueryHelper.getModel(TaglibDomainMetaDataQueryHelper.java:90)
at org.eclipse.jst.jsf.common.metadata.query.TaglibDomainMetaDataQueryHelper.getEntities(TaglibDomainMetaDataQueryHelper.java:123)
at org.eclipse.jst.jsf.common.metadata.query.TaglibDomainMetaDataQueryHelper.getEntity(TaglibDomainMetaDataQueryHelper.java:101)
at org.eclipse.jst.jsf.metadataprocessors.MetaDataEnabledProcessingFactory.getAttributeValueRuntimeTypeFeatureProcessors(MetaDataEnabledProcessingFactory.java:102)
at org.eclipse.jst.jsf.metadataprocessors.MetaDataEnabledProcessingFactory.getAttributeValueRuntimeTypeFeatureProcessors(MetaDataEnabledProcessingFactory.java:128)
at org.eclipse.jst.jsf.validation.internal.strategy.AttributeValidatingStrategy.validateNonELAttributeValue(AttributeValidatingStrategy.java:660)
at org.eclipse.jst.jsf.validation.internal.strategy.AttributeValidatingStrategy.access$1(AttributeValidatingStrategy.java:637)
at org.eclipse.jst.jsf.validation.internal.strategy.AttributeValidatingStrategy$1.run(AttributeValidatingStrategy.java:184)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jst.jsf.validation.internal.strategy.AttributeValidatingStrategy.validateAttributeValue(AttributeValidatingStrategy.java:166)


And the following error:
Code:
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Command-line arguments:  -os win32 -ws win32 -arch x86_64


Error
Wed Feb 23 14:02:42 CET 2011
Error creating base name for: i18n.messages

java.io.IOException: Bundle i18n.messages not found in classpath for project: newjsf
at org.eclipse.jst.jsf.designtime.internal.symbols.ResourceBundleMapSource.createCachedBundleFile(ResourceBundleMapSource.java:235)
at org.eclipse.jst.jsf.designtime.internal.symbols.ResourceBundleMapSource.<init>(ResourceBundleMapSource.java:253)
at org.eclipse.jst.jsf.designtime.internal.symbols.ResourceBundleMapSourceFactory.getResourceBundleMapSource(ResourceBundleMapSourceFactory.java:44)
at org.eclipse.jst.jsf.designtime.internal.symbols.ResourceBundleSymbolSourceProvider.createSymbolForResourceBundle(ResourceBundleSymbolSourceProvider.java:104)
at org.eclipse.jst.jsf.designtime.internal.symbols.ResourceBundleSymbolSourceProvider.getSymbols(ResourceBundleSymbolSourceProvider.java:82)
at org.eclipse.jst.jsf.designtime.context.DTJSPExternalContext.doGetMapForScope(DTJSPExternalContext.java:87)
at org.eclipse.jst.jsf.designtime.context.AbstractDTExternalContext.getMapForScope(AbstractDTExternalContext.java:46)
at org.eclipse.jst.jsf.designtime.context.AbstractDTExternalContext.getApplicationMap(AbstractDTExternalContext.java:80)
at org.eclipse.jst.jsf.designtime.el.DefaultDTVariableResolver.resolveVariable(DefaultDTVariableResolver.java:77)
at org.eclipse.jst.jsf.designtime.internal.symbols.ConfigBasedDTVariableResolver.resolveVariable(ConfigBasedDTVariableResolver.java:108)
at org.eclipse.jst.jsf.designtime.resolver.SymbolContextResolver.getVariable(SymbolContextResolver.java:85)
at org.eclipse.jst.jsf.core.internal.contentassist.el.SymbolResolveUtil.getSymbolForVariable(SymbolResolveUtil.java:56)
at org.eclipse.jst.jsf.core.internal.contentassist.el.ContentAssistParser$PrefixVisitor.getSymbolInfo(ContentAssistParser.java:169)
at org.eclipse.jst.jsf.core.internal.contentassist.el.ContentAssistParser.getSymbolInfo(ContentAssistParser.java:82)
at org.eclipse.jst.jsf.ui.internal.jspeditor.JSPSourceUtil.determineSymbolInfo(JSPSourceUtil.java:103)
at org.eclipse.jst.jsf.ui.internal.jspeditor.JSFELHover.getHoverRegion(JSFELHover.java:65)
at org.eclipse.jst.jsf.ui.internal.jspeditor.JSFELHover.getHoverRegion(JSFELHover.java:50)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverRegion(BestMatchHover.java:118)
at org.eclipse.jface.text.TextViewerHoverManager.computeInformation(TextViewerHoverManager.java:140)
at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1120)
at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:519)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:201)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)










Installation Summary details:
Code:

*** Date:
mercoledì 23 febbraio 2011 14.41.42 CET

** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.0M2
Build id: 9.0M2-20110209


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 9.0M2
Build id: 9.0M2-20110209






Eclipse startup command=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
C:\WinApp\Java64\MyEclipse 9.0 M2\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\WinApp\Java64\MyEclipse 9.0 M2\../../java/MyEclipse 8.5/Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201012131400\eclipse_3210.dll
-startup
C:\WinApp\Java64\MyEclipse 9.0 M2\../../java/MyEclipse 8.5/Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata
1268_64
-install
C:\WinApp\Java64\MyEclipse 9.0 M2
-configuration
C:\WinApp\Java64\MyEclipse 9.0 M2\configuration
-vm
C:\WinApp\java\MyEclipse 8.5\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject: RE: JSF editor not showing  PostPosted: Feb 24, 2011 - 09:35 AM



Joined: Nov 11, 2010
Posts: 2491

cgennari,

Can you try the following?

1) Switch to a new workspace.

2) Download the ICEFaces tutorial example from MyEclipse > Examples on Demand, navigate to , switch to the preview tab and check if the issue exists?

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
cgennari
Post subject:   PostPosted: Feb 24, 2011 - 06:13 PM
Registered Member
Registered Member


Joined: Mar 14, 2006
Posts: 13

Hi swapna
I tried what you told me and, ... yes! no preview pane!
Here an extract from <wrkspc>/.metadata/.log
Code:

!SESSION 2011-02-24 18:47:59.908 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Command-line arguments:  -data C:\java\ecl9_test -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.jface 2 0 2011-02-24 18:48:09.082
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2011-02-24 18:48:09.082
!MESSAGE A conflict occurred for SHIFT+DEL:
Binding(SHIFT+DEL,
   ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
      ,
      Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
      ,
      ,,true),null),
   org.eclipse.ui.defaultAcceleratorConfiguration,
   org.eclipse.ui.contexts.window,,,system)
Binding(SHIFT+DEL,
   ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
      Cut the selection to the clipboard,
      Category(org.eclipse.ui.category.edit,Edit,null,true),
      org.eclipse.ui.internal.handlers.WidgetMethodHandler@ab5df86,
      ,,true),null),
   org.eclipse.ui.defaultAcceleratorConfiguration,
   org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(SHIFT+DEL,
   ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,remove from Model,
      Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
      Category(org.eclipse.ui.category.edit,Edit,null,true),
      ,
      ,,true),null),
   org.eclipse.ui.defaultAcceleratorConfiguration,
   org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.osgi 2 1 2011-02-24 18:48:13.270
!MESSAGE NLS unused message: prompt.optclasspath in: com.genuitec.eclipse.easie.core.configuration

!ENTRY org.eclipse.osgi 2 1 2011-02-24 18:48:13.271
!MESSAGE NLS unused message: prompt.preclasspath in: com.genuitec.eclipse.easie.core.configuration

!ENTRY org.eclipse.osgi 2 1 2011-02-24 18:48:13.271
!MESSAGE NLS unused message: prompt.optlibrarypath in: com.genuitec.eclipse.easie.core.configuration

!ENTRY org.eclipse.ui.workbench 2 0 2011-02-24 18:48:15.255
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-02-24 18:48:15.255
!MESSAGE Conflict for 'com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug':
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
   handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@aa85638,
   expression=,sourcePriority=0)
HandlerActivation(commandId=com.genuitec.eclipse.ast.deploy.core.runonservershortcut.debug,
   handler=org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension$LaunchCommandHandler@31b47bff,
   expression=,sourcePriority=0)

!ENTRY com.genuitec.eclipse.wizards 1 0 2011-02-24 18:48:18.255
!MESSAGE Installed snippet library: C:\WinApp\java\MyEclipse-9.0M2\configuration\org.eclipse.osgi\bundles3.0\toplink-essentials.jar
!STACK 1
org.eclipse.core.runtime.CoreException: I/O exception
   at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:2524)
   at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.getJar(JarPackageFragmentRoot.java:152)
   at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:78)
   at org.eclipse.jdt.internal.core.JavaProjectElementInfo.initializePackageNames(JavaProjectElementInfo.java:252)
   at org.eclipse.jdt.internal.core.JavaProjectElementInfo.getProjectCache(JavaProjectElementInfo.java:225)
   at org.eclipse.jdt.internal.core.JavaProjectElementInfo.newNameLookup(JavaProjectElementInfo.java:290)
   at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2282)
   at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:57)
   at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:64)
   at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
   at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:664)
   at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
   at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
   at org.eclipse.jpt.core.internal.utility.jdt.ASTTools.buildASTRoot(ASTTools.java:50)
   at org.eclipse.jpt.core.internal.resource.java.source.SourceCompilationUnit.buildASTRoot(SourceCompilationUnit.java:183)
   at org.eclipse.jpt.core.internal.resource.java.source.SourceCompilationUnit.buildPersistentType(SourceCompilationUnit.java:88)
   at org.eclipse.jpt.core.internal.resource.java.source.SourceCompilationUnit.<init>(SourceCompilationUnit.java:79)
   at org.eclipse.jpt.core.internal.JavaResourceModelProvider.buildResourceModel(JavaResourceModelProvider.java:49)
   at org.eclipse.jpt.core.internal.JavaResourceModelProvider.buildResourceModel(JavaResourceModelProvider.java:1)
   at org.eclipse.jpt.core.internal.GenericJpaPlatform.buildResourceModel(GenericJpaPlatform.java:106)
   at org.eclipse.jpt.core.internal.GenericJpaPlatform.buildJpaFile(GenericJpaPlatform.java:100)
   at org.eclipse.jpt.core.internal.GenericJpaPlatform.buildJpaFile(GenericJpaPlatform.java:96)
   at org.eclipse.jpt.core.internal.AbstractJpaProject.addJpaFile_(AbstractJpaProject.java:530)
   at org.eclipse.jpt.core.internal.AbstractJpaProject$InitialResourceProxyVisitor.visit(AbstractJpaProject.java:293)
   at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
   at org.eclipse.jpt.core.internal.AbstractJpaProject$InitialResourceProxyVisitor.visitProject(AbstractJpaProject.java:277)
   at org.eclipse.jpt.core.internal.AbstractJpaProject.<init>(AbstractJpaProject.java:219)
   at org.eclipse.jpt.core.internal.jpa1.GenericJpaProject.<init>(GenericJpaProject.java:25)
   at org.eclipse.jpt.core.internal.AbstractJpaFactory.buildJpaProject(AbstractJpaFactory.java:161)
   at org.eclipse.jpt.core.GenericJpaProjectManager.buildJpaProject(GenericJpaProjectManager.java:389)
   at org.eclipse.jpt.core.GenericJpaProjectManager.buildJpaProject(GenericJpaProjectManager.java:376)
   at org.eclipse.jpt.core.GenericJpaProjectManager.buildJpaProject(GenericJpaProjectManager.java:365)
   at org.eclipse.jpt.core.GenericJpaProjectManager.addJpaProject(GenericJpaProjectManager.java:348)
   at org.eclipse.jpt.core.GenericJpaProjectManager$ResourceProxyVisitor.processProject(GenericJpaProjectManager.java:681)
   at org.eclipse.jpt.core.GenericJpaProjectManager$ResourceProxyVisitor.visit(GenericJpaProjectManager.java:666)
   at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
   at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:120)
   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
   at org.eclipse.jpt.core.GenericJpaProjectManager.buildJpaProjects_(GenericJpaProjectManager.java:237)
   at org.eclipse.jpt.core.GenericJpaProjectManager.buildJpaProjects(GenericJpaProjectManager.java:228)
   at org.eclipse.jpt.core.GenericJpaProjectManager.start_(GenericJpaProjectManager.java:212)
   at org.eclipse.jpt.core.GenericJpaProjectManager.start(GenericJpaProjectManager.java:203)
   at org.eclipse.jpt.core.JptCorePlugin.getJpaProjectManager_(JptCorePlugin.java:778)
   at org.eclipse.jpt.core.JptCorePlugin.getJpaProjectManager(JptCorePlugin.java:264)
   at org.eclipse.jpt.core.JptCorePlugin.getJpaProject(JptCorePlugin.java:273)
   at org.eclipse.jpt.core.internal.validation.JpaValidator.validationMessages(JpaValidator.java:105)
   at org.eclipse.jpt.core.internal.validation.JpaValidator.validate(JpaValidator.java:91)
   at org.eclipse.jpt.core.internal.validation.JpaValidator.validate(JpaValidator.java:72)
   at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
   at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:737)
   at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:697)
   at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:843)
   at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:701)
   at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:301)
   at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:112)
   at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:64)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
   at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:74)
   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
   at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
   at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
   at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
   at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:114)
   at java.util.zip.ZipFile.<init>(ZipFile.java:131)
   at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:2518)
   ... 79 more
!SUBENTRY 1 org.eclipse.jdt.core 4 -1 2011-02-24 18:54:37.536
!MESSAGE I/O exception
!STACK 0
java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:114)
   at java.util.zip.ZipFile.<init>(ZipFile.java:131)
   at org.eclipse.jdt.internal.core.JavaModelManager.getZipFile(JavaModelManager.java:2518)
   at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.getJar(JarPackageFragmentRoot.java:152)
   at org.eclipse.jdt.internal.core.JarPackageFragmentRoot.computeChildren(JarPackageFragmentRoot.java:78)
   at org.eclipse.jdt.internal.core.JavaProjectElementInfo.initializePackageNames(JavaProjectElementInfo.java:252)
   at org.eclipse.jdt.internal.core.JavaProjectElementInfo.getProjectCache(JavaProjectElementInfo.java:225)
   at org.eclipse.jdt.internal.core.JavaProjectElementInfo.newNameLookup(JavaProjectElementInfo.java:290)
   at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2282)
   at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:57)
   at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:64)
   at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init>(CancelableNameEnvironment.java:26)
   at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:664)
   at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:1175)
   at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:801)
   at org.eclipse.jpt.core.internal.utility.jdt.ASTTools.buildASTRoot(ASTTools.java:50)
&lt;snip!...&gt;
!ENTRY org.eclipse.jst.jsf.common 4 0 2011-02-24 18:54:47.050
!MESSAGE Caught exception
!STACK 0
java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:114)
   at java.util.jar.JarFile.<init>(JarFile.java:133)
   at java.util.jar.JarFile.<init>(JarFile.java:97)
   at org.eclipse.jst.jsf.common.internal.resource.ClasspathJarFile.getJarFileFromCPE(ClasspathJarFile.java:98)
   at org.eclipse.jst.jsf.common.internal.resource.ClasspathJarFile.getJarFile(ClasspathJarFile.java:64)
&lt;snip!...&gt;
!ENTRY org.eclipse.jst.jsf.facelet.core 4 0 2011-02-24 18:54:48.295
!MESSAGE Error initializing facelet registry entry
!STACK 0
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
   at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352)
   at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.TagModelLoader.loadFromInputStream(TagModelLoader.java:101)
   at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.JarFileFaceletTaglibLocator.processJar(JarFileFaceletTaglibLocator.java:237)
   at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.JarFileFaceletTaglibLocator.start(JarFileFaceletTaglibLocator.java:126)
   at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.JarFileFaceletTaglibLocator.start(JarFileFaceletTaglibLocator.java:1)
   at org.eclipse.jst.jsf.facelet.core.internal.registry.taglib.ProjectTaglibDescriptor$1.run(ProjectTaglibDescriptor.java:82)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
&lt;snip!...&gt;
!ENTRY org.eclipse.jst.jsf.common 4 0 2011-02-24 18:54:48.369
!MESSAGE Caught exception
!STACK 0
java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:114)
   at java.util.jar.JarFile.<init>(JarFile.java:133)
   at java.util.jar.JarFile.<init>(JarFile.java:97)
   at org.eclipse.jst.jsf.common.internal.resource.ClasspathJarFile.getJarFileFromCPE(ClasspathJarFile.java:98)
&lt;snip!...&gt;
!ENTRY org.eclipse.osgi 2 1 2011-02-24 18:54:49.320
!MESSAGE NLS missing message: CONFIG_FILE_NOT_UNDER_WEBCONTENT_FOLDER in: org.eclipse.jst.jsf.validation.internal.appconfig.messages

!ENTRY org.eclipse.jst.jsp.core 2 2 2011-02-24 18:54:49.565
!MESSAGE Taglib Index ZipException: C:/WinApp/java/MyEclipse-9.0M2/configuration/org.eclipse.osgi/bundles/99/1/.cp/data/toplink/2.0/toplink-essentials.jar error in opening zip file

!ENTRY org.eclipse.jst.jsf.core 4 0 2011-02-24 18:54:51.150
!MESSAGE Error opening JarFile "C:/WinApp/java/MyEclipse-9.0M2/configuration/org.eclipse.osgi/bundles/99/1/.cp/data/toplink/2.0/toplink-essentials.jar"
!STACK 0
java.util.zip.ZipException: error in opening zip file
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:114)
   at java.util.jar.JarFile.<init>(JarFile.java:133)
   at java.util.jar.JarFile.<init>(JarFile.java:112)
   at org.eclipse.jst.jsf.core.jsfappconfig.JSFAppConfigUtils.getConfigFileJARsFromClasspath(JSFAppConfigUtils.java:359)
   at org.eclipse.jst.jsf.core.jsfappconfig.RuntimeClasspathJSFAppConfigLocater.locateProviders(RuntimeClasspathJSFAppConfigLocater.java:64)
&lt;snip!...&gt;

 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Feb 25, 2011 - 07:47 AM



Joined: Nov 11, 2010
Posts: 2491

cgennari ,

I will file a PR for the dev team to investigate it further.
Sorry for the inconvenience caused.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 27, 2011 - 09:31 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2584

cgennari,

From your installation summary, it appears that you have the 64bit version of MyEclipse installed, not the 32bit version. See the: "-arch x86_64" switch - this would be "-arch x86" on a 32 bit install, even on a 64bit system and the Visual Designer will not work in the 64bit version.

How did you install MyEclipse (from Pulse or with an offline installer?). Did you choose to install at 64-bit version first and then switch back to a 32-bit version in a later install?

Nevertheless, could you re-install and choose to install a 32-bit version? Then check the arch argument in installation summary to see that it says only x86.

Please let us know how this goes.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
cgennari
Post subject:   PostPosted: Feb 28, 2011 - 05:42 PM
Registered Member
Registered Member


Joined: Mar 14, 2006
Posts: 13

Hi
I installed 64Bit version some time ago but removed/uninstalled it.
Well, I've tryed to reinstall all from scratch 32bit version (no dirs mentions MyEclipse) under the same name i.e. c:\winapp\java\MyEclipse 9.0M2, but... 2 thinks are inconsistents
1) When I install 32bit version from myeclipse-9.0M2-offline-installer-windows.exe under my new directory
C:\WinApp\java\MyEclipse-9.0M2
it create the old
C:\WinApp\java\MyEclipse-9.0M1\Common
2) Under that dir it install 64bit version !
I did not find a file wich mention that old dir
OK! I removed all and installed 32 Bit into another one c:\java\inst
and that the result (by the way no JSF editor still showing):
Code:

*** Date:
lunedì 28 febbraio 2011 18.37.27 CET

** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.0M2
Build id: 9.0M2-20110121


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 9.0M2
Build id: 9.0M2-20110121






Eclipse startup command=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
C:\WinApp\Inst\MyEclipse 9.0M2\MyEclipse 9.0 M2\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\WinApp\Inst\MyEclipse 9.0M2\MyEclipse 9.0 M2\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201012131400\eclipse_3210.dll
-startup
C:\WinApp\Inst\MyEclipse 9.0M2\MyEclipse 9.0 M2\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata
e64_5c
-install
C:\WinApp\Inst\MyEclipse 9.0M2\MyEclipse 9.0 M2
-configuration
C:\WinApp\Inst\MyEclipse 9.0M2\MyEclipse 9.0 M2\configuration
-vm
C:\WinApp\Inst\MyEclipse 9.0M2\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe

 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 28, 2011 - 09:57 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2584

As you can see from what you just pasted, your arch is still showing "x86_64", which means you still have the 64bit version installed - and the editors won't work. When running the installer - did it, at any time, ask you what version you want to install? There should be a page which explicitly asks you to choose between 32 and 64bit versions - were you presented with that page, and did you choose 32 bit at that time?

Don't bother un-installing. Just run the installer again, and when it asks you - choose 32bit. Run the installed version at the end of the installer - does that show you "-arch x86"?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
cgennari
Post subject:   PostPosted: Mar 01, 2011 - 08:14 AM
Registered Member
Registered Member


Joined: Mar 14, 2006
Posts: 13

No it's the 32bit installation that shows that snippet. As I told you I've installed 64bit version only the first time, later I allways choosed 32Bit. I thing somewhere (maybe in the pulse repository or somewhere else) there are some sticky porperties fixed by my first 64 bit installation than further operations cannot overwrite.
Meanwhile I tryed the other installer: Online Installer for windows, choosed the new installation. with that installer finally I got "-arch 86" ! but... the common dir now is:
Code:

--launcher.library
C:\winapp\java\test\MyEclipse 9.0 M2a\../../../../WinApp/java/MyEclipse 8.5/Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201012131400\eclipse_3210.dll

from 8.5 installation
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits