Assertion 'Number of bits in range' failed at line 351 of file '../base/bitmap.c'

Error Message

When adding a Theme to a View, opening a Project, or turning on a Theme ArcView returns the error;

Stop: Assertion "Number of bits in range" failed at line 351 of file "../base/bitmap.c"


The shapefile is corrupt.

Solution or Workaround

Restore the shapefile with a back up copy. If no backup copy is available you may have luck repairing the shapefile with the Shapechecker utility. Andrews ArcView Page has a utility to do this (see link under Related Information). Click 'How to / Useful' on the left and then ShapeChecker. Follow Andrew's instructions to download and use the utility.

The ShapeChecker Utility is a third party application and is not supported or guaranteed by ESRI. We recommend backing up your files before performing any operation with this utility.

To avoid future file corruption refer to the 'Maximize your system's resources . . .' document under Related Information.

Article ID:000001906

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic