Article - CS306969

After upgrade error "Unable to read primitive value from stream : Premature end of file." is seen on startup of ThingWorx Platform

Modified: 16-Dec-2021   


Applies To

  • ThingWorx Platform 7.3 to 9.5

Description

  • Cannot start ThingWorx Platform following upgrade
  • Premature end of of file error is seen on startup of ThingWorx Platform
  • Upgrade of ThingWorx Platform fails
  • Following errors are seen in the ThingWorx ApplicationLog.log file on startup:
    • [DATE_TIME] [L: ERROR] [O: c.t.p.p.PostgresPropertyExceptionTranslator] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Unable to read primitive value from stream : Premature end of file.]
      [DATE_TIME] [L: ERROR] [O: c.t.t.Thing] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Failed to load properties for Thing (THING_NAME) from default property provider
      [DATE_TIME] [L: ERROR] [O: c.t.p.p.PostgresPropertyExceptionTranslator] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Could not create a transaction for ThingworxPersistenceProvider]
      [DATE_TIME] [L: ERROR] [O: c.t.s.m.BaseManager] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Unable to persisted migrated passwords in collection [Things] : Could not create a transaction for ThingworxPersistenceProvider
      [DATE_TIME] [L: ERROR] [O: c.t.p.p.PostgresModelExceptionTranslator] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Could not create a transaction for ThingworxPersistenceProvider]
      [DATE_TIME] [L: ERROR] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Could not create a transaction for ThingworxPersistenceProvider]
      [DATE_TIME] [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: Unable to initialize and start system: Could not create a transaction for ThingworxPersistenceProvider]
      [DATE_TIME] [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: Could not create a transaction for ThingworxPersistenceProvider
      [DATE_TIME] [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** Web Application STATE is being set to ERROR! ***
This is a printer-friendly version of Article 306969 and may be out of date. For the latest version click CS306969