facebook

JSF-Bean Content Assist fails with "URI is not absolute

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #276597 Reply

    Sven Garske
    Member

    Hello,

    since myEclipse 6 I always get an error if I press Ctrl+Space inside my jsf-page to use the
    code completition of my java-beans.

    Example:
    <t:commandButton actionListener=”#{ledgerBean.(Press Ctrl+Space => Error)}”
    value=”Save item” />

    I don’t know, how to solve this problem.
    Any ideas?

    Thanks,
    Martin

    Logfile:
    !ENTRY org.eclipse.ui 4 4 2007-10-06 11:41:22.492
    !MESSAGE “Content Assist” did not complete normally. Please see the log for more information.

    !ENTRY org.eclipse.ui 4 0 2007-10-06 11:41:22.492
    !MESSAGE URI is not absolute
    !STACK 0
    java.lang.IllegalArgumentException: URI is not absolute
    at java.io.File.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.uriresolver.SystemIDResolver.resolve(SystemIDResolver.java:34)
    at org.eclipse.wst.common.uriresolver.internal.ExtensibleURIResolver.resolve(ExtensibleURIResolver.java:68)
    at org.eclipse.jst.jsf.facesconfig.util.FacesConfigResourceImpl$MyEntityResolver.resolveEntity(FacesConfigResourceImpl.java:62)
    at com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at org.eclipse.wst.common.internal.emf.utilities.DOMUtilities.loadDocument(DOMUtilities.java:549)
    at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.loadDocument(EMF2DOMRenderer.java:74)
    at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:62)
    at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:144)
    at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:175)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1354)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1155)
    at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:261)
    at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:390)
    at org.eclipse.jst.jsf.core.jsfappconfig.JARFileJSFAppConfigProvider.getFacesConfigModel(JARFileJSFAppConfigProvider.java:88)
    at org.eclipse.jst.jsf.core.jsfappconfig.JSFAppConfigManager.getFacesConfigModels(JSFAppConfigManager.java:416)
    at org.eclipse.jst.jsf.core.jsfappconfig.JSFAppConfigManager.getManagedBeans(JSFAppConfigManager.java:451)
    at org.eclipse.jst.jsf.designtime.symbols.DefaultBeanSymbolSourceProvider.getManagedBeanSymbols(DefaultBeanSymbolSourceProvider.java:124)
    at org.eclipse.jst.jsf.designtime.symbols.DefaultBeanSymbolSourceProvider.getSymbols(DefaultBeanSymbolSourceProvider.java:82)
    at org.eclipse.jst.jsf.designtime.el.DefaultDTVariableResolver.addBeanSymbols(DefaultDTVariableResolver.java:172)
    at org.eclipse.jst.jsf.designtime.el.DefaultDTVariableResolver.getAllVariables(DefaultDTVariableResolver.java:115)
    at org.eclipse.jst.jsf.designtime.resolver.SymbolContextResolver.getAllVariables(SymbolContextResolver.java:79)
    at org.eclipse.jst.jsf.core.internal.contentassist.el.IdCompletionStrategy.getProposals(IdCompletionStrategy.java:77)
    at org.eclipse.jst.jsf.ui.internal.contentassist.el.JSFELContentAssistProcessor.computeCompletionProposals(JSFELContentAssistProcessor.java:103)
    at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:290)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1759)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:478)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:475)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:410)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:404)
    at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1588)
    at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:390)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
    at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:821)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:879)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:568)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1141)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:975)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:971)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1285)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3772)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3672)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2264)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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.equinox.launcher.Main.invokeFramework(Main.java:504)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

    #276623 Reply

    Riyad Kalla
    Member

    Martin,
    Can you go to MyEclipse > Install Summary > Installation Details, and post that information here for me?

    Also is this a Web Project with JSF capabilities added to it?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSF-Bean Content Assist fails with "URI is not absolute

You must be logged in to post in the forum log in