arturobernalg opened a new pull request, #623:
URL: https://github.com/apache/jspwiki/pull/623

   The change of #612 looks for the InsertPage plugin in the text that 
scanWikiLinks receives, without checking it for null. The text is null when the 
page is gone while the references are built, and the build of the 
windows-latest job with Java 17 of #621 stopped with it: 
SearchManagerTest.setUp, "Could not instantiate ReferenceManager: Cannot invoke 
String.contains because pagedata is null".
   
   The text is now checked for null, and a null text has no links, as before 
#612. InsertPageReferencesTest has a new test that fails with the 
NullPointerException without the change. The full build passes, and on a 
running Tomcat 10.1 the page that inserts another one is still listed as its 
referrer.


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