Jump to content
  • 0

Null Pointer Exception when giving item 166


Question

Posted

Title: Null Pointer Exception when giving item 166

Version: 3.1.2

OS: Windows Server 2008 R2 Standard

Java Version: Java Version 7 Update 4 (Build 1.7.0_04-b22

Description of Problem:

When using /give <player> 166 the item is given to the player, however the user's client will crash, and on reconnect to the server the client will crash again. This has been tested with multiple users.

Error Messages:

The only error that occurs is client side, that is a Java Null Pointer Exception.

Error Log:




3 answers to this question

Recommended Posts

  • 0
Posted

Hi, thanks for the reply.

I have checked the files in the config folder and there aren't any items with the value 166, which makes me question why the server event let me give that item. I'm just using standard Tekkit with standard Bukkit plugins, nothing that adds additional blocks.

Any ideas?

Thanks

Aaron

  • 0
Posted

vanillia items still have ids and WILL NOT be in any config file

http://www.minecraftwiki.net/wiki/Data_values

you may want to check them all over again, and keep in mind that EE does have a config file that is not in the config folder but in the root server folder

if you do not want to manual read every file there is a shorter way

open command prompt

navigate to the directory for the config files

enter (find "NUMBER" *.*) in the prompt and press enter, it will search all the configs for the item id, replace NUMBER with the number you are looking for, the " " around the number is required

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...