{"action":"created","issue":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/982","repository_url":"https://api.github.com/repos/iBotPeaches/Apktool","labels_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/982/comments","events_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/982/events","html_url":"https://github.com/iBotPeaches/Apktool/issues/982","id":91814555,"number":982,"title":"NullPointerException in when writing attribute","user":{"login":"cryptax","id":2493690,"avatar_url":"https://avatars.githubusercontent.com/u/2493690?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptax","html_url":"https://github.com/cryptax","followers_url":"https://api.github.com/users/cryptax/followers","following_url":"https://api.github.com/users/cryptax/following{/other_user}","gists_url":"https://api.github.com/users/cryptax/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptax/subscriptions","organizations_url":"https://api.github.com/users/cryptax/orgs","repos_url":"https://api.github.com/users/cryptax/repos","events_url":"https://api.github.com/users/cryptax/events{/privacy}","received_events_url":"https://api.github.com/users/cryptax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iBotPeaches/Apktool/labels/Waiting%20for%20issuer","name":"Waiting for issuer","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-06-29T14:11:10Z","updated_at":"2016-10-02T19:25:21Z","closed_at":"2015-06-30T14:10:48Z","body":"I am unable to decompile this application:\r\n\r\n    java -jar ~/softs/apktool/apktool.jar d --force --output ./welcome Welcome.apk\r\n    I: Using Apktool 2.0.0 on Welcome.apk\r\n    I: Loading resource table...\r\n    I: Decoding AndroidManifest.xml with resources...\r\n    I: Loading resource table from file: /home/axelle/apktool/framework/1.apk\r\n    I: Regular manifest package...\r\n    I: Decoding file-resources...\r\n    W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator,   value=0x010c0003\r\n    W: Could not decode attr value, using undecoded value instead: ns=android, name=textAllCaps, value=0xffffffff\r\n    W: Could not decode attr value, using undecoded value instead: ns=android, name=ordering, value=0x00000000\r\n    W: Could not decode attr value, using undecoded value instead: ns=android, name=fontFamily, value=0x00000015\r\n     Exception in thread \"main\" java.lang.NullPointerException\r\n        at java.io.Writer.write(Writer.java:157)\r\n        at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)\r\n        at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)\r\n        at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)\r\n        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)\r\n        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)\r\n        at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)\r\n        at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)\r\n        at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)\r\n        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:114)\r\n        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:99)\r\n        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:247)\r\n       at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:134)\r\n        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104)\r\n        at brut.apktool.Main.cmdDecode(Main.java:165)\r\n        at brut.apktool.Main.main(Main.java:81)\r\n\r\nI am using Linux Mint 17.1, with apktool 2.0.0. My java version is 1.8.0_40.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/comments/250989900","html_url":"https://github.com/iBotPeaches/Apktool/issues/982#issuecomment-250989900","issue_url":"https://api.github.com/repos/iBotPeaches/Apktool/issues/982","id":250989900,"user":{"login":"Ankh9","id":22579269,"avatar_url":"https://avatars.githubusercontent.com/u/22579269?v=3","gravatar_id":"","url":"https://api.github.com/users/Ankh9","html_url":"https://github.com/Ankh9","followers_url":"https://api.github.com/users/Ankh9/followers","following_url":"https://api.github.com/users/Ankh9/following{/other_user}","gists_url":"https://api.github.com/users/Ankh9/gists{/gist_id}","starred_url":"https://api.github.com/users/Ankh9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ankh9/subscriptions","organizations_url":"https://api.github.com/users/Ankh9/orgs","repos_url":"https://api.github.com/users/Ankh9/repos","events_url":"https://api.github.com/users/Ankh9/events{/privacy}","received_events_url":"https://api.github.com/users/Ankh9/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T19:25:21Z","updated_at":"2016-10-02T19:25:21Z","body":"Hello. I wanted to change settings.apk, but I  from this error:\r\n\r\nC:\\Users\\SimoBaro\\Desktop\\apktool-install-windows>java -jar apktool.jar d -s Set\r\ntings.apk\r\nI: Using Apktool 2.2.0 on Settingsori.apk\r\nI: Loading resource table...\r\nI: Decoding Shared Library (com.mediatek), pkgId: 8\r\nI: Decoding AndroidManifest.xml with resources...\r\nI: Loading resource table from file: C:\\Users\\SimoBaro\\AppData\\Local\\apktool\\fra\r\nmework\\1.apk\r\nI: Regular manifest package...\r\nI: Decoding file-resources...\r\nI: Decoding values */* XMLs...\r\nException in thread \"main\" java.lang.NullPointerException\r\n        at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re\r\nsStyleValue.java:58)\r\n        at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour\r\nces.java:516)\r\n        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:267\r\n)\r\n        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)\r\n        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:108)\r\n        at brut.apktool.Main.cmdDecode(Main.java:163)\r\n        at brut.apktool.Main.main(Main.java:81)\r\n\r\nyou can help me, thanks!!!"}}
{"actor":{"display_login":"Ankh9"}}