I keep getting the following error when attempting to import configuration from one site to another:
Fatal error: Call to a member function label() on null in /Users/ememic/Sites/drupal8prod/modules/devel/webprofiler/src/DataCollector/UserDataCollector.php on line 66

This appears to be a serious bug. All I really did was enable webprofile on my local before exporting the configurations. And now it fails on import.

Snapshot

CommentFileSizeAuthor
Screen Shot 2016-08-31 at 11.48.01 PM.png588.87 KBpicacsso
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emko_one created an issue. See original summary.

picacsso’s picture

Version: 8.x-1.x-dev » 8.x-1.0-alpha1
Issue summary: View changes
picacsso’s picture

The actual trace:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /batch?id=2&op=do_nojs&op=do
StatusText: OK
ResponseText: 
( ! ) Fatal error: Call to a member function label() on null in /Users/ememic/Sites/drupal8prod/modules/devel/webprofiler/src/DataCollector/UserDataCollector.php on line 66
Call Stack
#TimeMemoryFunctionLocation
10.0028246904{main}(  )../index.php:0
20.07031826536Drupal\Core\DrupalKernel->handle(  )../index.php:19
30.23335054592Stack\StackedHttpKernel->handle(  )../DrupalKernel.php:628
40.23335054704Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(  )../StackedHttpKernel.php:23
50.23345055312Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware->handle(  )../NegotiationMiddleware.php:50
60.23405079384Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(  )../WebprofilerMiddleware.php:43
70.23405079816Drupal\page_cache\StackMiddleware\PageCache->handle(  )../ReverseProxyMiddleware.php:47
80.23425080688Drupal\page_cache\StackMiddleware\PageCache->pass(  )../PageCache.php:77
90.23425080768Drupal\Core\StackMiddleware\KernelPreHandle->handle(  )../PageCache.php:98
100.421711010984Drupal\Core\StackMiddleware\Session->handle(  )../KernelPreHandle.php:47
110.460711522200Symfony\Component\HttpKernel\HttpKernel->handle(  )../Session.php:57
120.460811523152Symfony\Component\HttpKernel\HttpKernel->handleRaw(  )../HttpKernel.php:62
132.382042495600Symfony\Component\HttpKernel\HttpKernel->filterResponse(  )../HttpKernel.php:161
142.382342508064Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(  )../HttpKernel.php:179
152.395142803024Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(  )../TraceableEventDispatcher.php:132
162.399442823400Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(  )../ContainerAwareEventDispatcher.php:111
172.399542823584call_user_func:{/Users/ememic/Sites/drupal8prod/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:61}
(  )../WrappedListener.php:61
182.399542824024Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse(  )../WrappedListener.php:61
192.401342836136Symfony\Component\HttpKernel\Profiler\Profiler->collect(  )../ProfilerListener.php:128
202.565644242880Drupal\webprofiler\DataCollector\UserDataCollector->collect(  )../Profiler.php:218
lussoluca’s picture

Status: Active » Closed (duplicate)