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

Fatal error occurs when reporting rule is not given a name #897

Closed
minesh-s-patel opened this issue Jan 9, 2025 · 0 comments · Fixed by #898
Closed

Fatal error occurs when reporting rule is not given a name #897

minesh-s-patel opened this issue Jan 9, 2025 · 0 comments · Fixed by #898

Comments

@minesh-s-patel
Copy link
Contributor

The syntax for reporting rule is:

reporting rule <NAME>:

When the <NAME> is not specified, you get the below error after which no code generation occurs.

java.lang.NullPointerException: qualified name may not be null
	at org.eclipse.xtext.resource.EObjectDescription.<init>(EObjectDescription.java:35)
	at com.regnosys.rosetta.resource.RuleDescription.<init>(RuleDescription.java:16)
	at com.regnosys.rosetta.resource.RosettaResourceDescriptionStrategy.createEObjectDescriptions(RosettaResourceDescriptionStrategy.java:43)
	at org.eclipse.xtext.resource.impl.DefaultResourceDescription.computeExportedObjects(DefaultResourceDescription.java:90)

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 a pull request may close this issue.

1 participant