#16 IDL generator crash when associating class from rose unit

Rel_3.x
closed
Generator (29)
5
2005-03-11
2005-03-09
vpussel
No

When defining an association from BusinessObject
defined in my rose unit to BusinessObject contained in
different rose unit, the IDL generator cannot resolve
the list of referenced packages. Error Message:

Fatal error occured while generating:
java.lang.RuntimeException: java.lang.RuntimeException:

--- CodeWriter Error Description Start ---

Code Writer State:
_getFileIndex() = 0
_getFullFileName() = corbazwkreport.idl
_getOutputFolder() =
D:\life\gevo_zwk\src\eclipse\bAV-ReportInterface\..\..\lifesoa\soazwkreport\.\generated
Exception in section body:
java.lang.RuntimeException:

--- CodeWriter Error Description Start ---

Code Writer State:
_getFileIndex() = 0
_getFullFileName() = corbazwkreport.idl
_getOutputFolder() =
D:\life\gevo_zwk\src\eclipse\bAV-ReportInterface\..\..\lifesoa\soazwkreport\.\generated
Exception in section body:
java.lang.ClassCastException
at java.util.Arrays.mergeSort(Arrays.java:1152)
at java.util.Arrays.sort(Arrays.java:1079)
at java.util.Collections.sort(Collections.java:113)
at
net.sourceforge.umlmda.xmi.uml.nsuml.ModelPackageImpl.getReferencedPackages(ModelPackageImpl.java:155)
at
net.sourceforge.umlmda.generator.AbstractPackageWriter.getReferencedPackages(AbstractPackageWriter.java:125)
at
net.sourceforge.umlmda.uml.generator.writer.IDLWriter.writer__write(IDLWriter.java:183)
at
net.sourceforge.umlmda.generator.AbstractParentWriter.run(AbstractParentWriter.java:70)
at
net.sourceforge.umlmda.generator.Generator.write(Generator.java:333)

Discussion

  • vpussel

    vpussel - 2005-03-09

    Models and build file

     
  • Dieter Moroff

    Dieter Moroff - 2005-03-11

    Logged In: YES
    user_id=555111

    Fixed in Rel 1.4.2
    * Happened when more than one package referenced in a model
    package

     
  • Dieter Moroff

    Dieter Moroff - 2005-03-11
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks