Bug #3143
Bug #2677: fix drawing and functional differences between P2J GUI and 4GL GUI
An infinite loop while closing a dialog
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/07/2016
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#1 Updated by Igor Skornyakov about 10 years ago
- File xml.p
added
With the attached program when I press OK button in the alert box I see the following exception in the client log
SEVERE: {main} Unexpected throwable.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.goldencode.p2j.util.MethodInvoker.invoke(MethodInvoker.java:76)
at com.goldencode.p2j.net.Dispatcher.processInbound(Dispatcher.java:705)
at com.goldencode.p2j.net.Conversation.block(Conversation.java:364)
at com.goldencode.p2j.net.Conversation.waitMessage(Conversation.java:300)
at com.goldencode.p2j.net.Queue.transactImpl(Queue.java:1141)
at com.goldencode.p2j.net.Queue.transact(Queue.java:598)
at com.goldencode.p2j.net.BaseSession.transact(BaseSession.java:223)
at com.goldencode.p2j.net.HighLevelObject.transact(HighLevelObject.java:163)
at com.goldencode.p2j.net.RemoteObject$RemoteAccess.invokeCore(RemoteObject.java:1425)
at com.goldencode.p2j.net.InvocationStub.invoke(InvocationStub.java:97)
at com.sun.proxy.$Proxy4.standardEntry(Unknown Source)
at com.goldencode.p2j.main.ClientCore.start(ClientCore.java:294)
at com.goldencode.p2j.main.ClientCore.start(ClientCore.java:104)
at com.goldencode.p2j.main.ClientDriver.start(ClientDriver.java:202)
at com.goldencode.p2j.main.CommonDriver.process(CommonDriver.java:396)
at com.goldencode.p2j.main.ClientDriver.process(ClientDriver.java:96)
at com.goldencode.p2j.main.ClientDriver.main(ClientDriver.java:265)
Caused by: java.lang.NullPointerException: The FOCUS window can not be set to null - once set, it can be removed only if the FOCUS window Fgets destroyed.
at com.goldencode.p2j.ui.client.WindowManager.setFocusWindow(WindowManager.java:803)
at com.goldencode.p2j.ui.client.gui.GuiWindowCommons.hide(GuiWindowCommons.java:93)
at com.goldencode.p2j.ui.client.gui.ModalWindow.hide(ModalWindow.java:373)
at com.goldencode.p2j.ui.client.gui.AlertBoxGuiImpl.hide(AlertBoxGuiImpl.java:198)
at com.goldencode.p2j.ui.client.AlertBoxCommons.finished(AlertBoxCommons.java:185)
at com.goldencode.p2j.ui.client.AlertBoxCommons.onAction(AlertBoxCommons.java:173)
at com.goldencode.p2j.ui.client.Button.processEvent(Button.java:462)
at com.goldencode.p2j.ui.client.widget.TitledWindow.processEvent(TitledWindow.java:195)
at com.goldencode.p2j.ui.client.TopLevelWindow.processEvent(TopLevelWindow.java:829)
at com.goldencode.p2j.ui.chui.ThinClient.processEventsWorker(ThinClient.java:15620)
at com.goldencode.p2j.ui.chui.ThinClient.pop(ThinClient.java:14433)
at com.goldencode.p2j.ui.chui.ThinClient.eventBracket(ThinClient.java:14416)
at com.goldencode.p2j.ui.chui.ThinClient.eventDrawingBracket(ThinClient.java:14334)
at com.goldencode.p2j.ui.chui.ThinClient.eventDrawingBracket(ThinClient.java:14240)
at com.goldencode.p2j.ui.chui.ThinClient.messageBoxEventWorker(ThinClient.java:7359)
at com.goldencode.p2j.ui.chui.ThinClient.messageBox(ThinClient.java:7204)
... 21 more
The client loops infinitely with this exception.