Diese Antwort schreibe ich nur, weil das Kommentarfeld zu klein ist für soviel Code. Ich lösche sie nacher wieder.
Hier habe ich 19 Abbildungen nacheinander, die den Fehler erzeugen:
\documentclass{article}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}[!htbp]
\includegraphics[height=10cm,width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[height=6cm,width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\end{document}
Jetzt füge ich nach der 2. Abbildung 2 Absätze mit minimal Text ein, und der Fehler geht weg. Denn nun schafft LaTeX das Platzieren zweier Abbildungen, bevor die nächsten sich aufstauen. Man kann das Problem also auch vermeiden, indem man nicht alle Abbildungen hintereinander weg schreibt, sondern im Text sinnvoll verteilt.
\documentclass{article}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}[!htbp]
\includegraphics[height=10cm,width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[height=6cm,width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
text
text
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\begin{figure}[!htbp]
\includegraphics[width={\textwidth}]{test}
\caption{Testgrafik}
\end{figure}
\end{document}