cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Axel.Nenn...@telekom.de>
Subject PluginEntry.java crash in getClassByName
Date Tue, 03 Dec 2013 19:02:02 GMT
Hi,
I don't know why or since when but getClassByName is called with an argument of "" (not null).
The method getClassByName checks for null but not for "" and so it crashes.
This happens for the service http://api.phonegap.com/1.0/device
I am using cordova-3.1.0-0.2.0
A screenshot of the debugging window is attached.
A simple fix seems to be to never set this.pluginClass in PluginEntry.java to "" but to null.
PluginManager.java contains the assignment: pluginClass = ""

-Axel


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message