TypeError: WisskiSparqlResultRow::__construct(): Argument #1 ($entry) must be of type stdClass, null given

Created on 9 October 2025, 7 days ago

On which WissKI instance happened the incidence?

Dev Container

When does the issue occur?

Create entities

On which page or in which action carried out?

/wisski/create/

What exactly lead to the behaviour?

e.g. "Error occur on /admin/config/wisski/ontology when I try to import the ontology". I entered the the url of the ontology (http://erlangen-crm.org/211015/) and clicked on "load ontology".
Trying to create an entity.

What did you expect? Do you want to display, configure or save something?

e.g. "It should import the ontology in the triple store."
Create gracefully an entity.

What happened instead? Did the page crash, is there an error or did the action not take place?

e.g. "The were two error messages: Something went wrong in 'doQuery' for adapter "default"; "Something went wrong in 'directUpdate' for adapter "default"

TypeError: Drupal\wisski_salz\Plugin\wisski_salz\Engine\WisskiSparqlResultRow::__construct(): Argument #1 ($entry) must be of type stdClass, null given, called in /var/www/html/web/modules/custom/wisski/wisski_salz/src/Plugin/wisski_salz/Engine/WisskiSparqlResult.php on line 53 in Drupal\wisski_salz\Plugin\wisski_salz\Engine\WisskiSparqlResultRow->__construct() (line 22 of modules/custom/wisski/wisski_salz/src/Plugin/wisski_salz/Engine/WisskiSparqlResultRow.php).

Drupal\wisski_salz\Plugin\wisski_salz\Engine\WisskiSparqlResult->wrapEntry() (Line: 48)
Drupal\wisski_salz\Plugin\wisski_salz\Engine\WisskiSparqlResult->offsetGet() (Line: 2734)
Drupal\wisski_adapter_sparql11_pb\Plugin\wisski_salz\Engine\Sparql11EngineWithPB->addNewFieldValue() (Line: 3175)
Drupal\wisski_adapter_sparql11_pb\Plugin\wisski_salz\Engine\Sparql11EngineWithPB->writeFieldValues() (Line: 1530)
Drupal\wisski_core\WisskiStorage->doSaveFieldItems() (Line: 719)
Drupal\Core\Entity\ContentEntityStorageBase->doSave() (Line: 487)
Drupal\Core\Entity\EntityStorageBase->save() (Line: 804)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 370)
Drupal\Core\Entity\EntityBase->save() (Line: 298)
Drupal\inline_entity_form\Form\EntityInlineForm->save() (Line: 57)
Drupal\inline_entity_form\WidgetSubmit::doSubmit()
call_user_func_array() (Line: 109)
Drupal\inline_entity_form\ElementSubmit::doSubmit() (Line: 79)
Drupal\inline_entity_form\ElementSubmit::trigger()
call_user_func_array() (Line: 105)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 43)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 589)
Drupal\Core\Form\FormBuilder->processForm() (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 66)
Drupal\wisski_core\Controller\WisskiEntityController->add()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 715)
Drupal\Core\DrupalKernel->handle() (Line: 19)
📌 Task
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany rnsrk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024