Menu

Error: '' is not a valid integer value

Anonymous
2015-02-20
2015-07-06
  • Anonymous

    Anonymous - 2015-02-20

    I have an UML with some class diagrams and units. One model/unit which contains other units cannot be edited anymore. The slightest change even if I just move an object and resave causes an error the next time I open the UML:

    Error:
    '' is not a valid integer value

     
  • Janusz Szpilewski

    Most problems of that type so far were related to the separator inside of double values. You may take a look at the integers inside of the save file looking at lines with type="integer". It may help identify an incorrectly stored integer value.

    Also units are generally an infrequently used feature so they were not deeply tested. Maybe merging some of them would help with the problem.

     
  • Anonymous

    Anonymous - 2015-06-30

    I have the same problem, looking at the file, all the lines with type="integer" have the correct values, I don't know if the model is reaching the maximum number of elements. I have attached the unit for reference.

    Thanks in advance.

     
  • Janusz Szpilewski

    The unit is quite big so it indeed may be hitting some limits. I will look closer at it soon.

     
  • Janusz Szpilewski

    In the posted unit file there is a list of subunits:
    
    <XPD:SUBUNITS>
    <XPD:UNIT>MCU 00.40-Administrar Sociedades Controladas.unt</XPD:UNIT>
    <XPD:UNIT owner="l/ZMAUdP1UyIItFc3XnepAAA" index="13">MCU 54 Consultas.unt</XPD:UNIT>
    <XPD:UNIT owner="l/ZMAUdP1UyIItFc3XnepAAA" index="14">MCU 55 AAA.unt</XPD:UNIT>
    <XPD:UNIT owner="fPiiVz2IK0CBfIARwhgH/wAA" index="23">MCU 00.25.unt</XPD:UNIT>
    <XPD:UNIT owner="fPiiVz2IK0CBfIARwhgH/wAA" index="24">MCU 00.26 Consultas.unt</XPD:UNIT>
    <XPD:UNIT owner="fPiiVz2IK0CBfIARwhgH/wAA" index="25">MCU 00.41 Administrar Representante Legal.unt</XPD:UNIT>
    <XPD:UNIT owner="fPiiVz2IK0CBfIARwhgH/wAA" index="26">MCU 00.42 Empresas Pertenecientes al Gpo.unt</XPD:UNIT>
    </XPD:SUBUNITS>
    

    The first one for some reason is lacking owner and index attributes. Correcting that will fix the file loading. Additionally I made the code in build 5.6.6 more friendly to missing attributes and when converted to int it will be 0. I hope it will not backfire somewhere else.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.