Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4096022
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:59:08+00:00 2026-05-20T19:59:08+00:00

I have two apps: the first one is a remote service. It’s manifest is:

  • 0

I have two apps: the first one is a remote service. It’s manifest is:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.mecom.framework"
      android:versionCode="1"
      android:versionName="1.0">

    <application android:icon="@drawable/icon" android:label="@string/app_name">

            <activity android:name="SettingsActiviry"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

         <service android:name=".ParserService"
                  android:process=":remote"
                  android:enabled="true"
                  android:exported="true">
            <intent-filter>
                <action android:name="com.mecom.framework.parser.interfaces.Parser" />
                <action android:name="com.mecom.framework.PARSE" />
                <category android:name="com.mecom.framework.PARSE" />
            </intent-filter>
        </service>

    </application>

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

</manifest>

The second one binds to this service and executes a method. It’s manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.mecom.berlingske"
      android:versionCode="1"
      android:versionName="1.0">

    <application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.Light">
        <activity android:name=".MainActivity"
                  android:label="@string/app_name"
                  android:theme="@style/BerlingskeMainTheme"
                  android:configChanges="keyboard|keyboardHidden|orientation">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name=".ArticleActivity"
                  android:label="@string/article"
                  android:theme="@style/BerlingskeMainTheme"
                  android:configChanges="keyboard|keyboardHidden|orientation"/>
    </application>

</manifest>

Now what is weird is these apps work perfectly fine on an emulator with Android 2.1 and on my rooted HTC Hero with Cyanogen 7 (Android 2.3.2).

BUT it throws the following exception on HTC Desire HD and Nexus S (both not rooted):

W/dalvikvm( 2990): threadid=8: thread exiting with uncaught exception (group=0x40025a70)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990): FATAL EXCEPTION: AsyncTask #1
03-18 13:19:04.051: ERROR/AndroidRuntime(2990): java.lang.RuntimeException: An error occured while executing doInBackground()
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at android.os.AsyncTask$3.done(AsyncTask.java:200)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.lang.Thread.run(Thread.java:1102)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990): Caused by: java.lang.NullPointerException
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at android.os.Parcel.readException(Parcel.java:1253)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at android.os.Parcel.readException(Parcel.java:1235)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at com.mecom.framework.parser.interfaces.Parser$Stub$Proxy.getArticlesList(Parser.java:174)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at com.mecom.berlingske.NewsListActivity$AsyncGetArticlesTask.doInBackground(NewsListActivity.java:139)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at com.mecom.berlingske.NewsListActivity$AsyncGetArticlesTask.doInBackground(NewsListActivity.java:1)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at android.os.AsyncTask$2.call(AsyncTask.java:185)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     ... 4 more

I can provide more code (like that implementation of AsyncTask, for example), but the fact, that this code actually works in at least two situations makes me wonder, what can possibly be wrong here. Any ideas?

UPD: Just installed my other app, that uses IPC, on that devices, same problem. Installed it from the market — works fine. Signed my current app, and reinstalled it. Did not help. Did the same thing for my other app — did not help either. Is the only way to test my app on that devices is to deploy it to the market?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T19:59:09+00:00Added an answer on May 20, 2026 at 7:59 pm

    The NPE is caused because you are making an IPC call with missing data. This is evident by these lines in the logs:

    03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at android.os.Parcel.readException(Parcel.java:1253)
    03-18 13:19:04.051: ERROR/AndroidRuntime(2990):     at android.os.Parcel.readException(Parcel.java:1235)
    

    To troubleshoot the problem, put log statements before every IPC call you make, outputting the parameters for that call to the logs. This will allow you to pinpoint when, where and hopefully why those IPC calls are being made without the proper data.

    Since the phones are not rooted, you can collect the logs from the phone not connected to your PC using the app Log Collector (available from the market) which allows you to send your phone’s logs to yourself via email or another means.

    Good luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say, I have two web apps: The first one just waits for 10 seconds
I have recently uploaded two apps on the android market, with one already there
I have two slideshows in one page using javascript http://www.flickrshow.com/static/scripts/flickrshow-7.2.min.js , but it only
Possible stupid question: let's say I have two apps contained within one project. Can
I have to pass parameters between two rails apps. In one side (sender) I
I have two apps (one for the iPhone, the other for the iPad) that
I have two cocoa-touch apps in one Xcode project. Xcode gives me iPhone/iPad related
I have two apps. One is a very simple app that I built with
I have two linux apps. One app writes data to an sqlite3 database at
I have two rails apps that I am thinking about merging into one because

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.