Buggy code:
@ Override public int onAmxUpdatePlayerLabel ( int playerid , int labelid , int color , String text ) { } @ Override public int onAmxAttachLabelToPlayer ( int labelid , int playerid , float offsetX , float offsetY , float offsetZ ) { } @ Override public int onAmxAttachLabelToVehicle ( int labelid , int vehicleid , float offsetX , float offsetY , float offsetZ ) { } @ Override public int onAmxCreateMenu ( String title , int columns , float x , float y , float col1Width , float col2Width , int id ) { } @ Override public int onAmxSetMenuColumnHeader ( int id , int column , String text ) { } @ Override public int onAmxDestroyMenu ( int id ) { } @ Override public int onAmxGangZoneCreate ( float minX , float minY , float maxX , float maxY , int id ) { } @ Override public int onAmxGangZoneDestroy ( int id ) { } @ Override public int onAmxGangZoneShowForPlayer ( int playerid , int zone , int color ) { } @ Override public int onAmxGangZoneShowForAll ( int zone , int color ) { } @ Override public int onAmxGangZoneHideForPlayer ( int playerid , int zone ) { } @ Override public int onAmxGangZoneHideForAll ( int zone ) { } @ Override public int onAmxGangZoneFlashForPlayer ( int playerid , int zone , int flashColor ) { } @ Override public int onAmxGangZoneFlashForAll ( int zone , int flashColor ) { } @ Override public int onAmxGangZoneStopFlashForPlayer ( int playerid , int zone ) { } @ Override public int onAmxGangZoneStopFlashForAll ( int zone ) { } @ Override public int onAmxSetSkillLevel ( int playerid , int skill , int level ) { } @ Override public int onAmxSetPlayerMapIcon ( int playerid , int iconid , float x , float y , float z , int markertype , int color , int style ) { } @ Override public int onAmxRemovePlayerMapIcon ( int playerid , int iconid ) { } @ Override public int onAmxShowPlayerDialog ( int playerid , int dialogid , int style , String caption , String info , String button1 , String button2 ) { } @ Override public int onAmxSetPlayerWorldBounds ( int playerid , float minX , float minY , float maxX , float maxY ) { } @ Override public int onAmxSetPlayerWeather ( int playerid , int weatherid ) { } @ Override public int onAmxSetPlayerCheckpoint ( int playerid , float x , float y , float z , float size ) { } @ Override public int onAmxDisablePlayerCheckpoint ( int playerid ) { } @ Override public int onAmxSetPlayerRaceCheckpoint ( int playerid , int type , float x , float y , float z , float nextX , float nextY , float nextZ , float size ) { } @ Override public int onAmxDisablePlayerRaceCheckpoint ( int playerid ) { } @ Override public int onAmxTogglePlayerSpectating ( int playerid , int toggle ) { } @ Override public int onAmxPlayerSpectatePlayer ( int playerid , int target , int mode ) { } @ Override public int onAmxPlayerSpectateVehicle ( int playerid , int target , int mode ) { } @ Override public int onAmxEnableStuntBonusForPlayer ( int playerid , int toggle ) { } @ Override public int onAmxStartRecording ( int playerid , int type , String recordName ) { } @ Override public int onAmxStopRecording ( int playerid ) { } @ Override public int onAmxToggleControllable ( int playerid , int toggle ) { } @ Override public int onAmxTextDrawCreate ( float x , float y , String text , int id ) { } @ Override public int onAmxTextDrawDestroy ( int id ) { } @ Override public int onAmxTextDrawSetString ( int id , String text ) { } @ Override public int onAmxTextDrawShowForPlayer ( int playerid , int id ) { } @ Override public int onAmxTextDrawHideForPlayer ( int playerid , int id ) { } @ Override public int onAmxTextDrawShowForAll ( int id ) { } @ Override public int onAmxTextDrawHideForAll ( int id ) { } @ Override public int onAmxCreatePlayerTextDraw ( int playerid , float x , float y , String text , int id ) { } @ Override public int onAmxPlayerTextDrawDestroy ( int playerid , int id ) { } @ Override public int onAmxPlayerTextDrawSetString ( int playerid , int id , String text ) { } @ Override public int onAmxPlayerTextDrawShow ( int playerid , int id ) { } @ Override public int onAmxPlayerTextDrawHide ( int playerid , int id ) { } @ Override public int onAmxAddVehicleComponent ( int vehicleid , int componentid ) { } @ Override public int onAmxLinkVehicleToInterior ( int vehicleid , int interiorid ) { } @ Override public int onAmxChangeVehicleColor ( int vehicleid , int color1 , int color2 ) { } @ Override public int [ ] onHookCall ( String name , Object ... objects ) { } @ Override public int onActorStreamIn ( int actor , int playerid ) { } @ Override public int onActorStreamOut ( int actor , int playerid ) { } @ Override public int onPlayerGiveDamageActor ( int playerid , int actor , int amount , int weapon , int bodypart ) { } @ Override public int onVehicleSirenStateChange ( int playerid , int vehicleid , int newstate ) { } @ Override public int onAmxCreateActor ( int id , int modelid , float x , float y , float z , float rotation ) { try { <START_BUG> Actor actor = new ActorImpl ( modelid , new Vector3D ( x , y , z ) , rotation , false , id ) ; <END_BUG> sampObjectStore . setActor ( id , actor ) ; } catch ( Throwable e ) { e . printStackTrace ( ) ; return 0 ; } return 1 ; } @ Override public int onAmxDestroyActor ( int id ) { } public void executeWithoutEvent ( Runnable func ) { } }

Fix:
ActorImpl actor = new ActorImpl ( modelid , new Vector3D ( x , y , z ) , rotation , false , id ) ;