Hi Maris,
We are trying to use sequoia with firebird 2.0.3. I have one
controller with 3 database backends and and it fails with NPE.
Everything works if I use only one backend (any of them).
Wow, this one for sure is unusual. This is likely to be due to some
non-compliancy in your driver implementation.
Anyway, you need to file a new JIRA entry for this bug.
Are you using the same database version for each database backend?
Are you using the exact same database driver for each backend?
I will prepare a patch for this one, this is an easy fix.
Thanks for your feedback,
Emmanuel
18:18:27,345 WARN controller.virtualdatabase.firescream Virtual
database firescream failed to enable database backend legion2 from
checkpoint (because of : java.lang.NullPointerException)
java.lang.NullPointerException
at
org.continuent.sequoia.common.sql.metadata.MetadataContainer.isCompatible(MetadataContainer.java:81)
at
org.continuent.sequoia.controller.virtualdatabase.VirtualDatabaseStaticMetaData.gatherStaticMetadata(VirtualDatabaseStaticMetaDa
ta.java:74)
at
org.continuent.sequoia.controller.virtualdatabase.VirtualDatabase.enableBackendFromCheckpoint(VirtualDatabase.java:1740)
at
org.continuent.sequoia.controller.virtualdatabase.VirtualDatabase.forceEnableAllBackendsFromCheckpoint(VirtualDatabase.java:1972
)
at
org.continuent.sequoia.controller.core.Controller.addVirtualDatabase(Controller.java:302)
at
org.continuent.sequoia.controller.xml.DatabasesParser.endElement(DatabasesParser.java:717)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at
org.continuent.sequoia.controller.xml.DatabasesParser.readXML(DatabasesParser.java:294)
at
org.continuent.sequoia.controller.xml.DatabasesParser.readXML(DatabasesParser.java:343)
at
org.continuent.sequoia.controller.core.Controller.addVirtualDatabases(Controller.java:222)
at
org.continuent.sequoia.controller.core.Controller.loadXmlConfiguration(Controller.java:555)
at
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpVirtualDatabase(ControllerConfiguration.java:446)
at
org.continuent.sequoia.controller.xml.ControllerParser.configureVirtualDatabase(ControllerParser.java:645)
at
org.continuent.sequoia.controller.xml.ControllerParser.startElement(ControllerParser.java:325)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1488)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:127)
at
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:177)
at
org.continuent.sequoia.controller.xml.ControllerParser.readXML(ControllerParser.java:206)
at
org.continuent.sequoia.controller.core.ControllerConfiguration.setUpByXml(ControllerConfiguration.java:277)
at
org.continuent.sequoia.controller.core.ControllerConfiguration.setup(ControllerConfiguration.java:327)
at
org.continuent.sequoia.controller.core.ControllerConfiguration.getController(ControllerConfiguration.java:353)
at
org.continuent.sequoia.controller.core.Controller.main(Controller.java:745)
**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the
addressee only and may be confidential. If they come to you in error
you must take no action based on them, nor must you copy or show them
to anyone. Please advise the sender by replying to this e-mail
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of
the author and unless specifically stated to the contrary, are not
necessarily those of the author’s employer.
Security Warning : Internet e-mail is not necessarily a secure
communications medium and can be subject to data corruption. We advise
that you consider this fact when e-mailing us.
Viruses : We have taken steps to ensure that this e-mail and any
attachments are free from known viruses but in keeping with good
computing practice, you should ensure that they are virus free.
Inspired Gaming (UK) Limited
Registered in England No 3565640
Registered Office 3 The Maltings Wetmore Road, Burton On Trent,
Staffordshire DE14 1SE
_______________________________________________________________
This message has been checked for all known viruses by the MessageLabs
Virus Control Centre.
------------------------------------------------------------------------
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia
--
Emmanuel Cecchet - Research scientist
EPFL - LABOS/DSLAB - IN.N 317
Phone: +41-21-693-7558
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia