most of the time i get an error when generating java code, saying java.lang.RuntimeException: Schema writing failed!.
I found theres an problem with some element but not sure why. when i comment those element i was able to generate java code from this wizard.
Also sometimes if i rename that problematic elements with less numbers of characters that is also a solution for this error. But I can not change the element names since that is OTA standard i must follow. I do not think the error is with the number of characters in a element, since there are lengthy names in some elements and those did not give any errors.