Mocky Habeeb wrote:
The fact that you fixed this problem before by reinstalling the JDK
makes me think that you have another JDK on that machine that is
possibly corrupt or old that is being used unintentionally, or perhaps
you have either classpath issues or Ant classpath issues?

It sounds logical, but why would it suddenly stop working without installing any other JAVA or related and changes in the environment.

But it is a good hint, and will search for those things.


Mocky

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of harrie
hazewinkel
Sent: Thursday, March 24, 2005 1:13 PM
To: [email protected]
Subject: Re: [jibx-users] No deserializer for java.lang.Long


Hi Dennis,

Dennis Sosnoski wrote:

This looks very strange to me - I don't know of any way for this to
occur, since java.lang.Long does indeed have a constructor from

String.


Has anyone else ever seen this type of problem?


Plus the most weirdest is that the same code on a different system, both
Linux just works.


- Dennis

harrie hazewinkel wrote:


Hi,

I do not understand where this error comes from or
how to solve it. Last time I solved it by reinstalling
the Java SDk, but this time it did not work. :-(

Has anyone seen this error before and found some
solution for it?


[bind] org.jibx.runtime.JiBXException: No deserializer for java.lang.Long; define deserializer or constructor from

java.lang.String

[bind] at


org.jibx.binding.def.ObjectStringConversion.genFromText(ObjectStringConv
ersion.java:188)


[bind] at org.jibx.binding.def.ObjectStringConversion.genParseRequired(ObjectSt
ringConversion.java:242)


[bind] at org.jibx.binding.def.ValueChild.genUnmarshal(ValueChild.java:423)
[bind] at



org.jibx.binding.def.ValueChild.genContentUnmarshal(ValueChild.java:587)

[bind] at org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStruct
ure.java:171)


[bind] at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBind
ing.java:611)


[bind] at org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.
java:723)


[bind] at org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrappe
r.java:272)


[bind] at org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition
.java:498)


[bind] at org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext
.java:593)


[bind] at org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition
.java:562)


[bind] at org.jibx.binding.Compile.compile(Compile.java:299)
[bind] at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:238)
[bind] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at

org.apache.tools.ant.Target.execute(Target.java:301)

[bind] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[bind] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
[bind] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at

org.apache.tools.ant.Target.execute(Target.java:301)

[bind] at org.apache.tools.ant.Target.performTasks(Target.java:328)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
[bind] at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
[bind] at org.apache.tools.ant.Main.runBuild(Main.java:632)
[bind] at org.apache.tools.ant.Main.startAnt(Main.java:183)
[bind] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
[bind] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)


BUILD FAILED
/home/harrie/s4j-build/build/server.xml:9: Following error occured
while executing this line
/home/harrie/s4j-build/s4j-server/build/build.xml:159: JiBXException in JiBX binding compilation




thanks by advance,




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
[email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users





--
Harrie
------------------------------------------------------------------
Sync4j Support                              http://www.sync4j.org/
mailto: harrie(at)funambol.com            http://www.funambol.com/
------------------------------------------------------------------
The information in this message is to be considered non-official.
The message is for the designated recipient only and may contain
privileged or confidential information. If you are not the
addressee you are hereby notified that any use, distribution,
reproduction or disclosure of this communication is strictly
prohibited. If you have received it in error, please notify the
sender immediately and delete the original and its attachments.


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to