# \[SOLVED\] Error when modifying or creating report

**URL:** <https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117>\
**Category:** Graylog Central (peer support)\
**Created:** [June 1, 2022, 9:56am UTC](https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117 "2022-06-01T09:56:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pirona](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/pirona/32/3958_2.png) [@pirona](https://community.graylog.org/u/pirona)\
**Post date:** [June 1, 2022, 9:56am UTC](https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117/1 "2022-06-01T09:56:55Z")

</div>

**1. Describe your incident:**

I am on an Enterprise Small Business Licence.  
The report was created on 3.1.4 but I have the issue since I updated to 4.3.  
I have the following error in two cases :

- when I want o create a report
- when Iwant to modify a report

```auto
2022-06-01T12:31:58.059+02:00 ERROR [AnyExceptionClassMapper] Unhandled exception in REST resource
java.lang.NullPointerException: null
        at org.graylog.plugins.report.rest.AvailableWidgetsResource.lambda$list$6(AvailableWidgetsResource.java:89) ~[?:?]
        at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:178) ~[?:?]
        at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[?:?]
        at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
        at org.graylog.plugins.report.rest.AvailableWidgetsResource.lambda$list$7(AvailableWidgetsResource.java:87) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
        at java.util.ArrayList$Itr.forEachRemaining(ArrayList.java:1032) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
        at org.graylog.plugins.report.rest.AvailableWidgetsResource.list(AvailableWidgetsResource.java:113) ~[?:?]
        at jdk.internal.reflect.GeneratedMethodAccessor1011.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391) ~[graylog.jar:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80) ~[graylog.jar:?]
        at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274) [graylog.jar:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244) [graylog.jar:?]
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) [graylog.jar:?]
        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234) [graylog.jar:?]
        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680) [graylog.jar:?]
        at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:356) [graylog.jar:?]
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200) [graylog.jar:?]
        at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180) [graylog.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
2022-06-01T12:32:01.494+02:00 WARN [EqualityExpression] left expression evaluated to null, returning false: $message.application_name

```

In my web browser :

```auto
O is undefined

Stack Trace:

y_@https://graylog.srv.ovh.artis.fr/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.b0d4986c16795a3f6280.js:2:4325146
Ji@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:792935
Ba@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:801784
Ls@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:840080
Mc@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:831638
mc@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:831561
sc@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:828591
4448/Qo/<@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780339
4203/exports.unstable_runWithPriority@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:855639
Ko@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780048
Qo@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780286
Go@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:780219
cc@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:828882
5901/t.flush/<@https://graylog.srv.ovh.artis.fr/assets/vendor.3b152b3d9c1d8273aa7e.js:2:877169

Component Stack:

    in y_
    in div
    in t
    in div
    in t
    in Row
    in div
    in a
    in Unknown
    in Unknown
    in t
    in t
    in div
    in t
    in PageContentLayout__StyledGrid
    in s
    in div
    in PageContentLayout__Container
    in E
    in t
    in t
    in div
    in App__PageContent
    in i
    in jt
    in div
    in App__AppLayout
    in m
    in an
    in t
    in t
    in i
    in t
    in ct
    in Unknown
    in ConnectStoresWrapper[Unknown/Anonymous] stores=streams
    in oy
    in t
    in _t
    in De
    in z
    in mt
    in Rt
    in It
    in bt
    in Pt
    in Ot
    in c
    in Lt
    in Yt
    in n
    in ee
    in De
    in z
    in ge

```

**2. Describe your environment:**

- OS Information:  
Debian 9.13  
10G RAM  
4 for elasticsearch jvm (auto)  
2 for graylog jvm (manual configuration for Xms and Xmx)  
one node  
4CPU  
Virtual Machine
- Package Version:  
Graylog 4.3
- Service logs, configurations, and environment variables:

**3. What steps have you already taken to try and solve the problem?**

I have no idea how to solve this.

**4. How can the community help?**

Have you met this before and how xan I solve it ?

**Helpful Posting Tips:** [Tips for Posting Questions that Get Answers](https://community.graylog.org/t/tips-for-posting-questions-that-get-answers/21828) [Hold down CTRL and link on link to open tips documents in a separate tab]

---

<div class="post-metadata">

**Author:** ![pirona](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/pirona/32/3958_2.png) [@pirona](https://community.graylog.org/u/pirona)\
**Post date:** [June 1, 2022, 2:51pm UTC](https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117/2 "2022-06-01T14:51:15Z")

</div>

I read this post : [Enterprise Plugin: Unable to create a report](https://community.graylog.org/t/enterprise-plugin-unable-to-create-a-report/15193)

This is exactly my problem I think : casual digging with a F12 gives me this cause :  
`GET https://mygraylog.tld/api/plugins/org.graylog.plugins.report/widgets` =\> ERROR 500

But I have no idea how to solve it.

---

<div class="post-metadata">

**Author:** ![pirona](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/pirona/32/3958_2.png) [@pirona](https://community.graylog.org/u/pirona)\
**Post date:** [June 1, 2022, 3:05pm UTC](https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117/3 "2022-06-01T15:05:27Z")

</div>

Solved, by deleting some migrated dashboards that were sending no more data.  
I guess the update did some damages on some widgets.

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [June 1, 2022, 10:12pm UTC](https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117/4 "2022-06-01T22:12:50Z")

</div>

Hello @pirona

Quit a few changes happened from 3.1 to 4.3. To get a better idea what happened take a look [here](https://docs.graylog.org/docs/changelog)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 15, 2022, 10:13pm UTC](https://community.graylog.org/t/solved-error-when-modifying-or-creating-report/24117/5 "2022-06-15T22:13:12Z")

</div>

Closed on June 15, 2022, 10:13pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
