Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6730232

CTE_REGTEST/Generic/4796548/Test4796548.java fails with java.lang.NullPointerException

    Details

    • Subcomponent:
    • Introduced In Version:
    • CPU:
      x86
    • OS:
      windows_xp, windows_2008, windows_vista, windows_7

      Backports

        Description

        JDK: 6u10 b28
        OS: Windows 2008
        Browser: IE7
        Test Location:
        /net/jdk/export/jpse04/Regression/1.6.0/test/CTE_REGTEST/Generic/4796548/Test4796548.java

        While running this test, NullPointerException is thrown in Java Console.

        Exception thrown
        ================
        os is Windows Server 2008
        browser is : null
        java.lang.NullPointerException
                at AuthenticateDriver.init(AuthenticateDriver.java:71)
                at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
                at java.lang.Thread.run(Unknown Source)
        Exception: java.lang.NullPointerException)

        To Run the test:
        ================
        Instructions:
        1. From the following location
        C:\cte\work\scratch
        2. Copy tree.dll file into <jre install dir>/bin directory
        3. Copy authenticate_nativedialog.txt file into <jre>/lib/ext directory
        4. Copy java.policy file as <user home>/.java.policy file

           **** Read the instructions carefully before performing the step

        5. Open IE browser (Not Netscape) and load the following page

        http://jpseuwt-ap/testcases/141/4796548/crasher/pluginhtml-default/test1Frame.ht
        ml
           *** DO NOT CLICK anywhere once you load the page
           test will run automatically
           Make sure that Authentication login window should have the focus
           while running the test, if not, you can quickly click on authentication
           window to have the focus on this window

          *** If the test does not work automatically, Look at the title
              of the authentication window and this title should match the
              string specified in authenticate_nativedialog.txt file
              If it differ, modify the authenticate_nativedialog.txt file accordingly
              and start the test again

           Just wait to complete the test

        Check:
        If the browser crashes - test FAILED
        Otherwise test PASSED, you will also see 'PASSED' in the browser page

        Close the browser and delete the files copied in step 2, 3 & 4

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jaleesunw James Lee (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: