Note that there are some explanatory texts on larger screens.

plurals
  1. POException java.lang.NoSuchMethodError on java.util.Deque.push
    primarykey
    data
    text
    <p>It's really strange, Google Developer Console, error reporting page.</p> <p>As it seems, my application crashes on several Android devices. The exception log provided says:</p> <pre><code>java.lang.NoSuchMethodError: java.util.Deque.push at com.larvalabs.svgandroid.SVGParser$SVGHandler.&lt;init&gt;(SVGParser.java:869) at com.larvalabs.svgandroid.SVGBuilder.build(SVGBuilder.java:147) at myapp.graphic.PictureCache.getSvgPicture(PictureCache.java:59) at myapp.graphic.PictureCache.getSvgPictureDrawable(PictureCache.java:65) at myapp.activities.startup.ActivityStartup.setupCustomGraphic(ActivityStartup.java:92) at myapp.activities.startup.ActivityStartup.onCreate(ActivityStartup.java:35) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1069) ... </code></pre> <p>I'm using that library:</p> <p><a href="http://code.google.com/p/svg-android-2/" rel="nofollow">http://code.google.com/p/svg-android-2/</a></p> <p>I included the source cod, not simply linked the external library.</p> <p>The code seems to fail on <code>java.util.Deque.push</code> (<strong>NoSuchMethodError</strong>). It's not a problem of the source code I've copied and pasted, it seems that no dequeue method is found on runtime! How it's possible? Can't imagine. </p> <p><strong>EDIT:</strong> The Deque is define:</p> <pre><code>Deque&lt;Matrix&gt; matrixStack = new LinkedList&lt;Matrix&gt;(); </code></pre> <p>The code that raise the problem:</p> <pre><code>matrixStack.push(new Matrix()); </code></pre> <p>Is it possible that <code>new Matrix()</code> returns a value that is not accepted by the <code>push()</code> method?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload