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

No matching business function for P2P Transfer #131

Open
eliasnogueira opened this issue Jun 16, 2020 · 0 comments
Open

No matching business function for P2P Transfer #131

eliasnogueira opened this issue Jun 16, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@eliasnogueira
Copy link
Collaborator

The problem

When the bb-fuel tries to ingest the P2P Transfer business function an exception is thrown

java.lang.IllegalStateException: Failed to execute ApplicationRunner
Caused by: java.lang.IllegalArgumentException: No matching business function for P2P Transfer
	at com.backbase.ct.bbfuel.data.AccessGroupsDataGenerator.lambda$detectBusinessFunction$2(AccessGroupsDataGenerator.java:54)

Full stack trace

java.lang.IllegalStateException: Failed to execute ApplicationRunner
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:778)
	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:765)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:322)
	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)
	at com.backbase.ct.bbfuel.BbFuelApplication.main(BbFuelApplication.java:20)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: java.lang.IllegalArgumentException: No matching business function for P2P Transfer
	at com.backbase.ct.bbfuel.data.AccessGroupsDataGenerator.lambda$detectBusinessFunction$2(AccessGroupsDataGenerator.java:54)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at com.backbase.ct.bbfuel.data.AccessGroupsDataGenerator.detectBusinessFunction(AccessGroupsDataGenerator.java:54)
	at com.backbase.ct.bbfuel.data.AccessGroupsDataGenerator.lambda$createPermissionsForJobProfile$3(AccessGroupsDataGenerator.java:62)
	at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
	at com.backbase.ct.bbfuel.data.AccessGroupsDataGenerator.createPermissionsForJobProfile(AccessGroupsDataGenerator.java:61)
	at com.backbase.ct.bbfuel.configurator.AccessGroupsConfigurator.ingestFunctionGroup(AccessGroupsConfigurator.java:57)
	at com.backbase.ct.bbfuel.setup.AccessControlSetup.lambda$ingestFunctionGroups$15(AccessControlSetup.java:303)
	at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
	at com.backbase.ct.bbfuel.setup.AccessControlSetup.ingestFunctionGroups(AccessControlSetup.java:287)
	at com.backbase.ct.bbfuel.setup.AccessControlSetup.lambda$assembleFunctionDataGroupsAndPermissions$8(AccessControlSetup.java:206)
	at java.lang.Iterable.forEach(Iterable.java:75)
	at com.backbase.ct.bbfuel.setup.AccessControlSetup.assembleFunctionDataGroupsAndPermissions(AccessControlSetup.java:199)
	at com.backbase.ct.bbfuel.setup.AccessControlSetup.setupBankWithEntitlementsAdminAndProducts(AccessControlSetup.java:156)
	at com.backbase.ct.bbfuel.setup.AccessControlSetup.initiate(AccessControlSetup.java:133)
	at com.backbase.ct.bbfuel.Runner.setupAccessControl(Runner.java:96)
	at com.backbase.ct.bbfuel.Runner.ingestEnvironment(Runner.java:83)
	at com.backbase.ct.bbfuel.Runner.doIt(Runner.java:62)
	at com.backbase.ct.bbfuel.Runner.run(Runner.java:42)
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:775)
	... 12 common frames omitted
@eliasnogueira eliasnogueira added the bug Something isn't working label Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants