GraphQL fails after update to Fix Pack 4 or Fix Pack 5

Issue

When updating to Liferay DXP 7.2 Fix Pack 4 or Fix Pack 5, you may encounter the following error when using GraphQL:

2020-02-25 10:48:50.588 ERROR [http-nio-8080-exec-8][AuthVerifierFilter:62] java.lang.NullPointerException
java.lang.NullPointerException
        at com.liferay.portal.vulcan.internal.graphql.servlet.GraphQLServletExtender$LiferayGraphQLFieldRetriever.getField(GraphQLServletExtender.java:1902)
        at com.liferay.portal.vulcan.internal.graphql.servlet.GraphQLServletExtender._collectObjectFields(GraphQLServletExtender.java:489)
        at com.liferay.portal.vulcan.internal.graphql.servlet.GraphQLServletExtender._createServlet(GraphQLServletExtender.java:935)
        at com.liferay.portal.vulcan.internal.graphql.servlet.GraphQLServletExtender.access$700(GraphQLServletExtender.java:208)
        at com.liferay.portal.vulcan.internal.graphql.servlet.GraphQLServletExtender$7.invoke(GraphQLServletExtender.java:375)
        at com.sun.proxy.$Proxy327.service(Unknown Source)
        at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
        at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
        at 

Environment

  • Liferay DXP 7.2 with either Fix Pack 4 or Fix Pack 5
  • GraphQL

Resolution

If data-engine is not used follow these next steps:

  1. Use Blacklisting OSGi Bundles and Components to blacklist com.liferay.data.engine.rest.impl bundle.
  2. From the Gogo console stop and start the
    Liferay Foundation - Liferay Portal Vulcan - Impl bundle.

If data-engine is used you should ask for a hotfix that includes LPS-113149.

Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0