IBM Support

Internal Error: Impossible case in file "data_file_writer.cpp", line 537 when exporting a text file

Troubleshooting


Problem

I am using Clementine 12.0.2 and have exported a SPSS data file. Originally this file was created within a Microsoft SQL 2005 database. Within Clementine I would like to export the SPSS *.sav file as Text file after I have created some models and transformations. However, when I export this file I receive the Clementine error message below: Internal Error: Impossible case in file "data_file_writer.cpp", line 537 I do not understand what could be the cause of the problem?

Resolving The Problem

These kind of error message occur when some data cells contains corrupted characters especially in string variables. In this case the error occurs because in one variable an invalid character have been found which must have been corrupted during the import of the SQL import to SPSS so that the SPSS Import file contains the invalid character. After detection and deletion of this invalid character, resaving the file and then import that into Clementine the export of the SPSS file as text file within Clementine was no problem.
If you get this error message you should search for corrupted values within your import file.
However, an Enhancement Request was created to improve the Clementine error message in the release Modeler 13, where the error message is improved

[{"Product":{"code":"SS3RA7","label":"IBM SPSS Modeler"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Modeler","Platform":[{"code":"PF033","label":"Windows"}],"Version":"14.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

78973

Document Information

Modified date:
16 June 2018

UID

swg21481798