← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1707147] Re: apktool crashes while decoding an apk and prints system info

 

** Changed in: apktool (Ubuntu)
       Status: New => Fix Released

** Also affects: apktool (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: apktool (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Changed in: apktool (Ubuntu Xenial)
       Status: New => Incomplete

** Changed in: apktool (Ubuntu Zesty)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1707147

Title:
  apktool crashes while decoding an apk and prints system info

Status in apktool package in Ubuntu:
  Fix Released
Status in apktool source package in Xenial:
  Incomplete
Status in apktool source package in Zesty:
  Incomplete

Bug description:
  On Ubuntu Xenial we get this output:

  backbox@backbox:~/Downloads$ apktool d Messenger_v128.0.0.21.88_apkpure.com.apk
   10:32:12 up 32 min,  2 users,  load average: 0,14, 0,23, 0,22
  USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
  backbox  tty7     :0               10:00   32:19  33.72s  0.01s /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
  backbox  pts/3    :0.0             10:20    4.00s  0.06s  0.00s w
  I: Using Apktool 2.0.2-dirty on Messenger_v128.0.0.21.88_apkpure.com.apk
  I: Loading resource table...
  I: Decoding AndroidManifest.xml with resources...
  I: Loading resource table from file: /home/backbox/apktool/framework/1.apk
  W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x03ef8a2a
  I: Loading resource table from file: /home/backbox/apktool/framework/1.apk
  W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x0000003a
  I: Loading resource table from file: /home/backbox/apktool/framework/1.apk
  W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x03ef8a2a
  I: Loading resource table from file: /home/backbox/apktool/framework/1.apk
  W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x0000003a
  Exception in thread "main" java.lang.NullPointerException
   at java.io.Writer.write(Writer.java:157)
   at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
   at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:696)
   at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
   at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
   at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
   at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
   at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
   at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
   at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:140)
   at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:199)
   at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:140)
   at brut.androlib.ApkDecoder.decode(ApkDecoder.java:100)
   at brut.apktool.Main.cmdDecode(Main.java:165)
   at brut.apktool.Main.main(Main.java:81)
  backbox@backbox:~/Downloads$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apktool/+bug/1707147/+subscriptions