sax fatal: Premature end of file. when i try to Annotate a file under bazaar

Bug #901238 reported by Brice Favre
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr4j
New
Undecided
Unassigned

Bug Description

With PHPStorm i try to get the annotation of a file and i have this error

sax fatal: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
 at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
 at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
 at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
 at org.emergent.bzr4j.core.cli.BzrXmlResult$1.run(BzrXmlResult.java:67)
 at java.lang.Thread.run(Thread.java:662)

org.emergent.bzr4j.core.cli.BzrExecException: Exit value: 3 ; Working dir: "/mnt/dev002/bf/bstalkplus/trunk"
--- STDERR ---
<?xml version="1.0" encoding="UTF-8"?><error><class>ImportError</class><dict></dict><message>cannot import name _annotations</message></error>
---- ARGS ----
bzr
xmlannotate
--no-aliases
src/library/bstalkplus/modules/discussions/ui/DiscussionsDispatcher.class.php
--------------
 at org.emergent.bzr4j.core.cli.BzrAbstractResult.validate(BzrAbstractResult.java:135)
 at org.emergent.bzr4j.core.cli.BzrAbstractExec.exec(BzrAbstractExec.java:181)
 at org.emergent.bzr4j.intellij.command.BzrIdeaExec.exec(BzrIdeaExec.java:76)
 at org.emergent.bzr4j.core.cli.BzrExecService.execute(BzrExecService.java:19)
 at org.emergent.bzr4j.intellij.command.ShellCommandService.execute(ShellCommandService.java:126)
 at org.emergent.bzr4j.intellij.command.ShellCommandService.execute(ShellCommandService.java:38)
 at org.emergent.bzr4j.core.cli.BzrExecService.execute(BzrExecService.java:14)
 at org.emergent.bzr4j.intellij.command.BzrAnnotateCommand.execute(BzrAnnotateCommand.java:59)
 at org.emergent.bzr4j.intellij.provider.annotate.BzrAnnotationProvider.annotate(BzrAnnotationProvider.java:43)
 at com.intellij.openapi.vcs.actions.AnnotateToggleAction$1.run(AnnotateToggleAction.java:156)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:457)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:206)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:169)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl$7.run(ProgressManagerImpl.java:366)
 at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:418)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:137)

Is it something from my configuration or from the plugin?

Thanks.

Revision history for this message
Mathias Feitzinger (k-mathias) wrote :

i have the same problem

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.