cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Nennker <ignisvul...@gmail.com>
Subject Re: PluginEntry.java crash in getClassByName
Date Tue, 03 Dec 2013 22:09:19 GMT
done:
https://issues.apache.org/jira/browse/CB-5537



2013/12/3 Joe Bowser <bowserj@gmail.com>

> Can you please create an issue so that this is tracked?
>
> On Tue, Dec 3, 2013 at 11:02 AM,  <Axel.Nennker@telekom.de> wrote:
> > 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/alternative (inline, None, 0 bytes)
View raw message