Skip to content

do not throw IllegalStateException in web app #3779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

vladak
Copy link
Member

@vladak vladak commented Nov 23, 2021

This is a follow-up to #3775 to prevent:

java.lang.IllegalStateException: getTagList() is null
	at org.opengrok.indexer.history.Repository.assignTagsInHistory(Repository.java:322)
	at org.opengrok.indexer.history.GitRepository.getHistory(GitRepository.java:558)
	at org.opengrok.indexer.history.GitRepository.getLastHistoryEntry(GitRepository.java:476)
	at org.opengrok.indexer.history.HistoryGuru.getLastHistoryEntry(HistoryGuru.java:240)
	at org.opengrok.web.PageConfig.getLastRevFromHistory(PageConfig.java:1312)
	at org.opengrok.web.PageConfig.getLatestRevision(PageConfig.java:1302)
	at org.apache.jsp.list_jsp._jspService(list_jsp.java:288)

@vladak vladak added the webapp web application label Nov 23, 2021
@ahornace ahornace merged commit 0954923 into oracle:master Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webapp web application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants