Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaskDataStore.readState: java.io.IOException: Error parsing task data: XML document structures must start and end within the same entity. #480

Open
crowlogic opened this issue Apr 2, 2024 · 0 comments

Comments

@crowlogic
Copy link

Try importing the issue list http://github.com/crowlogic/arb4j .. most tasks work but one gets put in the unclassified bucket because of this

!SUBENTRY 1 org.eclipse.mylyn.tasks.core 4 0 2024-04-01 19:32:16.983
!MESSAGE Error reading task data
!STACK 0
java.io.IOException: Error parsing task data: XML document structures must start and end within the same entity.
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:152)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.getTaskDataState(TaskDataStore.java:67)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.lambda$0(TaskDataManager.java:114)
	at org.eclipse.mylyn.internal.tasks.core.TaskList.run(TaskList.java:735)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.getWorkingCopy(TaskDataManager.java:112)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.getWorkingCopy(TaskDataManager.java:103)
	at org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorPage.createModel(AbstractTaskEditorPage.java:686)
	at org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorPage.initModel(AbstractTaskEditorPage.java:1238)
	at org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorPage.refresh(AbstractTaskEditorPage.java:1385)
	at org.eclipse.mylyn.internal.github.ui.issue.IssueTaskEditorPage.refresh(IssueTaskEditorPage.java:92)
	at org.eclipse.mylyn.tasks.ui.editors.TaskEditor.refreshPages(TaskEditor.java:689)
	at org.eclipse.mylyn.internal.tasks.ui.actions.SynchronizeEditorAction$1.lambda$0(SynchronizeEditorAction.java:72)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5040)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4520)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1398; columnNumber: 42; XML document structures must start and end within the same entity.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataExternalizer.readState(TaskDataExternalizer.java:187)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readStateInternal(TaskDataStore.java:129)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:140)
	... 35 more

!ENTRY org.eclipse.ui 4 0 2024-04-01 19:32:17.010
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.mylyn.tasks.core.data.TaskDataModel.getTaskRepository()" because the return value of "org.eclipse.mylyn.internal.github.ui.issue.IssueTaskEditorPage.getModel()" is null
	at org.eclipse.mylyn.internal.github.ui.issue.IssueTaskEditorPage.checkCanSubmit(IssueTaskEditorPage.java:105)
	at org.eclipse.mylyn.internal.github.ui.issue.IssueTaskEditorPage.refresh(IssueTaskEditorPage.java:93)
	at org.eclipse.mylyn.tasks.ui.editors.TaskEditor.refreshPages(TaskEditor.java:689)
	at org.eclipse.mylyn.internal.tasks.ui.actions.SynchronizeEditorAction$1.lambda$0(SynchronizeEditorAction.java:72)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5040)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4520)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1432)

!ENTRY org.eclipse.mylyn.tasks.core 4 0 2024-04-01 19:32:17.020
!MESSAGE Error writing task data
!STACK 0
java.io.IOException: Error writing task dataAn invalid XML character (Unicode: 0x1b) was found in the node's character data content.
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataExternalizer.writeState(TaskDataExternalizer.java:208)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.writeState(TaskDataStore.java:173)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.putTaskData(TaskDataStore.java:101)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.lambda$2(TaskDataManager.java:198)
	at org.eclipse.mylyn.internal.tasks.core.TaskList.run(TaskList.java:735)
	at org.eclipse.mylyn.internal.tasks.core.TaskList.run(TaskList.java:726)
	at org.eclipse.mylyn.internal.tasks.core.TaskList.run(TaskList.java:722)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.putUpdatedTaskData(TaskDataManager.java:194)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.updateFromTaskData(SynchronizeTasksJob.java:311)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.synchronizeTask(SynchronizeTasksJob.java:246)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.runInternal(SynchronizeTasksJob.java:217)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.run(SynchronizeTasksJob.java:153)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.run(SynchronizeTasksJob.java:129)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2024-04-01 19:32:21.328
!MESSAGE Failed to get task data for task: ""
!STACK 1
org.eclipse.core.runtime.CoreException: Error reading task data
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:157)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.getTaskDataState(TaskDataStore.java:67)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.getTaskDataState(TaskDataManager.java:347)
	at org.eclipse.mylyn.internal.tasks.ui.notifications.TaskListNotifier.getDiff(TaskListNotifier.java:84)
	at org.eclipse.mylyn.internal.tasks.ui.notifications.TaskListNotifier.computeNotificationText(TaskListNotifier.java:123)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListToolTip.getIncomingText(TaskListToolTip.java:333)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListToolTip.createToolTipArea(TaskListToolTip.java:547)
	at org.eclipse.mylyn.commons.ui.GradientToolTip.createToolTipContentArea(GradientToolTip.java:67)
	at org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:345)
	at org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:469)
	at org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:334)
	at org.eclipse.jface.window.ToolTip$ToolTipOwnerControlListener.handleEvent(ToolTip.java:609)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5855)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1529)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5065)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4517)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Caused by: java.io.IOException: Error parsing task data: XML document structures must start and end within the same entity.
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:152)
	... 36 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1398; columnNumber: 42; XML document structures must start and end within the same entity.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataExternalizer.readState(TaskDataExternalizer.java:187)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readStateInternal(TaskDataStore.java:129)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:140)
	... 36 more
!SUBENTRY 1 org.eclipse.mylyn.tasks.core 4 0 2024-04-01 19:32:21.328
!MESSAGE Error reading task data
!STACK 0
java.io.IOException: Error parsing task data: XML document structures must start and end within the same entity.
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:152)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.getTaskDataState(TaskDataStore.java:67)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.getTaskDataState(TaskDataManager.java:347)
	at org.eclipse.mylyn.internal.tasks.ui.notifications.TaskListNotifier.getDiff(TaskListNotifier.java:84)
	at org.eclipse.mylyn.internal.tasks.ui.notifications.TaskListNotifier.computeNotificationText(TaskListNotifier.java:123)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListToolTip.getIncomingText(TaskListToolTip.java:333)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListToolTip.createToolTipArea(TaskListToolTip.java:547)
	at org.eclipse.mylyn.commons.ui.GradientToolTip.createToolTipContentArea(GradientToolTip.java:67)
	at org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:345)
	at org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:469)
	at org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:334)
	at org.eclipse.jface.window.ToolTip$ToolTipOwnerControlListener.handleEvent(ToolTip.java:609)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5855)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1529)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5065)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4517)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1398; columnNumber: 42; XML document structures must start and end within the same entity.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataExternalizer.readState(TaskDataExternalizer.java:187)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readStateInternal(TaskDataStore.java:129)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataStore.readState(TaskDataStore.java:140)
	... 36 more
[crow@c17 20240401-07:32:28PM]~/workspace/.metadata$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant