Exception with Glue Backend API Module
I followed this tutorial
GLUE_BACKEND Exception
Spryker\Shared\Kernel\Transfer\Exception\NullValueException - Property "application" of transfer `Generated\Shared\Transfer\GlueRequestTransfer` is null.
in /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Transfer/AbstractTransfer.php (469)
Url:/article-numbers-export/1
Trace:
#0 /data/src/Generated/Shared/Transfer/GlueRequestTransfer.php(1069): Spryker\Shared\Kernel\Transfer\AbstractTransfer->throwNullValueException('application') #1 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Router/CustomRouteRouter/CustomRouteMatcher.php(42): Generated\Shared\Transfer\GlueRequestTransfer->getApplicationOrFail() #2 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Router/RouteMatcherCollection.php(67): Spryker\Glue\GlueApplication\Router\CustomRouteRouter\CustomRouteMatcher->route(Object(Generated\Shared\Transfer\GlueRequestTransfer)) #3 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/RequestFlowExecutor.php(97): Spryker\Glue\GlueApplication\Router\RouteMatcherCollection->route(Object(Generated\Shared\Transfer\GlueRequestTransfer)) #4 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(141): Spryker\Glue\GlueApplication\ApiApplication\RequestFlowExecutor->executeRequestFlow(Object(Generated\Shared\Transfer\GlueRequestTransfer), Object(Spryker\Glue\GlueBackendApiApplication\Application\GlueBackendApiApplication), NULL) #5 /data/public/GlueBackend/index.php(20): Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy->run() #6 {main}
Best Answer
-
Hi, Muhammad!
There are many possible issues that could lead to this error.
As for me , the most prominent issue could be missing \Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\ApplicationIdentifierRequestBuilderPlugin in the GlueBackendApiApplicationDependencyProvider::getRequestBuilderPlugins on the project level.
Please let me know if it helps!
1
Answers
-
Hi, Muhammad!
There are many possible issues that could lead to this error.
As for me , the most prominent issue could be missing \Spryker\Glue\GlueBackendApiApplication\Plugin\GlueApplication\ApplicationIdentifierRequestBuilderPlugin in the GlueBackendApiApplicationDependencyProvider::getRequestBuilderPlugins on the project level.
Please let me know if it helps!
1 -
Thank you. That was the problem 🙂 Resolved.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 921 Developer Corner
- 781 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random