4 Replies Latest reply on Aug 8, 2007 3:49 PM by João Paulo Santos

    0.0  unindetified parser exception - in TILES files

    João Paulo Santos Newbie

      I getting an "error 0.0 unindetified parser exception" in my tiles file.

      I note that if create the file using only the UI view all looks fine, and I do not get the error.

      But if edit this same file in the SOURCE view remove any line, do a ctr+z to undo, making the file exactly as before and save. The error occur.

      This is an example of my Tiles file, one interresting fact is that my JSP is not at the same project. But this works in previous Exadel versions.

      <?xml version="1.0"?>
      <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
      <tiles-definitions>


















      </tiles-definitions>

      This is .log file from eclipse:

      !ENTRY org.eclipse.ui.workbench 4 2 2007-08-06 11:00:29.531
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.ClassCastException: org.jboss.tools.common.editor.SelectionNotifier
      at org.eclipse.jpt.ui.internal.selection.TextEditorSelectionParticipant.(TextEditorSelectionParticipant.java:48)
      at org.eclipse.jpt.ui.internal.selection.SelectionParticipantFactory.getAdapter(SelectionParticipantFactory.java:30)
      at org.eclipse.core.internal.runtime.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:61)
      at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:277)
      at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:115)
      at org.eclipse.ui.part.MultiPageEditorPart.getAdapter(MultiPageEditorPart.java:823)
      at org.jboss.tools.common.editor.ObjectMultiPageEditor.getAdapter(ObjectMultiPageEditor.java:539)
      at org.jboss.tools.jst.web.tiles.ui.editor.TilesCompoundEditor.getAdapter(TilesCompoundEditor.java:158)
      at org.jboss.tools.common.model.ui.editor.EditorPartWrapper.getAdapter(EditorPartWrapper.java:144)
      at org.eclipse.jpt.ui.internal.selection.SelectionManager.initPart(SelectionManager.java:87)
      at org.eclipse.jpt.ui.internal.selection.SelectionManager.access$2(SelectionManager.java:83)
      at org.eclipse.jpt.ui.internal.selection.SelectionManager$PartListener.partActivated(SelectionManager.java:223)
      at org.eclipse.ui.internal.PartListenerList2$1.run(PartListenerList2.java:68)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.java:857)
      at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
      at org.eclipse.ui.internal.PartListenerList2.firePartActivated(PartListenerList2.java:66)
      at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:77)
      at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
      at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
      at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
      at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3384)
      at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2928)
      at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)
      at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
      at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:229)
      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:943)
      at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1273)
      at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:2015)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3713)
      at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
      at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1584)
      at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1753)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
      at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2178)
      at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1541)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
      at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5370)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4364)
      at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
      at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2768)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3288)
      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(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      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)
      !SESSION 2007-08-06 14:11:37.968 -----------------------------------------------