Topic
  • 4 replies
  • Latest Post - ‏2015-08-25T01:45:17Z by JeanZ
SpaceTempest
SpaceTempest
1 Post

Pinned topic Rhapsody - Error loading project - Attempt to read a token past end of file.

‏2013-10-24T09:30:03Z |

I think the problem is best described in these two consecutive screenshots (attached).  Rhapsody is trying to read past the end of one of the files.

  • JeanZ
    JeanZ
    312 Posts

    Re: Rhapsody - Error loading project - Attempt to read a token past end of file.

    ‏2013-10-25T05:29:50Z  

    Hi.

    Depends on the error message, I assume the file content of your project fire( .rpy) is broken for some reason.

    Rhapsody couldn't correctly understand the model info with the uncompleted unit file. This could be caused by the operation failure of saving the project or Rhapsody was abnormally existed last time. Generally, there is no way to restore the broken file.

    Once this issue occurs, Rhapsody would go to check auto_save folder to see whether the previously saved project is available or not.
    This is the info being shown on your 2nd screenshort. if you choose "yes", Rhapsody would rather load the unit file info from auto_save folder.

    To avoid you losing your model info unexpectedly, using model backup feature is strongly recommended or working with configuration management tool is another option.

    Hope above helps.

    Regards

  • JeanZ
    JeanZ
    312 Posts

    Re: Rhapsody - Error loading project - Attempt to read a token past end of file.

    ‏2013-10-25T05:34:25Z  

    Regarding backup feature. please take a look  to the product online help

    http://pic.dhe.ibm.com/infocenter/rhaphlp/v8/topic/com.ibm.rhp.manprojs.doc/topics/rhp_t_dm_creating_backup_prj.html

     

    Regards

  • ShamroseMakandar
    ShamroseMakandar
    4 Posts

    Re: Rhapsody - Error loading project - Attempt to read a token past end of file.

    ‏2015-08-24T09:37:13Z  

    Hi,

    I have also encountered the same error in Rhapsody 8.0 , it says 'Attempt to read a token past end of  file'

    I am unable to get the contents of a particular package , but  the remaining packages in  the Rhapsody Project are opening properly.

    Is there any way to recover this particular package.

     

    Environment Details:

    Rhapsody Version:8.0

    OS: Windows 7

     

    Further Error Screenshots have been added as attachment.

     

    Thanks in Advance.

    Regards,

    Shamrose

  • JeanZ
    JeanZ
    312 Posts

    Re: Rhapsody - Error loading project - Attempt to read a token past end of file.

    ‏2015-08-25T01:45:17Z  

    Hi,

    I have also encountered the same error in Rhapsody 8.0 , it says 'Attempt to read a token past end of  file'

    I am unable to get the contents of a particular package , but  the remaining packages in  the Rhapsody Project are opening properly.

    Is there any way to recover this particular package.

     

    Environment Details:

    Rhapsody Version:8.0

    OS: Windows 7

     

    Further Error Screenshots have been added as attachment.

     

    Thanks in Advance.

    Regards,

    Shamrose

    Hi

    The error means model info loading met with some problem which could be caused by last time the model saving operation was not completed successfully.

    Do you have other backup of the model on other machine?

    If no, it could be hard to recover the already broken file. You still could try to open the file with any text editor and allocate to line 46.

    Compare with the format of other healthy unit file to identify the missing information.

     

    To avoid the same thing occur again, please enable the auto-saving feature of the model.

     

    Best Regards