You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by arijit <gh...@wipro.com> on 2007/06/13 16:42:18 UTC
Malformed error
I am unable to detect why this code is throwing malformed exception.
<property file="${property_files_location}/test.properties" />
Error shown is >>>>>
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
any clue ?
--
View this message in context: http://www.nabble.com/Malformed-error-tf3915115.html#a11100914
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: Malformed error
Posted by "Anderson, Rob (Global Trade)" <Ro...@nike.com>.
I suggest using only forward slashes for paths, to avoid things like this. Also, it looks like you are attempting to use an environment variable on Windows. I suggest you look at the property tasks' environment attribute.
I hope this helps.
-Rob Anderson
> -----Original Message-----
> From: arijit [mailto:ghosh.arijit@wipro.com]
> Sent: Wednesday, June 13, 2007 8:32 AM
> To: user@ant.apache.org
> Subject: Re: Malformed error
>
>
> oops... got the problem... \u in the line mentioned below..
> replaced it with \\u :)
>
>
> arijit wrote:
> >
> > Can anyone see any problem with this line ?
> >
> > UDDI4j_WSIGCP=%LIB_WSIGCP%\uddi4j-2.0.5.jar
> >
> > This line is present in the test.properties file. Now when
> I remove
> > this line, it works. I have written this line manually and not
> > copy-paste
> >
> >
> >
> > arijit wrote:
> >>
> >> i was hoping that would be the case.. :(
> >>
> >> but I wrote the code manually instead of copy-paste but still the
> >> same problem
> >>
> >>
> >> Cesar Martinez Izquierdo-3 wrote:
> >>>
> >>> arijit wrote:
> >>>> I am unable to detect why this code is throwing
> malformed exception.
> >>>>
> >>>> <property file="${property_files_location}/test.properties" />
> >>>>
> >>>> Error shown is >>>>>
> >>>> java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
> >>>>
> >>>> any clue ?
> >>>
> >>> I would say you have an strange hidden character in that line.
> >>> Try deleting the whole line and writing it again (don't
> copy and paste).
> >>>
> >>> Good luck!
> >>>
> >>> --
> >>> César Martínez Izquierdo
> >>> Equipo de desarrollo gvSIG
> >>> http://www.gvsig.gva.es
> >>>
> >>> IVER T.I.
> >>> C/ Salamanca 50
> >>> 46005 Valencia - Spain
> >>> http://www.iver.es
> >>>
> >>>
> >>>
> --------------------------------------------------------------------
> >>> - To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> >>> additional commands, e-mail: user-help@ant.apache.org
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Malformed-error-tf3915115.html#a11102139
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Malformed error
Posted by arijit <gh...@wipro.com>.
oops... got the problem... \u in the line mentioned below.. replaced it with
\\u :)
arijit wrote:
>
> Can anyone see any problem with this line ?
>
> UDDI4j_WSIGCP=%LIB_WSIGCP%\uddi4j-2.0.5.jar
>
> This line is present in the test.properties file. Now when I remove this
> line, it works. I have written this line manually and not copy-paste
>
>
>
> arijit wrote:
>>
>> i was hoping that would be the case.. :(
>>
>> but I wrote the code manually instead of copy-paste but still the same
>> problem
>>
>>
>> Cesar Martinez Izquierdo-3 wrote:
>>>
>>> arijit wrote:
>>>> I am unable to detect why this code is throwing malformed exception.
>>>>
>>>> <property file="${property_files_location}/test.properties" />
>>>>
>>>> Error shown is >>>>>
>>>> java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>>>>
>>>> any clue ?
>>>
>>> I would say you have an strange hidden character in that line.
>>> Try deleting the whole line and writing it again (don't copy and paste).
>>>
>>> Good luck!
>>>
>>> --
>>> César Martínez Izquierdo
>>> Equipo de desarrollo gvSIG
>>> http://www.gvsig.gva.es
>>>
>>> IVER T.I.
>>> C/ Salamanca 50
>>> 46005 Valencia - Spain
>>> http://www.iver.es
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Malformed-error-tf3915115.html#a11102139
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Malformed error
Posted by arijit <gh...@wipro.com>.
Can anyone see any problem with this line ?
UDDI4j_WSIGCP=%LIB_WSIGCP%\uddi4j-2.0.5.jar
This line is present in the test.properties file. Now when I remove this
line, it works. I have written this line manually and not copy-paste
arijit wrote:
>
> i was hoping that would be the case.. :(
>
> but I wrote the code manually instead of copy-paste but still the same
> problem
>
>
> Cesar Martinez Izquierdo-3 wrote:
>>
>> arijit wrote:
>>> I am unable to detect why this code is throwing malformed exception.
>>>
>>> <property file="${property_files_location}/test.properties" />
>>>
>>> Error shown is >>>>>
>>> java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>>>
>>> any clue ?
>>
>> I would say you have an strange hidden character in that line.
>> Try deleting the whole line and writing it again (don't copy and paste).
>>
>> Good luck!
>>
>> --
>> César Martínez Izquierdo
>> Equipo de desarrollo gvSIG
>> http://www.gvsig.gva.es
>>
>> IVER T.I.
>> C/ Salamanca 50
>> 46005 Valencia - Spain
>> http://www.iver.es
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Malformed-error-tf3915115.html#a11101915
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Malformed error
Posted by Cesar Martinez Izquierdo <ce...@iver.es>.
arijit wrote:
> i was hoping that would be the case.. :(
>
> but I wrote the code manually instead of copy-paste but still the same
> problem
>
>
> Cesar Martinez Izquierdo-3 wrote:
>> arijit wrote:
>>> I am unable to detect why this code is throwing malformed exception.
>>>
>>> <property file="${property_files_location}/test.properties" />
>>>
>>> Error shown is >>>>>
>>> java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>>>
>>> any clue ?
>> I would say you have an strange hidden character in that line.
>> Try deleting the whole line and writing it again (don't copy and paste).
>>
>> Good luck!
Then maybe the problem is in the line where you declare the
"property_files_location" variable (just an idea...).
Regards,
--
César Martínez Izquierdo
Equipo de desarrollo gvSIG
http://www.gvsig.gva.es
IVER T.I.
C/ Salamanca 50
46005 Valencia - Spain
http://www.iver.es
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Malformed error
Posted by arijit <gh...@wipro.com>.
i was hoping that would be the case.. :(
but I wrote the code manually instead of copy-paste but still the same
problem
Cesar Martinez Izquierdo-3 wrote:
>
> arijit wrote:
>> I am unable to detect why this code is throwing malformed exception.
>>
>> <property file="${property_files_location}/test.properties" />
>>
>> Error shown is >>>>>
>> java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>>
>> any clue ?
>
> I would say you have an strange hidden character in that line.
> Try deleting the whole line and writing it again (don't copy and paste).
>
> Good luck!
>
> --
> César Martínez Izquierdo
> Equipo de desarrollo gvSIG
> http://www.gvsig.gva.es
>
> IVER T.I.
> C/ Salamanca 50
> 46005 Valencia - Spain
> http://www.iver.es
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Malformed-error-tf3915115.html#a11101447
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Malformed error
Posted by Cesar Martinez Izquierdo <ce...@iver.es>.
arijit wrote:
> I am unable to detect why this code is throwing malformed exception.
>
> <property file="${property_files_location}/test.properties" />
>
> Error shown is >>>>>
> java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>
> any clue ?
I would say you have an strange hidden character in that line.
Try deleting the whole line and writing it again (don't copy and paste).
Good luck!
--
César Martínez Izquierdo
Equipo de desarrollo gvSIG
http://www.gvsig.gva.es
IVER T.I.
C/ Salamanca 50
46005 Valencia - Spain
http://www.iver.es
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org