cxhttt233 opened a new issue, #8248:
URL: https://github.com/apache/hop/issues/8248

   ### Apache Hop version?
   
   2.20.0-SNAPSHOT-20260903
   
   ### Java version?
   
   21
   
   ### Operating system
   
   Docker
   
   ### What happened?
   
   This error was encountered during normal Hop Web use. The code analysis 
below was assisted by Codex and the suspected cause still needs confirmation.
   
   On Hop Web "2.20.0-SNAPSHOT-20260903", the server log repeatedly shows:
   
   ERROR: Error calling extension point 'GetFieldsExtension'
   
   java.lang.NullPointerException:
   Cannot invoke "org.eclipse.rap.rwt.service.UISession.getAttribute(String)"
   because "uiSession" is null
   
   "TestingGuiPlugin.getCurrentUnitTest()" currently uses "Display.getCurrent() 
== null" as a guard before accessing GUI state.
   
   However, in RAP, "Display.getCurrent()" itself resolves the session display 
and can reach "uiSession.getAttribute(...)". If a service context exists 
without a valid "UISession", the guard itself may throw this NPE.
   
   This looks like a remaining Hop Web/RAP edge case related to #7896 / #7897.
   
   Observed on "apache/hop-web:2.20.0-SNAPSHOT-20260903", Java 21, Docker/Linux 
ARM64.
   
   Related: #7896, #7897
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Web


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to