Welcome!

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

Sign up now!

Question Unable to load manifest

Joined
Mar 1, 2019
Messages
2
Hi there,

I've followed along with a couple tutorials for writing my first bot but every time I've gotten to the point where I need to load it I end up with an error that says
Code:
Unable to load production/Tutorial/com/pitcher/bots/treechopper/TreeChopper.manifest.xml (java.lang.NullPointerException: null)
I've checked and doubled checked to make sure my manifest was set up properly. As well, if I change my local bot directory in the client the error changes to reflect the location of my manifest, so it knows where it is it just can't load it for some reason. If anyone could help me figure this out it would be greatly appreciated.

Thanks.
 
Joined
Mar 1, 2019
Messages
2
Here it is

Code:
<manifest>
    <main-class>com.pitcher.bots.treechopper.TreeChopper</main-class>
    <name>Tree chopper</name>
    <tag-line>Chops trees</tag-line>
    <description>Chops trees</description>
    <version>1.0.0</version>
    <compatability>
        <game-type>OSRS</game-type>
    </compatability>
    <categories>
        <catagory>WOODCUTTING</catagory>
    </categories>
    <!--Required to publish on the bot store-->
    <internal-id>WCBot</internal-id>
    <!--The rest are optional-->
    <open-source>true</open-source>
    <hidden>false</hidden><!--If you need to hide it from the bot store for maintenance-->
    <access>public</access>
    <tags>
        <tag>woodcutting</tag>
    </tags>
    <resources>

    </resources>
</manifest>
 
Nevermind, found a post from 2015. I had misspelled compatibility
 
Joined
Feb 17, 2019
Messages
29
Hi! If you're still having issues with the manifest I also noticed <catagory> tag is spelt wrong, it should be:
Code:
<category>EXAMPLE</category>
 
Top