IBM Support

build failing with IO exception sun.io.MalformedInputException -->Solution

Troubleshooting


Problem

build failing with IO exception sun.io.MalformedInputException -->Solution

Symptom

build.xml failing with IO exception sun.io.MalformedInputException.

PART: Warehouse Management System 7.3 Platform

Cause

Resolving The Problem

The error might be due to special characters in the source files. The issue can be overcome by passing encoding specifically in the javac command line.

i.e.. for Eg. encoding="ISO-8859-1" for some specific special characters.

i.e.. javac Test.java -encoding UTF-16


The encoding passed can be any of the encodings like UTF-8, UTF-16 etc.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49643

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21546877