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

RMI thread can no longer call out to AWT thread for webstart app

    Details

    • Resolved In Build:
      b01
    • OS:
      windows_7
    • Verification:
      Not verified

      Backports

        Description

        FULL PRODUCT VERSION :
        Java(TM) SE Runtime Environment (build 1.7.0_40-ea-b29)
        Java HotSpot(TM) Client VM (build 24.0-b48, mixed mode, sharing)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 6.1.7601]

        A DESCRIPTION OF THE PROBLEM :
        We have a client-server app where the client is notified over RMI from the server using SwingUtilities.invokeLater. These calls all fail with a NullPointerException when our application is launched with Java Web Start, but succeed when launched as a local application

        REGRESSION. Last worked in version 7u21


        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        java.lang.NullPointerException
                at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
                at sun.awt.SunToolkit.getSystemEventQueueImplPP(Unknown Source)
                at sun.awt.SunToolkit.getSystemEventQueueImpl(Unknown Source)
                at java.awt.Toolkit.getEventQueue(Unknown Source)
                at java.awt.EventQueue.invokeLater(Unknown Source)
                at javax.swing.SwingUtilities.invokeLater(Unknown Source)
                at com.nexgenfs.process.processcontroller.ui.MainPanel$PListener.changed(MainPanel.java:242)
                at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
                at sun.rmi.transport.Transport$1.run(Unknown Source)
                at sun.rmi.transport.Transport$1.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Unknown Source)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                at java.lang.Thread.run(Unknown Source)
                at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
                at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
                at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
                at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
                at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
                at com.sun.proxy.$Proxy15.changed(Unknown Source)
                at com.nexgenfs.process.processcontroller.manager.ManagerImpl$4.fire(ManagerImpl.java:717)
                at com.nexgenfs.process.processcontroller.manager.ManagerImpl$7.run(ManagerImpl.java:768)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                at java.lang.Thread.run(Thread.java:662)


        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        Was not able to reduce to a simple test case
        ---------- END SOURCE ----------

          Issue Links

            Activity

            Hide
            vdyakov Victor Dyakov added a comment -
            Artem promised to transfer the fix concept to Petr on Tue, Nov 5
            Show
            vdyakov Victor Dyakov added a comment - Artem promised to transfer the fix concept to Petr on Tue, Nov 5
            Hide
            jijising Jitender Singh added a comment -
            SQE-OK to defer this issue to 7u60/8u20
            Show
            jijising Jitender Singh added a comment - SQE-OK to defer this issue to 7u60/8u20
            Hide
            maxelsso Mathias Axelsson (Inactive) added a comment -
            Release team: Dos this required a known issue for JDK 8? If so please see http://aseng-wiki.us.oracle.com/asengwiki/display/JavaDocumentation/Release+Notes+Process. Once known issue has been sorted out this is approved for deferral so you can update this and target it to 8u20.

            Show
            maxelsso Mathias Axelsson (Inactive) added a comment - Release team: Dos this required a known issue for JDK 8? If so please see http://aseng-wiki.us.oracle.com/asengwiki/display/JavaDocumentation/Release+Notes+Process . Once known issue has been sorted out this is approved for deferral so you can update this and target it to 8u20.
            Hide
            mwthomps Marty Thompson added a comment -
            Release note item created JDK-8029713. Dave to add suggested Known Issue text. Retargeted to 8u20
            Show
            mwthomps Marty Thompson added a comment - Release note item created JDK-8029713. Dave to add suggested Known Issue text. Retargeted to 8u20
            Hide
            afomin Alexander Fomin added a comment -
            SQE OK to take the fix into CPU14_03
            Show
            afomin Alexander Fomin added a comment - SQE OK to take the fix into CPU14_03

              People

              • Assignee:
                ddehaven David Dehaven
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: