javax.swing.text.StateInvariantError: infinite loop in formatting

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Barry Andrews, 1 year ago
via Oracle Community by 807582, 1 year ago
infinite loop in formatting
via Oracle Community by 843804, 1 year ago
via Google Groups by Nikolaus J. Sucher, 1 month ago
via Oracle Community by 807582, 1 year ago
infinite loop in formatting
via Google Groups by Michael Welsh Duggan, 1 month ago
javax.swing.text.StateInvariantError: infinite loop in formatting
at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:429)
at javax.swing.text.FlowView.layout(FlowView.java:182)
at javax.swing.text.BoxView.setSize(BoxView.java:265)
at javax.swing.text.FlowView$FlowStrategy.insertUpdate(FlowView.java:315)
at javax.swing.text.FlowView.insertUpdate(FlowView.java:228)
at javax.swing.text.View.forwardUpdateToView(View.java:1094)
at javax.swing.text.View.forwardUpdate(View.java:1069)
at javax.swing.text.BoxView.forwardUpdate(BoxView.java:172)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.