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 8709387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:21:17+00:00 2026-06-13T04:21:17+00:00

I keep getting this error (Upgrading old nbandroid project projectName FAILED. See log file

  • 0

I keep getting this error (Upgrading old nbandroid project projectName FAILED. See log file for details.) for a few android projects in Netbeans. I’m not sure where to find the log the message refers to, I have checked every log I can find both in netbeans & system logs. To no avail, no more information.

I tried tracking down the score code and see what generates this error, I found this code (here: https://code.google.com/p/nbandroid/source/browse/project/src/org/netbeans/modules/android/project/AndroidProjectUtil.java?name=v1.5beta&r=d12ce88eb7d6a04ac55d0ae2bd8813fea1651bb4)

private static AndroidGeneralData findSDKAndTarget(
        AndroidProject project, PropertyProvider props, FileObject nbproject) {
    String platformName = props.getProperties().get("platform.active");
    if (platformName == null) {
        LOG.log(Level.INFO, "Cannot upgrade old nbandroid project. platform definition not found in project.properties");
        return null;
    }
    FileObject storage = FileUtil.getConfigFile(PLATFORM_STORAGE);
    String buildTargetPath = null;
    if (storage != null) {
        for (FileObject platformProvider : storage.getChildren()) {
            buildTargetPath = parseIfActivePlatorm(platformProvider, platformName);
            if (buildTargetPath != null) {
                break;
            }
        }
    }
    if (buildTargetPath == null) {
        LOG.log(Level.INFO, "Cannot upgrade old nbandroid project. platform {0} not found", platformName);
        return null;
    }
    DalvikPlatform platform = toDalvikPlatorm(buildTargetPath);
    if (platform == null) {
        LOG.log(Level.INFO, "Cannot upgrade old nbandroid project. platform {0} not found in Android SDK", platformName);
        return null;
    }
    AndroidGeneralData data = new AndroidGeneralData();
    data.setPlatform(platform);
    data.setProjectDirPath(project.getProjectDirectoryFile().getAbsolutePath());
    data.setProjectName(project.getLookup().lookup(ProjectInformation.class).getName());

    return data;
}

Leaving pretty much 3 possibilities, I have tried looking for all these, and as far as I can tell the data is present for all 3. I checked the project.properties, genfiles.properties and project.xml files, I would be happy to supply these if necessary.

Any tips or advice would be greatly appreciated, the projects work at the moment, but I would like to get rid of the annoying messages at start up.


I have now managed to track down the exact fault. The log file mentioned was well hidden in the netbeans directories (which had also changed place in netbeans 7.2).

I need the platform files in [netbeans file root]/config/services/platforms/org-netbeans-api-java-Platform

These are no longer available in anyway I can find, I also checked all old developer computers we have.

If someone has these platform files (I suspect they are xml files, from what I found) it would be greatly appreciated if they could send them to me. I should be able to modify them to make them work.

  • 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-06-13T04:21:18+00:00Added an answer on June 13, 2026 at 4:21 am

    It seems that the project update process failed to load Java Platform definition from a file that is somewhere in your netbeans userdir – http://wiki.netbeans.org/FaqWhatIsUserdir As a result it cannot set Android SDK location and find what is the target platform for your project. It is possible that the file/the settings was lost when you upgraded your IDE or for some other reason.

    My suggestion is that you migrate your project manually. There is a hint in http://www.nbandroid.org/2011/02/beta-build-of-new-project-support.html
    remove nbproject directory and create an Android project as described in http://developer.android.com/tools/projects/projects-cmdline.html. NBAndroid recognizes this project structure and will be able to work with it. Or create this project in an empty directory and move your sources + resources there.

    -Radim

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

Sidebar

Related Questions

I keep getting this error in xbWatson after Unity-Xbox crashes: Assertion failed: pDestination, file
I keep getting this error message in my Event log: The root of the
I keep getting this error whenever I tried to validate the rdf file in
I keep getting this error: Could not load file or assembly 'Facebook, Version=5.4.1.0, Culture=neutral,
i keep getting this error file already use by another program whenever i try
i keep getting this error: Exception Details: System.NotSupportedException: Cannot serialize member HannaPrintsDataAccess.Customer.CustomerAddresses of type
I keep getting this error in Apache's error log: [client 127.0.0.1] Client sent malformed
I keep getting this error when I try to build my project which uses
Keep getting this error after inserting a subdatasheet into a query and trying to
I keep getting this error and have no idea why. I googled and scanned

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.