vutiendung commented on issue #2801:
URL: https://github.com/apache/hop/issues/2801#issuecomment-1792745449

   Hi guys,
   
   I have encoutered this issue and here is my temporary solution to fix that 
issue.
   
   In the file `ui/src/main/java/org/apache/hop/ui/hopgui/HopGuiKeyHandler.java`
   The function: `handleKey`
   I have wrapped the the code into the try catch block
   
   ```
   // If this is attached to a perspective, and it's not active, bail out.
       if (parentObject instanceof IHopPerspective) {
         IHopPerspective perspective = (IHopPerspective) parentObject;
         try {
           if (!perspective.isActive()) {
             return false;
           }
         } catch (Exception ex) {
           return false;
         }
       }
   ```
   
   Hope this can make your day.


-- 
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: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to