Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WSTI042 - Internal error: Java Applet for the file selection could not be started


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WSTI - Messages about Store Workbench, Physical Inventory

  • Message number: 042

  • Message text: Internal error: Java Applet for the file selection could not be started

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WSTI042 - Internal error: Java Applet for the file selection could not be started ?

    SAP Error Message:
    WSTI042 Internal error: Java Applet for the file selection could not be started


    Cause:

    This error typically occurs when SAP GUI or the SAP Web Dynpro application tries to launch a Java applet for file selection (e.g., uploading or downloading files) but fails. The main reasons include:

    • Java Runtime Environment (JRE) issues: The required Java version is not installed, outdated, or incompatible.
    • Browser or SAP GUI security settings: Modern browsers and SAP GUI versions have tightened security, often blocking Java applets.
    • Java applet support discontinued: Many browsers have dropped support for Java applets (NPAPI plugins), making it impossible to run Java applets in the browser.
    • Incorrect SAP GUI or Web Dynpro configuration: The SAP GUI or Web Dynpro application might be configured to use Java applets for file selection, which is no longer supported.
    • Missing or corrupted Java cache or temporary files.

    Solution:

    1. Check Java Installation:

      • Ensure that the correct version of Java Runtime Environment (JRE) is installed on the client machine.
      • SAP often requires a specific Java version; check SAP notes or documentation for the recommended version.
      • Update or reinstall Java if necessary.
    2. Use SAP GUI for Windows Instead of Browser:

      • Since modern browsers no longer support Java applets, use the SAP GUI for Windows client to perform file selection tasks.
      • SAP GUI for Windows has native file selection dialogs that do not rely on Java applets.
    3. Update SAP GUI and Web Dynpro Components:

      • Upgrade to the latest SAP GUI version, which may have replaced Java applets with HTML5 or native dialogs.
      • Check for SAP Notes related to WSTI042 or file upload/download issues and apply recommended patches or configuration changes.
    4. Clear Java Cache:

      • Open the Java Control Panel.
      • Under the General tab, click on "Settings" under Temporary Internet Files.
      • Click "Delete Files" to clear the Java cache.
      • Restart the SAP GUI or browser and try again.
    5. Adjust Security Settings:

      • Lower Java security settings temporarily to allow the applet to run (not recommended for production environments).
      • Add the SAP server URL to the Java Exception Site List in the Java Control Panel.
    6. Switch to HTML5 File Upload (if available):

      • Newer SAP Web Dynpro applications or Fiori apps use HTML5-based file upload dialogs that do not require Java.
      • Check if the application can be configured to use HTML5 upload instead of Java applets.
    7. Consult SAP Notes:

      • Search SAP Support Portal for notes related to WSTI042.
      • Example SAP Note: 1788103 - "Java applet for file selection cannot be started"
      • Follow the instructions or patches provided.

    Related Information:

    • SAP GUI and Java Applets:
      SAP GUI for Windows does not rely on Java applets for file selection, but Web Dynpro Java applications historically did. Due to security and browser changes, Java applets are deprecated.

    • Browser Support:
      Most modern browsers (Chrome, Edge, Firefox) have dropped support for NPAPI plugins, including Java applets, since around 2015-2017.

    • SAP Fiori and HTML5:
      SAP Fiori apps use HTML5 and do not require Java applets, providing a more modern and secure user experience.

    • SAP Notes and KB Articles:
      Always check the SAP ONE Support Launchpad for the latest notes and patches related to this error.


    Summary:

    Aspect Details
    Cause Java applet for file selection cannot start due to missing/incompatible Java or browser restrictions.
    Solution Install/update Java, use SAP GUI for Windows, clear Java cache, update SAP components, switch to HTML5 upload, check SAP Notes.
    Related Info Java applets deprecated in browsers, SAP GUI native dialogs preferred, SAP Fiori uses HTML5.

    If you continue to experience issues, consider contacting your SAP Basis or Frontend support team to verify client environment setup or escalate to SAP Support with detailed logs.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author