Array zero
See original GitHub issueDecompile array error
Orig:
<array name=name">
<item>0</item>
</array>
Decompile:
<array name=name">
<item>@null</item>
</array>
It code = NulPointerException
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
numpy.zeros — NumPy v1.23 Manual
numpy.zeros# ... Return a new array of given shape and type, filled with zeros. ... Reference object to allow the creation of arrays...
Read more >How to create an array of zeros in Python? - GeeksforGeeks
How to create an array of zeros in Python? · Method 1: Using simple multiplication. In this example, we are multiplying the array...
Read more >Create array of all zeros - MATLAB zeros - MathWorks
X = zeros( sz ) returns an array of zeros where size vector sz defines size(X) . For example, zeros([2 3]) returns a...
Read more >NumPy: zeros() function - w3resource
The zeros() function is used to get a new array of given shape and type, filled with zeros. Syntax: numpy.zeros(a, dtype=None, order='K', subok= ......
Read more >Zero Indexed Arrays - Medium
Zero Indexed Arrays. A basic programming concept, but an essential one. An array is store of the same type of data. Now, not ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@skylot Looking into the code of apktool I see three references of
"@null"
:In
ResReferenceValue.java
ResFlagsAttr.java
andResEnumAttr.java
.So my guess at the moment that we should consider at this point
value.getRawValue().getDataType()
. In my tests for@null
replacements that seem to be reasonable I usually sawTYPE_REFERENCE
as dataType value. But the array case this issue is about it wasTYPE_STRING
.I will try to load more APKs to better understand when a replacement is currently applied and if it makes sense.
Fixed in PR #1594 by @jpstotz Can anyone verify that issue is resolved?