Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Java error during init; Cannot map handler, there is already handle of type XXX mapped.
-
Hello,
So I made some changes to my Custom Dashboard code and somehow broke the Mango server.
When rebooting it, it now throws this error before shutting down.
Does anyone have an idea of where I probably made a mistake?
I have a custom Dashboard in the overrides folder

Thanks!
-
Hi dcaron, sorry this slipped past me!
I bet your Public URL and Private URL on the system setting's page for Dashboard settings have the same value. This probably shouldn't be permitted by validation, so thanks for bringing it to our attention!
To fix, you'll need to run an SQL command. You can do that either through launching the H2 as described here: http://help.infiniteautomation.com/support/solutions/articles/14000022661-about-the-h2-database or if you are using MySQL you can connect at your command line. Or, you can move the dashboards module out of the Mango/web/modules directory, start Mango and use Mango's SQL console, then move the module back and restart.
update systemSettings set settingvalue=CONCAT('/otherpath', settingvalue) where settingname='dashboards.public.urlPrefix'; -
@phildunlap Great thank you! That makes sense, I do remember messing with those settings trying to get the custom dashboard to reload properly which I had help fixing in another topic.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login