Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug XML script not loading (Null pointer exception)

Joined
Aug 5, 2020
Messages
1
Solved: I can't spell to save my life

I'm trying to set up my test environment and I can't seem to load my very first basic script.
I keep getting a null pointer exception error:
Unable to load com/bots/testbot/testbot.manifest.xml (java.lang.NullPointerException: null)
HBcXVs5

My file appears to be located in the correct place and the code seems fine.
HBcXVs5

Code:
<manifest>
    <main-class>com.mischief.bots.testbot.testbot</main-class>
    <name>test bot</name>
    <tag-line>Catchy</tag-line>
    <description>Testing bot</description>
    <version>1.0.2</version>
    <compatability>
        <game>OSRS</game>
        <game>RS3</game>
    </compatability>
    <categories>
        <category>WOODCUTTING</category>
    </categories>
    <internal-id>testbot</internal-id>
    <open-source>true</open-source>
    <hidden>false</hidden>
    <access>public</access>
    <tags>
        <tag>Tree</tag>
        <tag>Vine</tag>
    </tags>
</manifest>
 
Last edited:
Joined
Sep 14, 2019
Messages
22
Should now work in the <compatibility> you rote <compatAbility>.
Code:
<manifest>
    <main-class>com.mischief.bots.testbot.testbot</main-class>
    <name>test bot</name>
    <description>Testing bot</description>
    <version>1.0.2</version>
    <compatibility>
        <game>OSRS</game>
    </compatibility>
    <categories>
        <category>WOODCUTTING</category>
    </categories>
</manifest>
 
Top