Jump to content

Question

Posted

Title: ccSensors, owner: null

Version: 3.1.2

OS: win7

Java Version: 7 update 5

Description of Problem:

Somehow when I place a ccSensors sensor controller I can't click set owner, (not as op either), and the owner: field says owner: null. Also, the dots in the corner stay red indicating that something's wrong.

And if I remove a sensor that has been used on the frequeny of the sensor controller it will stay available in the sensor controller to look up.

Error Messages:

Error Log:


 

8 answers to this question

Recommended Posts

  • 0
Posted

I'm having the same issues. In addition, for the Proximity Sensor only two probes seem to work. The Players probe doesn't work (no results, and a stacktrace in the server log) and the other probe that detects living things (I forgot the name and am not on the server right now) does not work either.

If it helps I can try to reproduce the stacktrace I got on the server, feel free to let me know.

[edit]Also, when I rename a sensor, I can only access it by the original name in my CC programs it seems.

I found in another thread that updating my server to Java 7 might fix the NetherOres crash, so I'm going to try that later tonight. Maybe it'll randomly resolve this issue too? ;)

[/edit]

  • 0
Posted

I installed Java 7, which fixed the netherores.. but alas, it didn't magically fix ccSensors :(

Here's the stack trace I get when I run the "console" program, select a proximity sensor, the Players probe and then the only target available (I presume that's me):


19:39:03 [iNFO] [mod_ccSensors] callMethod:3 args[0]:

19:39:04 [iNFO] [mod_ccSensors] callMethod:4 args[2]:

19:39:10 [iNFO] [mod_ccSensors] callMethod:5 args[2]:

19:39:10 [iNFO] targetmod:1

19:39:10 [iNFO] Found entity:EntityPlayer

19:39:10 [iNFO] entity type:EntityPlayerx:-49,y:67,z:384

19:39:12 [iNFO] [mod_ccSensors] callMethod:6 args[2]:

19:39:12 [iNFO] [sETTARGET] alter:EntityPlayer,-49,67,384

19:39:12 [iNFO] null

19:39:12 [sEVERE] java.lang.NullPointerException

19:39:12 [sEVERE]       at ccSensors.shared.SensorTarget.getTargetType(SensorTar

get.java:206)

19:39:12 [sEVERE]       at ccSensors.shared.sensorModules.BaseSensor.setTarget(B

aseSensor.java:399)

19:39:12 [sEVERE]       at ccSensors.shared.TileEntityComputerSensor.setTarget(T

ileEntityComputerSensor.java:82)

19:39:12 [sEVERE]       at ccSensors.shared.TileEntitySensorController.setTarget

(TileEntitySensorController.java:465)

19:39:12 [sEVERE]       at ccSensors.shared.TileEntitySensorController.callMetho

d(TileEntitySensorController.java:673)

19:39:12 [sEVERE]       at dan200.computer.core.Computer$PeripheralWrapper.call(

Computer.java:128)

19:39:12 [sEVERE]       at dan200.computer.core.Computer$46.invoke(Computer.java

:1435)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.VarArgFunction.onInvoke(Unknown Sour

ce)

19:39:12 [sEVERE]       at org.luaj.vm2.TailcallVarargs.eval(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.TailcallVarargs.arg1(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.call(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Sour

ce)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Sour

ce)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.call(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaThread$State.run(Unknown Source)

19:39:12 [sEVERE]       at java.lang.Thread.run(Unknown Source)

19:39:12 [iNFO] [mod_ccSensors] callMethod:9 args[2]:

19:39:12 [iNFO] [mod_ccSensors] callMethod:2 args[1]:

19:39:12 [iNFO] start target:EntityPlayer

19:39:12 [iNFO] null

19:39:12 [sEVERE] java.lang.NullPointerException

19:39:12 [sEVERE]       at ccSensors.shared.SensorTarget.getTargetType(SensorTar

get.java:206)

19:39:12 [sEVERE]       at ccSensors.shared.sensorModules.SensorModule_Proximity

.getReading(SensorModule_Proximity.java:158)

19:39:12 [sEVERE]       at ccSensors.shared.TileEntityComputerSensor.getReading(

TileEntityComputerSensor.java:214)

19:39:12 [sEVERE]       at ccSensors.shared.TileEntitySensorController.getSensor

Reading(TileEntitySensorController.java:421)

19:39:12 [sEVERE]       at ccSensors.shared.TileEntitySensorController.callMetho

d(TileEntitySensorController.java:646)

19:39:12 [sEVERE]       at dan200.computer.core.Computer$PeripheralWrapper.call(

Computer.java:128)

19:39:12 [sEVERE]       at dan200.computer.core.Computer$46.invoke(Computer.java

:1435)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.TailcallVarargs.eval(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Sour

ce)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib.pcall(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.lib.BaseLib$BaseLibV.invoke(Unknown Sour

ce)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.call(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.execute(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.onInvoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaClosure.invoke(Unknown Source)

19:39:12 [sEVERE]       at org.luaj.vm2.LuaThread$State.run(Unknown Source)

19:39:12 [sEVERE]       at java.lang.Thread.run(Unknown Source)

19:39:12 [iNFO] [sENSORS] DEBUG Proximity readings:0

 

  • 0
Posted

I am getting the same error with ccSensors. Whenever a sensor controller is placed it is impossible to set the ownership. Because of that it is impossible to read data off of sensors. Anyone have this working on tekkit SMP?

  • 0
Posted

I've gotten the exact same java error as above.

I've tried to rename the placed sensor, but it never seems to "take". Clicking on the Sensor Controller shows more sensors than I have deployed, including ones I have taken down. When I run /ccSensors/console on a Computer, the only available sensor is the one called Sensor, even though I've renamed the sensor, and verified it's renamed by looking at the sensor again.

The SetOwner button is grayed out on the Sensor Controller.

am sometimes able to see information in /ccSensors/console such as reactor inventory. Sometimes it shows blank. My sensor has the IC2 card in it.

Edit: I just read through all the pages of discussion here:

http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/

Sounds like there's a known bug with the SMP version of ccSensors not working correctly/all sensors being named Sensor etc. It's possibly been fixed in the pr2 maybe... but there's no bukket port of that version, as the user Cloudy is still waiting on updated source code from the author yoskaz01, who appears to have been last active on that site on Aug 2nd. So those of us trying to use ccSensors on SMP may be SOL.

  • 0
Posted

I'm also having the above problems. Hopefully someone fixes it, it would be nice to have more than one sensor working, be able to take ownership and to rename sensors.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...