Project

General

Profile

Bug #3101

Bug #2677: fix drawing and functional differences between P2J GUI and 4GL GUI

minimizing a web window results that the java web client process throws exceptions

Added by Sergey Ivanovskiy almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:

3101_1.txt Magnifier (3.15 KB) Sergey Ivanovskiy, 05/06/2016 11:46 AM

History

#1 Updated by Sergey Ivanovskiy almost 8 years ago

The java web client's process throws these exceptions if we minimize a target web window:

java.lang.RuntimeException: Unknown window reported by GUI driver!
    at com.goldencode.p2j.ui.client.WindowManager.windowActivated(WindowManager.java:1306)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebDriver.windowActivated(GuiWebDriver.java:975)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebSocket.processBinaryMessage(GuiWebSocket.java:1444)
    at com.goldencode.p2j.ui.client.driver.web.WebClientProtocol$1.run(WebClientProtocol.java:323)
    at com.goldencode.p2j.ui.client.driver.web.WebTaskWorker.run(WebTaskWorker.java:79)
java.lang.NullPointerException
    at com.goldencode.p2j.ui.client.gui.driver.AbstractGuiDriver.iconifyWindow(AbstractGuiDriver.java:1989)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebDriver.windowIconified(GuiWebDriver.java:991)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebSocket.processBinaryMessage(GuiWebSocket.java:1455)
    at com.goldencode.p2j.ui.client.driver.web.WebClientProtocol$1.run(WebClientProtocol.java:323)
    at com.goldencode.p2j.ui.client.driver.web.WebTaskWorker.run(WebTaskWorker.java:79)
java.lang.RuntimeException: Unknown window reported by GUI driver!
    at com.goldencode.p2j.ui.client.WindowManager.windowActivated(WindowManager.java:1306)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebDriver.windowActivated(GuiWebDriver.java:975)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebSocket.processBinaryMessage(GuiWebSocket.java:1444)
    at com.goldencode.p2j.ui.client.driver.web.WebClientProtocol$1.run(WebClientProtocol.java:323)
    at com.goldencode.p2j.ui.client.driver.web.WebTaskWorker.run(WebTaskWorker.java:79)
java.lang.NullPointerException
    at com.goldencode.p2j.ui.client.gui.driver.AbstractGuiDriver.iconifyWindow(AbstractGuiDriver.java:1989)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebDriver.windowIconified(GuiWebDriver.java:991)
    at com.goldencode.p2j.ui.client.gui.driver.web.GuiWebSocket.processBinaryMessage(GuiWebSocket.java:1455)
    at com.goldencode.p2j.ui.client.driver.web.WebClientProtocol$1.run(WebClientProtocol.java:323)
    at com.goldencode.p2j.ui.client.driver.web.WebTaskWorker.run(WebTaskWorker.java:79)

It can reproduced for the current trunc:
1) Open the web client for the ./demo/demo_widgets.p
2) Minimize the application window and check the web client log file.

#2 Updated by Sergey Ivanovskiy almost 8 years ago

Greg, please review these changes against P2j that fixes the issue.

#3 Updated by Greg Shah almost 8 years ago

  • Project changed from Liberty to User Interface

#4 Updated by Greg Shah almost 8 years ago

  • Subject changed from Minimizing a web window results that the java web client process throws exceptions to minimizing a web window results that the java web client process throws exceptions
  • Start date deleted (05/06/2016)

Is this still an open issue? If I understand correctly, all these changes are already applied to the trunk with your latest merge.

#5 Updated by Sergey Ivanovskiy almost 8 years ago

Yes, it is fixed and committed into the trunc.

#6 Updated by Greg Shah almost 8 years ago

  • Target version set to Milestone 16
  • Status changed from New to Closed
  • Assignee set to Sergey Ivanovskiy
  • % Done changed from 0 to 100

#7 Updated by Greg Shah almost 8 years ago

  • Parent task set to #2677

#8 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 16 to Cleanup and Stabilization for GUI

Also available in: Atom PDF