Serious error

9 years 10 months ago #61 by PupazzoGnappo
Serious error was created by PupazzoGnappo
Today afternoon i just tested some new types of nodes and everything worked fine.
i shutdown my server and my raspy successfully and that's it.

Now i started my raspy again and noticed that the server is not reachable ( like is not connected to the internet but it is ). So i went to the console and tried to launch EasyIoT.exe anually with " sudo mono"

Here's the console response :
2015-01-11T02:19:25.0100700+01:00       INFO    System                         System started
Eror LoadModules:'LastUpdateTime' is expected  Line 117, position 60.  at Mono.Xml2.XmlTextReader.Expect (System.String expected) [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadEndTag () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlReader.ReadString () [0x00000] in <filename unknown>:0
  at System.Xml.XmlTextReader.ReadString () [0x00000] in <filename unknown>:0
  at System.Xml.XmlReader.ReadElementString () [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadPrimitiveValue (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readBySoapOrder) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadListElement (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, System.Object list, Boolean canCreateInstance) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readBySoapOrder) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadListElement (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, System.Object list, Boolean canCreateInstance) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <filename unknown>:0
11-01-2015-02-19-29 Web service started

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at EasyIoT.EasyIoTService..ctor () [0x00000] in <filename unknown>:0
  at EasyIoT.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at EasyIoT.EasyIoTService..ctor () [0x00000] in <filename unknown>:0
  at EasyIoT.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

i'm totally freezed....

Contact me at : This email address is being protected from spambots. You need JavaScript enabled to view it.
Plain is smart. Smart is plain

Please Log in or Create an account to join the conversation.

9 years 10 months ago #63 by EasyIoT
Replied by EasyIoT on topic Serious error

PupazzoGnappo wrote: Today afternoon i just tested some new types of nodes and everything worked fine.
i shutdown my server and my raspy successfully and that's it.

Now i started my raspy again and noticed that the server is not reachable ( like is not connected to the internet but it is ). So i went to the console and tried to launch EasyIoT.exe anually with " sudo mono"

Here's the console response :

2015-01-11T02:19:25.0100700+01:00       INFO    System                         System started
Eror LoadModules:'LastUpdateTime' is expected  Line 117, position 60.  at Mono.Xml2.XmlTextReader.Expect (System.String expected) [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadEndTag () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
  at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
  at System.Xml.XmlReader.ReadString () [0x00000] in <filename unknown>:0
  at System.Xml.XmlTextReader.ReadString () [0x00000] in <filename unknown>:0
  at System.Xml.XmlReader.ReadElementString () [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadPrimitiveValue (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readBySoapOrder) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadListElement (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, System.Object list, Boolean canCreateInstance) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readBySoapOrder) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadListElement (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, System.Object list, Boolean canCreateInstance) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <filename unknown>:0
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <filename unknown>:0
11-01-2015-02-19-29 Web service started

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at EasyIoT.EasyIoTService..ctor () [0x00000] in <filename unknown>:0
  at EasyIoT.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at EasyIoT.EasyIoTService..ctor () [0x00000] in <filename unknown>:0
  at EasyIoT.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

i'm totally freezed....


Looks like something is wrong with config files. All configurations are stored in config folder in xml files. Can you send me your config folder to admin (at) iot-playground.com? I will inspect your configuration.
Quick solution would be to create new config files, but you will lose your configuration.

Please Log in or Create an account to join the conversation.

9 years 10 months ago #66 by PupazzoGnappo
Replied by PupazzoGnappo on topic Serious error

admin wrote:
Looks like something is wrong with config files. All configurations are stored in config folder in xml files. Can you send me your config folder to admin (at) iot-playground.com? I will inspect your configuration.
Quick solution would be to create new config files, but you will lose your configuration.


Ok, i'm going to send you the folder as soon as possible. I really appreciate your help

Contact me at : This email address is being protected from spambots. You need JavaScript enabled to view it.
Plain is smart. Smart is plain

Please Log in or Create an account to join the conversation.

9 years 10 months ago #67 by EasyIoT
Replied by EasyIoT on topic Serious error

PupazzoGnappo wrote:

admin wrote:
Looks like something is wrong with config files. All configurations are stored in config folder in xml files. Can you send me your config folder to admin (at) iot-playground.com? I will inspect your configuration.
Quick solution would be to create new config files, but you will lose your configuration.


Ok, i'm going to send you the folder as soon as possible. I really appreciate your help


I've checked your configuration. File modules.xml is not complete. How did you shut down Rasspbery Pi? It's recommended to shutdown EasyIoT server in web interface Configure->General settings->shutdown server and then properly shutdown Raspberr Pi:sudo shutdown -h now
It looks like EasyIoT server was incorrectly shutdown in middle of writing configuration file and that's why part of file is missing.

Please Log in or Create an account to join the conversation.

9 years 10 months ago #68 by PupazzoGnappo
Replied by PupazzoGnappo on topic Serious error
I've shutdown the raspberry with sudo shutdown -h now and then unplugged power after the signal on the screen was gone. I didn't shutdown the server from web interface ( never done that since i'm using EasyIoT) . Maybe that was the probem and till now i've just been lucky. From now i will always shutdown the server from web interface and i'll update this topic if the problem occurs again also with the safe procedure. Thank you for your support

Contact me at : This email address is being protected from spambots. You need JavaScript enabled to view it.
Plain is smart. Smart is plain

Please Log in or Create an account to join the conversation.

9 years 10 months ago #69 by EasyIoT
Replied by EasyIoT on topic Serious error

PupazzoGnappo wrote: I've shutdown the raspberry with sudo shutdown -h now and then unplugged power after the signal on the screen was gone. I didn't shutdown the server from web interface ( never done that since i'm using EasyIoT) . Maybe that was the probem and till now i've just been lucky. From now i will always shutdown the server from web interface and i'll update this topic if the problem occurs again also with the safe procedure. Thank you for your support


I recommend you to make backup of config files before making big changes in configuration. I always properly shutdown server and I never need it, but you never know...

Please Log in or Create an account to join the conversation.

Time to create page: 0.444 seconds

Forum latest

  • No posts to display.