facebook

Exception with the faces-config.xml

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

    Unable to edit faces-config.xml with the XML editor. Cursor is not shown, copy/paste not working, and so on..

    Any ideas?

    !ENTRY org.eclipse.wst.sse.ui 4 4 2007-10-10 12:21:59.125
    !MESSAGE problem with reconciling
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.computeIndexInPositionList(GenericPositionManager.java:189)
        at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.addPosition(GenericPositionManager.java:89)
        at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.addPosition(GenericPositionManager.java:66)
        at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.addPosition(BasicStructuredDocument.java:862)
        at org.eclipse.jface.text.source.AnnotationModel.addPosition(AnnotationModel.java:316)
        at org.eclipse.jface.text.source.AnnotationModel.addAnnotation(AnnotationModel.java:279)
        at org.eclipse.jface.text.source.AnnotationModel.replaceAnnotations(AnnotationModel.java:257)
        at org.eclipse.jface.text.source.AnnotationModel.replaceAnnotations(AnnotationModel.java:227)
        at org.eclipse.wst.sse.ui.internal.spelling.SpellcheckStrategy.spellCheck(SpellcheckStrategy.java:400)
        at org.eclipse.wst.sse.ui.internal.spelling.SpellcheckStrategy.reconcile(SpellcheckStrategy.java:375)
        at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:199)
        at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:252)
        at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:610)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    
    !ENTRY org.eclipse.wst.sse.core 4 4 2007-10-10 12:22:34.234
    !MESSAGE Program Error: invalid structured document event
    
    !ENTRY org.eclipse.ui 4 0 2007-10-10 12:22:34.234
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.RuntimeException: java.lang.NullPointerException
        at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:117)
        at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2391)
        at org.eclipse.wst.sse.ui.internal.StructuredDocumentToTextAdapter.replaceTextRange(StructuredDocumentToTextAdapter.java:1187)
        at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5757)
        at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6500)
        at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2155)
        at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5029)
        at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5054)
        at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4800)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        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)
    Caused by: java.lang.NullPointerException
        at org.eclipse.jface.text.DefaultPositionUpdater.update(DefaultPositionUpdater.java:233)
        at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.updatePositions(GenericPositionManager.java:395)
        at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateDocumentData(BasicStructuredDocument.java:2673)
        at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1350)
        at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1284)
        at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2686)
        at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1919)
        at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2395)
        at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)
        at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:98)
        at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:42)
        at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:109)
        ... 43 more
    
    

    —-
    *** Date:
    10 Ekim 2007 Çarşamba 12:25:54 EEST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse Graphical Editing Framework

    Version: 3.3.0.v20070620
    Build id: 20070620-1021

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Programs\MyEclipse60\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Programs\MyEclipse60\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
    -startup
    C:\Programs\MyEclipse60\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -exitdata
    180_38
    -vm
    C:\Programs\MyEclipse60\jre\bin\javaw.exe

    #276754 Reply

    Loyal Water
    Member

    Can you switch to a new workspace, create a new project and try working with the faces-config.xml again. Do you run into the same issues ?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Exception with the faces-config.xml

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