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 Google Groups by M. Dietrich, 1 year ago
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via GitHub by mendinskis
, 2 years ago
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via Google Groups by Muhammad Babar, 1 year ago
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via GitHub by virus-warnning
, 2 years ago
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via GitHub by wish7code
, 2 years ago
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference at org.mapsforge.map.android.graphics.AndroidBitmap.getWidth(AndroidBitmap.java:113) at org.mapsforge.core.mapelements.SymbolContainer.<init>(SymbolContainer.java:42) at org.mapsforge.core.mapelements.SymbolContainer.<init>(SymbolContainer.java:33) at org.mapsforge.map.layer.renderer.DatabaseRenderer.renderPointOfInterestSymbol(DatabaseRenderer.java:373) at org.mapsforge.map.rendertheme.renderinstruction.Symbol.renderNode(Symbol.java:83) at org.mapsforge.map.rendertheme.rule.Rule.matchNode(Rule.java:79) at org.mapsforge.map.rendertheme.rule.RenderTheme.matchNode(RenderTheme.java:154) at org.mapsforge.map.layer.renderer.DatabaseRenderer.renderPointOfInterest(DatabaseRenderer.java:427) at org.mapsforge.map.layer.renderer.DatabaseRenderer.processReadMapData(DatabaseRenderer.java:413) at org.mapsforge.map.layer.renderer.DatabaseRenderer.executeJob(DatabaseRenderer.java:184) at org.mapsforge.map.layer.renderer.MapWorker.renderTile(MapWorker.java:88) at org.mapsforge.map.layer.renderer.MapWorker.doWork(MapWorker.java:65) at org.mapsforge.map.util.PausableThread.run(PausableThread.java:140)