Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMalformedInputException on tag files
https://www.eclipse.org/forums/index.php/mv/msg/67476/211725/#msg_211725
Originally posted by: mauro.molinari.cardinis.com
Hello all!
Looking at Eclipse log file, I find it full of errors like this:
!ENTRY org.eclipse.jst.jsp.core 4 4 2008-04-02 16:25:45.031
!MESSAGE problem parsing L/Suite Cardinis
5.0/CARDINIS_APP_WEB/web/WEB-INF/tags/html/pageTitle.tag
!STACK 0
java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.read1(Unknown Source)
at java.io.BufferedReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.read1(Unknown Source)
at java.io.BufferedReader.read(Unknown Source)
at
org.eclipse.wst.sse.core.internal.encoding.util.BufferedLimi tedReader.read(BufferedLimitedReader.java:52)
at
org.eclipse.jst.jsp.core.internal.contenttype.JSPHeadTokeniz er.zzRefill(JSPHeadTokenizer.java:359)
at
org.eclipse.jst.jsp.core.internal.contenttype.JSPHeadTokeniz er.primGetNextToken(JSPHeadTokenizer.java:588)
at
org.eclipse.jst.jsp.core.internal.contenttype.JSPHeadTokeniz er.getNextToken(JSPHeadTokenizer.java:253)
at
org.eclipse.jst.jsp.core.internal.contenttype.JSPResourceEnc odingDetector.parseHeader(JSPResourceEncodingDetector.java:3 87)
at
org.eclipse.jst.jsp.core.internal.contenttype.JSPResourceEnc odingDetector.parseInput(JSPResourceEncodingDetector.java:44 9)
at
org.eclipse.jst.jsp.core.internal.contenttype.JSPResourceEnc odingDetector.getContentType(JSPResourceEncodingDetector.jav a:88)
at
org.eclipse.jst.jsp.core.internal.encoding.JSPDocumentLoader .getEmbeddedType(JSPDocumentLoader.java:209)
at
org.eclipse.jst.jsp.core.internal.encoding.JSPDocumentLoader .createNewStructuredDocument(JSPDocumentLoader.java:92)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumen tFactoryTLD.loadTagFile(CMDocumentFactoryTLD.java:803)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumen tFactoryTLD.createElementDeclaration(CMDocumentFactoryTLD.ja va:418)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumen tFactoryTLD.buildCMDocumentFromFolder(CMDocumentFactoryTLD.j ava:133)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumen tFactoryTLD.createCMDocument(CMDocumentFactoryTLD.java:1025)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager.loadTaglib(TLDCMDocumentManager.java:1093)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager.getCMDocument(TLDCMDocumentManager.java:790)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager$DirectiveStructuredDocumentRegionHandler.enableT ags(TLDCMDocumentManager.java:118)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager$DirectiveStructuredDocumentRegionHandler.enableT agsInDir(TLDCMDocumentManager.java:143)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager$DirectiveStructuredDocumentRegionHandler.process Taglib(TLDCMDocumentManager.java:435)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager$DirectiveStructuredDocumentRegionHandler.process Taglib(TLDCMDocumentManager.java:374)
at
org.eclipse.jst.jsp.core.internal.contentmodel.tld.TLDCMDocu mentManager$DirectiveStructuredDocumentRegionHandler.nodePar sed(TLDCMDocumentManager.java:185)
at
org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.fir eNodeParsed(XMLSourceParser.java:125)
at
org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.par seNodes(JSPSourceParser.java:296)
at
org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.get DocumentRegions(XMLSourceParser.java:162)
at
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocume nt.reparse(BasicStructuredDocument.java:2331)
at
org.eclipse.jst.jsp.core.internal.contentmodel.TaglibControl ler$FileBufferListener.bufferCreated(TaglibController.java:1 28)
at
org.eclipse.core.internal.filebuffers.TextFileBufferManager$ 11.run(TextFileBufferManager.java:736)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.filebuffers.TextFileBufferManager. fireBufferCreated(TextFileBufferManager.java:734)
at
org.eclipse.core.internal.filebuffers.TextFileBufferManager. connect(TextFileBufferManager.java:124)
at
org.eclipse.wst.sse.core.internal.FileBufferModelManager.get Model(FileBufferModelManager.java:641)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._co mmonGetModel(ModelManagerImpl.java:322)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._co mmonGetModel(ModelManagerImpl.java:308)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.get ModelForRead(ModelManagerImpl.java:1097)
at
org.eclipse.jst.jsp.core.internal.validation.JSPContentValid ator.validateFile(JSPContentValidator.java:79)
at
org.eclipse.jst.jsp.core.internal.validation.JSPValidator.va lidate(JSPValidator.java:192)
at
org.eclipse.jst.jsp.core.internal.validation.JSPValidator.va lidateInJob(JSPValidator.java:399)
at
org.eclipse.wst.validation.internal.operations.ValidatorJob. run(ValidatorJob.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
pageTitle.tag file is just a tag file.
Any hint on the reason for this? Should I file a bug?
I'm using Eclipse 3.3.2 with WebTools 2.0.2 on a Sun's JRE 1.6.0_05.
Mauro.]]>2008-04-03T15:12:10-00:00Re: MalformedInputException on tag files
https://www.eclipse.org/forums/index.php/mv/msg/67476/211736/#msg_211736
Originally posted by: mauro.molinari.cardinis.com
By the way, when I say "full of messages like this", I mean that the
same error is given on lots of tag files (I think all of the tag files
in my workspace...), not that the same error is given n times for the
same tag file ;-)
Mauro.]]>2008-04-03T15:14:02-00:00Re: MalformedInputException on tag files
https://www.eclipse.org/forums/index.php/mv/msg/67476/211768/#msg_211768
> Any hint on the reason for this? Should I file a bug?
Yes, please do, and attach some of these tag files if you can, or at
least the tag directives from them.
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational]]>Nitin Dahyabhai2008-04-03T18:12:39-00:00Re: MalformedInputException on tag files
https://www.eclipse.org/forums/index.php/mv/msg/67476/211789/#msg_211789
Originally posted by: mauro.molinari.cardinis.com
Nitin Dahyabhai ha scritto:
> Mauro Molinari wrote:
>> Any hint on the reason for this? Should I file a bug?
>
> Yes, please do, and attach some of these tag files if you can, or at
> least the tag directives from them.