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

[management] Error when trying to access Design menu with new design studio and without admin rights #4925

Closed
micedre opened this issue Jan 19, 2021 · 0 comments

Comments

@micedre
Copy link

micedre commented Jan 19, 2021

As an api_publisher, when adding a new API with Design Studio and trying to access the design menu, we got a red alert and the page doesn't display.

Expected Behavior

The design page is usable.

Current Behavior

I got the following error in UI : Internal Server Error.
In the management logs I have this stacktrace :

09:10:58.884 [gravitee-listener-226] ERROR i.g.r.a.m.r.provider.ThrowableMapper - Internal error
java.lang.NullPointerException: null
    at io.gravitee.rest.api.service.impl.MembershipServiceImpl.getUserMemberPermissions(MembershipServiceImpl.java:870)
    at jdk.internal.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)

Steps to Reproduce (for bugs)

https://nightly.gravitee.io/ , with api1 user, create an api with design studio and try to open the design page.
Or just use this one : https://nightly.gravitee.io/#!/apis/88616aac-db5d-46a0-a16a-acdb5d46a0ff/portal

Your Environment

  • Version used: 3.5.1 (docker)
  • Browser Name and version: Firefox 78.6.1esr
  • Operating System and version: Windows 10
@aelamrani aelamrani changed the title [Management-ui] Error when trying to access Design menu with new design studio and without admin rights [management] Error when trying to access Design menu with new design studio and without admin rights Jan 19, 2021
@aelamrani aelamrani added this to the APIM - 3.5.2 milestone Jan 19, 2021
@aelamrani aelamrani self-assigned this Jan 20, 2021
aelamrani added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jan 20, 2021
ytvnr pushed a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
Development

No branches or pull requests

3 participants