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

netscape.javascript.JSException: No such method "init" on JavaScript object

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: 7u40
    • Component/s: deploy
    • Labels:

      Description

      Original incident from forum thread:
      https://forums.oracle.com/forums/thread.jspa?forumID=953&threadID=2434738

      Tried: https://www.ros.ie/login.jsp
      What I got is:

      basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 621877 us, pluginInit dt 3589120 us, TotalTime: 4210997 us
      PluginMain: processing SetAppletSizeMessage
      PluginMain: setting size of applet 1 to (1, 1)
      20124802 08:48:38 [INFO] *** chunking.enabled is not set in ROS.properties. ***. ChunkingElabled is set explicitly to false.
      20124802 08:48:38 [DEBUG] Explicitly setting the upload attachment size to 0
      20124802 08:48:38 [INFO] attachmentFiles - null
      20124802 08:48:38 [INFO] signSubmitSizeLimitInBytes - 0
      20124802 08:48:38 [INFO] supportedAttachmentFileTypes - null
      20124802 08:48:38 [INFO] Sucess get resource bundle
      20124802 08:48:38 [INFO] The user [defaultFolder=C:\ROS\RosCerts]
      20124802 08:48:38 [DEBUG] Preparing Server connection. [outputUrl=/AuthenticationServlet]
      20124802 08:48:38 [DEBUG] Setting connection protocol. [protocol=https]
      20124802 08:48:38 [DEBUG] Setting hostname. [host=www.ros.ie]
      20124802 08:48:38 [DEBUG] Setting server port number. [port=-1]
      20124802 08:48:38 [DEBUG] Setting server url. [url=/AuthenticationServlet]
      20124802 08:48:38 [DEBUG] Using default certificate directory name. [certDirectory=C:\ROS\RosCerts]
      20124802 08:48:38 [DEBUG] init applet ie.revenue.ros.applets.authenticate.AuthenticateJsApplet
      20124802 08:48:38 [INFO] Populate Dropdown. [value=true]
      20124802 08:48:38 [DEBUG] AuthenticateJsApplet:: init - Attempting to populate attachmentFiles
      basic: console.trace.plugin.applet.initialized
      basic: console.trace.plugin.applet.starting
      basic: console.trace.plugin.rollup.completed
      preloader: Delivering: AppletInitEvent[type=CallStart]
      20124802 08:48:38 [DEBUG] ie.revenue.ros.applets.authenticate.AuthenticateJsApplet start() method
      20124802 08:48:38 [INFO] Using Cert Directory C:\ROS\RosCerts
      20124802 08:48:38 [INFO] Populate dropdown. [booleanValue=true]
      20124802 08:48:38 [DEBUG] Writing error text to the screen using javascript [resourceBundleKey=authenticate.noPermission]
      20124802 08:48:38 [DEBUG] Writing message to screen using javascript. [text=][javascriptElementId=errorMessage]
      20124802 08:48:38 [DEBUG] Writing message to screen using javascript. [text=][javascriptElementId=errorMessage]
      20124802 08:48:38 [DEBUG] Evaluating javascript expression. [expression=document.getElementById("textMessage").innerHTML=""]
      NativeLibLoader: D:\build\8\tmp\deploy\jre-image\lib\bin\jp2native.dll doesn't exist
      NativeLibLoader: trying to load D:\build\8\tmp\deploy\jre-image\bin\jp2native.dll
        (Succeeded)
      20124802 08:48:38 [DEBUG] Writing error message to screen using javascript. [resourceBundle=java.util.PropertyResourceBundle@15e330][key=authenticate.noPermission]
      20124802 08:48:38 [DEBUG] Writing message to screen using javascript. [text=You do not have permissions to access your certificate directory][javascriptElementId=errorMessage]
      20124802 08:48:38 [DEBUG] Writing message to screen using javascript. [text=You do not have permissions to access your certificate directory][javascriptElementId=errorMessage]
      20124802 08:48:38 [DEBUG] Evaluating javascript expression. [expression=document.getElementById("errorMessage").innerHTML="You do not have permissions to access your certificate directory"]
      20124802 08:48:38 [ERROR] Error reading certificate names from filesystem. User may not have permissions to read directory. [certDirectory=C:\ROS\RosCerts]
      20124802 08:48:38 [DEBUG] Get certNames from local drive success [certNames=null]
      20124802 08:48:38 [DEBUG] Initialising UI elements
      20124802 08:48:38 [DEBUG] Executing javascript function. [functionName=init][arguments=[Ljava.lang.Object;@f69ed3]
      netscape.javascript.JSException: No such method "init" on JavaScript object
          at sun.plugin2.main.client.MessagePassingJSObject.newJSException(MessagePassingJSObject.java:308)
          at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(MessagePassingJSObject.java:222)
          at sun.plugin2.main.client.MessagePassingJSObject.call(MessagePassingJSObject.java:100)
          at ie.revenue.ros.applets.js.RosJSObjectImpl.executeJsFunction(RosJSObjectImpl.java:65)
          at ie.revenue.ros.applets.authenticate.AuthenticateJsApplet.initView(AuthenticateJsApplet.java:658)
          at ie.revenue.ros.applets.authenticate.AuthenticateJsApplet.start(AuthenticateJsApplet.java:314)
          at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(AWTAppletAdapter.java:325)
          at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1766)
          at java.lang.Thread.run(Unknown Source)
      20124802 08:48:38 [ERROR] Javascript error occurred when writing text message. See stack trace for more details
      ie.revenue.ros.applets.js.JSObjectException: netscape.javascript.JSException: No such method "init" on JavaScript object
          at ie.revenue.ros.applets.js.RosJSObjectImpl.executeJsFunction(RosJSObjectImpl.java:67)
          at ie.revenue.ros.applets.authenticate.AuthenticateJsApplet.initView(AuthenticateJsApplet.java:658)
          at ie.revenue.ros.applets.authenticate.AuthenticateJsApplet.start(AuthenticateJsApplet.java:314)
          at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(AWTAppletAdapter.java:325)
          at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1766)
          at java.lang.Thread.run(Unknown Source)
      Caused by: netscape.javascript.JSException: No such method "init" on JavaScript object
          at sun.plugin2.main.client.MessagePassingJSObject.newJSException(MessagePassingJSObject.java:308)
          at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(MessagePassingJSObject.java:222)
          at sun.plugin2.main.client.MessagePassingJSObject.call(MessagePassingJSObject.java:100)
          at ie.revenue.ros.applets.js.RosJSObjectImpl.executeJsFunction(RosJSObjectImpl.java:65)
          ... 5 more
      basic: console.trace.plugin.applet.visible
      basic: console.trace.plugin.applet.started
      basic: console.trace.plugin.applet.told
      preloader: Stop progressCheck thread

      * Messages on browser side console:

      JVMManager: applet launch (ID [AppletID 1]) succeeded
        Received applet ID [AppletID 1]
      MozillaPlugin.setWindow sun.plugin2.main.server.MozillaPlugin@1cc0a7f hWndContro
      lWindow = 2557902 caRenderServerName = null
      MozillaPlugin.setWindow setting applet [AppletID 1] size to 1, 1
      Spool AppletMessage: sun.plugin2.message.SetAppletSizeMessage@5
      JVMInstance (1.8.0.ea) processing GetProxyMessage
      Delegate to plugin instance on browser main thread.
      Browser main thread handle GetProxyMessage.
      JVMInstance (1.8.0.ea) processing GetProxyMessage
      Delegate to plugin instance on browser main thread.
      Browser main thread handle GetProxyMessage.
      JVMInstance (1.8.0.ea) processing CookieOpMessage
      JVMInstance (1.8.0.ea) processing CookieOpMessage
      JVMInstance (1.8.0.ea) processing CookieOpMessage
      JVMInstance (1.8.0.ea) processing CookieOpMessage
      JVMInstance (1.8.0.ea) processing CookieOpMessage
      JVMInstance (1.8.0.ea) processing CookieOpMessage
      JVMInstance (1.8.0.ea) processing StartAppletAckMessage with:
              appletID: 1
      Drain AppletMessage: sun.plugin2.message.SetAppletSizeMessage@5
      JVMInstance (1.8.0.ea) processing StartAppletAckMessage with:
              appletID: 1
      JVMInstance (1.8.0.ea) processing JavaScriptGetWindowMessage
        LiveConnectSupport: retained [BrowserSideObject 0xab40e20] for applet 1
      JVMInstance (1.8.0.ea) processing StartAppletAckMessage with:
              appletID: 1
      JVMInstance (1.8.0.ea) processing JavaScriptEvalMessage
      JVMInstance (1.8.0.ea) processing JavaScriptEvalMessage
      JVMInstance (1.8.0.ea) processing JavaScriptCallMessage
      LiveConnectSupport.PerPluginInfo.javaScriptCall:
        methodName: init
        args: []

        Attachments

          Activity

            People

            Assignee:
            ngthomas Thomas Ng (Inactive)
            Reporter:
            nam Nam Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: