Skip to content
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

Troubleshooting: Add better detail exception message when Masterpage cannot be loaded #613

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ggallotti
Copy link
Member

@ggallotti ggallotti commented Sep 27, 2022

Improved exception handling for Masterpage loading error. Fail fast and with better detail

Now the log and exception prints the real error, such as a missing JAR:

Caused by: java.lang.NoClassDefFoundError: com/unanimo/genexusunanimo/SdtDropdownItems_DropdownItem
	at genexus.security.backend.gam_masterpage_impl.initialize(gam_masterpage_impl.java:853)
	at com.genexus.webpanels.GXWebPanel.initState(GXWebPanel.java:223)
	at com.genexus.webpanels.GXWebObjectBase.<init>(GXWebObjectBase.java:94)
	at com.genexus.webpanels.GXWebPanel.<init>(GXWebPanel.java:73)
	at com.genexus.webpanels.GXMasterPage.<init>(GXMasterPage.java:24)
	at genexus.security.backend.gam_masterpage_impl.<init>(gam_masterpage_impl.java:32)
	... 48 more
Caused by: java.lang.ClassNotFoundException: com.unanimo.genexusunanimo.SdtDropdownItems_DropdownItem
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215)
	... 54 more

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • java/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 0 conflicted files in commit ae1371b (warning: no changes merged)

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • java/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • java/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • java/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

4 similar comments
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit ae1371b
  • gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants