Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Wednesday, 22 February 2017

libcurl.so duplicate spicified JNI

Put this in build.xml

packagingOptions {

        pickFirst 'lib/armeabi-v7a/libcurl.so'
        pickFirst 'lib/armeabi-v7a/libssl.so'
        pickFirst 'lib/x86/libcurl.so'

    }

Caused by java.lang.unsupportedoperationexception failed to resolve attribute at index 13

I faced this issue while implementing custom image button , here in xml following attribute is not supported



android:background="?attr/xxx"


Monday, 21 July 2014

httpclient exception “org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection”

 The exception as following:
    org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection
    at org.apache.http.impl.conn.tsccm.ConnPoolByRoute.getEntryBlocking(ConnPoolByRoute.java:417)
    at org.apache.http.impl.conn.tsccm.ConnPoolByRoute$1.getPoolEntry(ConnPoolByRoute.java:300)
    at org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1.getConnection(ThreadSafeClientConnManager.java:224)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:401)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
    at com.i360r.client.takeaway.network.HttpClientTest.(HttpClientTest.java:68)
    at com.i360r.client.takeaway.network.HttpClientTest.main(HttpClientTest.java:88) 
 
 
 
 
 
Fix is the following piece of code 
try {
 } catch (Exception e) {
 } finally {
  mPost.abort;
 }
 
 
This exception often occurs when first request is not executed successfully and hence
you should abort it  

Thursday, 25 July 2013

Java while running some external library file is missing

Do the following

Go to Project->Properties->Java Build Path than select Order and export tab. Set android-support-v4.jar library checked and up it into top of the list. And clean and rebuild..It works for most of the cases


External library is android-support-v4.jar in this case

Monday, 21 January 2013

Invalid Project Description Eclipse Error

This error is due to overlapping of workspaces
To fix this create seperate folder in workspace and import your project there it works well

Thursday, 6 December 2012

Fix for unknown exception in parser sdk content . java.lang.stackoverflowerror

This is because of if  in your workspace you have 2 projects. After review both project.properties, project 1 reference project 2 and project 2 reference project 1. This cause a stackoverflow. I comment one line and the problem is solved.

After this clean and build the projects this will fix the issue

Pass a HashMap from Angular Client to Spring boot API

This example is for the case where fileData is very huge and in json format   let map = new Map<string, string>()      map.set(this.ge...