Project

General

Profile

Bug #2740

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

Focusing frame with no focusable widget causes an abend

Added by Hynek Cihlar almost 11 years ago. Updated almost 10 years ago.

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

100%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Hynek Cihlar almost 11 years ago

Tested on p2j trunk, revision 10940.

The failing code sample:

def frame f "Hello world!" with title "Hello title!".
view frame f.
pause.

To reproduce, mouse-click on the frame.

The stack trace of the abend:

Thread [main] (Suspended (exception IllegalStateException))    
    FrameGuiImpl(AbstractContainer<O>).defaultFocus() line: 217    
    FrameGuiImpl(AbstractContainer<O>).requestFocus() line: 753    
    FrameGuiImpl(Frame<O>).requestFocus() line: 1107    
    ThinClient.processProgressEvent(Event) line: 14929    
    ThinClient.processEventsWorker() line: 14479    
    ThinClient.pop() line: 13563    
    ThinClient.eventBracket(boolean, Runnable) line: 13546    
    ThinClient.eventDrawingBracket(Widget<?>, boolean, boolean, Runnable) line: 13472    
    ThinClient.applyWorker(Event) line: 13254    
    ThinClient.waitForEvent(int, boolean, boolean, boolean) line: 12584    
    ThinClient.waitForEvent(int, boolean, boolean) line: 12523    
    ThinClient.pause(int, String, boolean, Window) line: 7016    
    ThinClient.pause(int, String, boolean, int) line: 6911    
    NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]    
    NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62    
    DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43    
    Method.invoke(Object, Object...) line: 497    
    MethodInvoker.invoke(Object[]) line: 76    
    Dispatcher.processInbound(InboundRequest, boolean, NetResource) line: 703    
    Conversation.block() line: 319    
    Conversation.waitMessage(int) line: 257    
    Queue.transactImpl(Message, int) line: 1128    
    Queue.transact(Message, int) line: 585    
    DirectSession(BaseSession).transact(Message, int) line: 223    
    HighLevelObject.transact(RoutingKey, Object[]) line: 163    
    RemoteObject$RemoteAccess.invokeCore(Object, Method, Object[]) line: 1425    
    RemoteObject$RemoteAccess(InvocationStub).invoke(Object, Method, Object[]) line: 97    
    $Proxy4.standardEntry(ClientParameters) line: not available    
    ClientCore.start(BootstrapConfig, boolean, boolean) line: 277    
    ClientCore.start(BootstrapConfig, boolean) line: 100    
    ClientDriver.start(BootstrapConfig) line: 201    
    ClientDriver(CommonDriver).process(String[]) line: 398    
    ClientDriver.process(String[]) line: 1    
    ClientDriver.main(String[]) line: 267    

#2 Updated by Greg Shah almost 11 years ago

  • Assignee set to Eugenie Lyzenko
  • Target version set to Milestone 12

#3 Updated by Greg Shah almost 11 years ago

  • Status changed from New to Closed
  • Start date deleted (09/29/2015)

Fixed in task branch 1811s revision 10955.

#4 Updated by Greg Shah almost 11 years ago

  • % Done changed from 0 to 100

#5 Updated by Greg Shah almost 10 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF