mbien opened a new pull request, #6841:
URL: https://github.com/apache/netbeans/pull/6841

    - update matcher to be more forgiving when traces are pasted from ANSI 
decorated sources (some loggers use colors for exception elements)
    - properly escape angle brackets in cell renderer and some indentation fixes
    - avoid using deprecated methods
   
   
   example: this trace isn't parsed properly NB 20 (note: the space before '('):
   ```
   java.util.zip.ZipException: zip file is empty
       at java.util.zip.ZipFile$Source.zerror (ZipFile.java:1769)
       at java.util.zip.ZipFile$Source.findEND (ZipFile.java:1565)
       at java.util.zip.ZipFile$Source.initCEN (ZipFile.java:1659)
       at java.util.zip.ZipFile$Source.<init> (ZipFile.java:1463)
       at java.util.zip.ZipFile$Source.get (ZipFile.java:1426)
       at java.util.zip.ZipFile$CleanableResource.<init> (ZipFile.java:742)
       at java.util.zip.ZipFile$CleanableResource.get (ZipFile.java:859)
       at java.util.zip.ZipFile.<init> (ZipFile.java:257)
       at java.util.zip.ZipFile.<init> (ZipFile.java:186)
       at java.util.zip.ZipFile.<init> (ZipFile.java:200)
   ```
   
![image](https://github.com/apache/netbeans/assets/114367/fb1f934b-b454-4aa9-a38f-83380be39f80)
   
   with this PR applied:
   
![image](https://github.com/apache/netbeans/assets/114367/ae2448d6-9e23-4e35-bbc0-ab547cefd339)
   
   
   unfortunately I don't know which logger is causing this, when run in console 
the exception was decorated with ANSI symbols for coloring.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to