Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » MalformedInputException on tag files
MalformedInputException on tag files [message #211725] Thu, 03 April 2008 15:12 Go to next message
Eclipse User
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.
Re: MalformedInputException on tag files [message #211736 is a reply to message #211725] Thu, 03 April 2008 15:14 Go to previous messageGo to next message
Eclipse User
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.
Re: MalformedInputException on tag files [message #211768 is a reply to message #211725] Thu, 03 April 2008 18:12 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
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.

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: MalformedInputException on tag files [message #211789 is a reply to message #211768] Fri, 04 April 2008 13:52 Go to previous message
Eclipse User
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.

Done:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=225743

Thank you Nitin!

Mauro.
Previous Topic:tomcat-juli.jar not on classpath in tomcat6
Next Topic:Problem locating a file in deployed WTP 2.0 Web app.
Goto Forum:
  


Current Time: Thu Oct 23 00:42:41 GMT 2014

Powered by FUDForum. Page generated in 0.05734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software