org.obiba.magma.NoSuchDatasourceException: No datasource exists with the specified name 'opal-data'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Philippe Laflamme, 1 year ago
No datasource exists with the specified name 'opal-data'
via JIRA by Philippe Laflamme, 1 year ago
No datasource exists with the specified name 'opal-data'
org.obiba.magma.NoSuchDatasourceException: No datasource exists with the specified name 'opal-data'
at org.obiba.magma.MagmaEngine.getDatasource(MagmaEngine.java:100)
at org.obiba.magma.support.MagmaEngineTableResolver.resolveTable(MagmaEngineTableResolver.java:22)
at org.obiba.magma.support.ValueTableReference.getWrappedValueTable(ValueTableReference.java:57)
at org.obiba.magma.support.AbstractValueTableWrapper.getDatasource(AbstractValueTableWrapper.java:22)
at org.obiba.magma.xstream.converter.ViewConverter.marshallValueTableReference(ViewConverter.java:131)
at org.obiba.magma.xstream.converter.ViewConverter.marshallFromTable(ViewConverter.java:125)
at org.obiba.magma.xstream.converter.ViewConverter.marshal(ViewConverter.java:41)
at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45)
at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:56)
at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:837)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:826)
at org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.writeViews(OpalViewPersistenceStrategy.java:72)
at org.obiba.opal.core.runtime.upgrade.ViewsUpgrade_1_4_0.execute(ViewsUpgrade_1_4_0.java:85)
at org.obiba.runtime.upgrade.support.DefaultUpgradeManager.executeUpgrade(DefaultUpgradeManager.java:104)
at org.obiba.opal.server.UpgradeCommand.execute(UpgradeCommand.java:37)
at org.obiba.opal.server.OpalServer.(OpalServer.java:33)
at org.obiba.opal.server.OpalServer.main(OpalServer.java:82)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.