• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Unable to Stroke shap

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Unable to Stroke shape (null)
at sun.java2d.pipe.LoopPipe.getStrokeSpans(LoopPipe.java:268)
at sun.java2d.pipe.LoopPipe.draw(LoopPipe.java:213)
at sun.java2d.pipe.ValidatePipe.draw(ValidatePipe.java:136)
at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2230)
........

Above is the exception I get while using text components(javax.swing.text)
I have searched a lot for this, but could not find any appropriate solution.

Is there any way by which the above error can be eliminated ?

Regards,
Joshua
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe. You'd have to show us the code that is generating this exception.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!