I managed to get all of the features working for QuickValuesPlus plugin and 
it works perfectly in the web-dev environment using GrayLog 2.1.3. 

However, when I build the JAR for the plugin (mvn package) using 2.1.3 it 
BUILDS successfully, but after I add the plugin to Graylog and restart it, 
I get the following error:

Uncaught TypeError: Cannot read property 'call' of undefined
    at t (vendor.js:1)
    at Object.<anonymous> 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:2911)
    at __webpack_require__ 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20)
    at Object.<anonymous> 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:2905)
    at __webpack_require__ 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20)
    at _URI 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:139)
    at Object.<anonymous> 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:147)
    at __webpack_require__ 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20)
    at Object.<anonymous> 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:101)
    at __webpack_require__ 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20)
    at Object.<anonymous> 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:49)
    at __webpack_require__ 
(plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:20)
    at 
plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:40
    at 
plugin.org.graylog.plugins.quickvaluesplus.QuickValuesPlusWidgetPlugin.f870d4e8bd3527cc84de.js:43

Researching online, I've turned minification for the code to see if that 
helped (It didn't).

Any assistance you can provide would be appreciated. Here is a link to the 
plugin to see if you guys might be able to help me figure out what is 
causing it. Once we figure this out, I plan on sharing the plugin on the 
marketplace and my Github page.
https://www.dropbox.com/s/7wrmveulup0gx08/graylog-plugin-quick-values-plus-widget-1.0.0.jar?dl=0

Thanks in advance,

-Bil

On Monday, January 30, 2017 at 7:46:54 PM UTC-10, Bill Murrin wrote:
>
> Hi everyone,
>
> I'm attempting to build a web plugin that will also act as a Field 
> Analyzer.
>
> After much frustration and various undocumented errors, I've been able to 
> build the package successfully! :-)
>
> When I add the plugin, it shows up as a plugin, but does not act 
> accordingly.
>
> When I look at the Page Code, I see the following:
>
> Uncaught TypeError: Cannot read property 'call' of undefined
>     at t (vendor.js:1)
>     at Object.<anonymous> 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:2905)
>     at __webpack_require__ 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:20)
>     at Object.<anonymous> 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:2899)
>     at __webpack_require__ 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:20)
>     at _URI (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:139)
>     at Object.<anonymous> 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:147)
>     at __webpack_require__ 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:20)
>     at Object.<anonymous> 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:101)
>     at __webpack_require__ 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:20)
>     at Object.<anonymous> 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:49)
>     at __webpack_require__ 
> (plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:20)
>     at plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:40
>     at plugin.<redacted>Plugin.0c250351f8fb2b358bf1.js:43
>
> I would appreciate any help or suggestions that can be provided.
>
> Thanks in advance.
>
> -Bill
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/bd0f9e7d-a360-4f82-9478-1d43c5501150%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to