Skip to main content
deleted 223 characters in body; edited title
Source Link
Bart Koopman
  • 29.6k
  • 3
  • 40
  • 90

DXA Java CTP2CTP 2.0 Model Service problem modelData is null

We have just installed the CTP2CTP 2.0 Model Service (CD Microservice) from the official SDL documentation: Model Service DocumentationModel Service Documentation

After successfully installing the service and calling the PageModelPageModel endpoint, the modelData returned is nullnull. ThereforTherefore the DXA webapp throws exceptions.

Following endpoint was called:

http://172.19.3.2:8998/PageModel/tcm/1206/en?include=INCLUDE

The Service returns a small JSON without modelData:

{
  Id: "tcm:1206-368946-64",
  Meta: { },
  Title: "000 Home"
}

The nullpointer exception is thrown because the modelData is null:

exception modelData null

I double checked the configurations and also increased the logging up to DEBUGDEBUG but had no luck finding any configuration or connection issues. If iI add ?raw=true to the PageModel request, all my componentsComponents that are on my pagePage are getting listed in the JSON.

DXA Java CTP2.0 Model Service problem modelData is null

We have just installed the CTP2.0 Model Service (CD Microservice) from the official SDL documentation: Model Service Documentation

After successfully installing the service and calling the PageModel endpoint, the modelData returned is null. Therefor the DXA webapp throws exceptions.

Following endpoint was called:

http://172.19.3.2:8998/PageModel/tcm/1206/en?include=INCLUDE

The Service returns a small JSON without modelData:

{
  Id: "tcm:1206-368946-64",
  Meta: { },
  Title: "000 Home"
}

The nullpointer exception is thrown because the modelData is null:

exception modelData null

I double checked the configurations and also increased the logging up to DEBUG but had no luck finding any configuration or connection issues. If i add ?raw=true to the PageModel request, all my components that are on my page are getting listed in JSON.

DXA Java CTP 2.0 Model Service problem modelData is null

We have just installed the CTP 2.0 Model Service (CD Microservice) from the official SDL documentation: Model Service Documentation

After successfully installing the service and calling the PageModel endpoint, the modelData returned is null. Therefore the DXA webapp throws exceptions.

Following endpoint was called:

http://172.19.3.2:8998/PageModel/tcm/1206/en?include=INCLUDE

The Service returns a small JSON without modelData:

{
  Id: "tcm:1206-368946-64",
  Meta: { },
  Title: "000 Home"
}

The nullpointer exception is thrown because the modelData is null:

exception modelData null

I double checked the configurations and also increased the logging up to DEBUG but had no luck finding any configuration or connection issues. If I add ?raw=true to the PageModel request, all my Components that are on my Page are getting listed in the JSON.

Source Link
S. Gabriel
  • 707
  • 3
  • 11

DXA Java CTP2.0 Model Service problem modelData is null

We have just installed the CTP2.0 Model Service (CD Microservice) from the official SDL documentation: Model Service Documentation

After successfully installing the service and calling the PageModel endpoint, the modelData returned is null. Therefor the DXA webapp throws exceptions.

Following endpoint was called:

http://172.19.3.2:8998/PageModel/tcm/1206/en?include=INCLUDE

The Service returns a small JSON without modelData:

{
  Id: "tcm:1206-368946-64",
  Meta: { },
  Title: "000 Home"
}

The nullpointer exception is thrown because the modelData is null:

exception modelData null

I double checked the configurations and also increased the logging up to DEBUG but had no luck finding any configuration or connection issues. If i add ?raw=true to the PageModel request, all my components that are on my page are getting listed in JSON.