java.lang.NullPointerException: This exception has no message.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via freecol by ukraine01
, 1 year ago
This exception has no message.
via freecol by g504
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at net.sf.freecol.common.model.Unit.hasAbility(Unit.java:782)
at net.sf.freecol.common.model.Unit.isUndead(Unit.java:3436)
at net.sf.freecol.client.gui.GUI.displayMap(GUI.java:1340)
at net.sf.freecol.client.gui.GUI.display(GUI.java:951)
at net.sf.freecol.client.gui.Canvas.paintComponent(Canvas.java:376)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)

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.

Write tip

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