<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 08:18:08 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-17453] Server crashes if script-watchdog is enabled and default permissions.json is missing</title>
                <link>https://bugs.mojang.com/browse/BDS-17453</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;The new script watchdog seems to cause a server crash if the config/default/permissions.json file is missing.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[2022-08-11 11:41:45:142 INFO] Package: com.mojang.minecraft.dedicatedserver
Version: 1.19.20.02
OS: Linux
Server start: 2022-08-11 11:41:44 CEST
Dmp timestamp: 2022-08-11 11:41:45 CEST
Upload Date: 2022-08-11 11:41:45 CEST
Session ID: 219b0aa7-ddfe-48bb-a758-850c74ee1a09
Commit hash: 1aa76c5813541fe1bbb16c4e3a0af2b29474dc34
Build id: 10811062
CrashReporter Key: 6f3662c9-7e23-3de7-a0c5-d7af39a21f73Crash
[2022-08-11 11:41:45:142 INFO] &#160; &#160; at __clone (UnknownFile:?)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h3&gt;&lt;a name=&quot;Stepstoreproduce&quot;&gt;&lt;/a&gt;Steps to reproduce&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;Download and unpack the 1.19.20 server files&lt;/li&gt;
	&lt;li&gt;Add a world with the Gametest experiment enabled to the server&lt;/li&gt;
	&lt;li&gt;Make sure script-watchdog-enable is enabled (which it should be by default)&lt;/li&gt;
	&lt;li&gt;Remove the config/default/permissions.json file (or just the entire config folder)&lt;/li&gt;
&lt;/ul&gt;


&lt;h3&gt;&lt;a name=&quot;Expectedbehavior&quot;&gt;&lt;/a&gt;Expected behavior&lt;/h3&gt;

&lt;p&gt;When running scripts, a missing permissions.json file will simply be interpreted as an empty list of permissions. This behavior would also make sense here.&lt;/p&gt;

&lt;p&gt;Alternatively, the server could log a proper error message and shut down (and tbh, BDS could use some proper error messages in many other places as well).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Manjaro Linux</environment>
        <key id="513115">BDS-17453</key>
            <summary>Server crashes if script-watchdog is enabled and default permissions.json is missing</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="KurtThiemann">Kurt Thiemann</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Aug 2022 11:50:02 +0200</created>
                <updated>Thu, 4 Jan 2024 18:36:05 +0100</updated>
                            <resolved>Thu, 4 Jan 2024 18:36:05 +0100</resolved>
                                    <version>1.19.20</version>
                                                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="1298311" author="greymagic27" created="Thu, 4 Jan 2024 18:36:05 +0100"  >&lt;p&gt;Resolving this as CR as we can no longer reproduce this bug.&lt;/p&gt;

&lt;p&gt;If this is still an issue please remake the bug report and include detailed reproduction steps, as well as a video showcasing the bug.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Bug Tracker Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://discord.com/invite/58Sxm23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://aka.ms/Minecraft-Support&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support (Technical Issues)&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://support.xbox.com/contact-us/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Microsoft Support (Account Issues)&lt;/a&gt;&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Project Summary&lt;/a&gt; &amp;#8211; &#9997;&#65039; &lt;a href=&quot;https://discord.gg/MXxTqXnuD5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback and Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.wiki/w/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1191730" author="kurtthiemann" created="Thu, 11 Aug 2022 17:54:33 +0200"  >&lt;p&gt;The issue occurs on every start if the config/default/permissions.json file is missing, the GameTest experiment is enabled, and the script-watchdog is enabled.&lt;/p&gt;

&lt;p&gt;The same issue occurs on the Windows version, except that there is no message about the crash. The server just exits immediately after it starts.&lt;/p&gt;

&lt;p&gt;I tested this in a VirtualBox VM running Windows 11.&lt;/p&gt;</comment>
                            <comment id="1191694" author="JIRAUSER648376" created="Thu, 11 Aug 2022 15:58:21 +0200"  >&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;Does this issue occur every time? Is Win 10 BDS affected as well?&#160;&lt;/p&gt;

&lt;p&gt;This ticket will automatically reopen when you reply.&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11500" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>ADO</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>868891</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12700" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Description</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>[Briefly describe the bug here]&lt;br/&gt;
&lt;br/&gt;
*Steps to Reproduce:*&lt;br/&gt;
# [Step 1]&lt;br/&gt;
# [Step 2]&lt;br/&gt;
# [Step 3]&lt;br/&gt;
&lt;br/&gt;
*Observed Results:*&lt;br/&gt;
[Describe what happens]&lt;br/&gt;
&lt;br/&gt;
*Expected Results:*&lt;br/&gt;
[Describe what should happen]&lt;br/&gt;
&lt;br/&gt;
*Screenshots/Videos attached:* [please attach an image or short video]&lt;br/&gt;
&lt;br/&gt;
*Notes:*</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i29yen:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>