Skip to content

Instantly share code, notes, and snippets.

View febintt's full-sized avatar

Febin T T febintt

  • Algotree
  • Kochin
View GitHub Profile
@febintt
febintt / .scriptsog-examples.sh_debug
Created June 25, 2012 11:24
./scripts/og-examples.sh debug command screen messages.
com.opengamma.OpenGammaRuntimeException: Failed to init component factory: 'viewDefinitionRepository' with {factory=com.opengamma.component.factory.source.UserFinancialViewDefinitionRepositoryComponentFactory, classifier=combined, underlyingClassifier=shared, underlyingConfigMaster=::central, userClassifier=user}
at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:318)
at com.opengamma.component.ComponentManager.init(ComponentManager.java:278)
at com.opengamma.component.ComponentManager.loadIni(ComponentManager.java:251)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:202)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:199)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:199)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:184
algotree10@algotree10-Inspiron-N5030:~/Dev-OpenGamma/OG-Platform/projects/OG-Examples$ ./scripts/og-examples.sh debug
Starting og-examples
com.opengamma.OpenGammaRuntimeException: Failed to init component factory: 'viewDefinitionRepository' with {factory=com.opengamma.component.factory.source.UserFinancialViewDefinitionRepositoryComponentFactory, classifier=combined, underlyingClassifier=shared, underlyingConfigMaster=::central, userClassifier=user}
at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:318)
at com.opengamma.component.ComponentManager.init(ComponentManager.java:278)
at com.opengamma.component.ComponentManager.loadIni(ComponentManager.java:251)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:202)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:199)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
algotree10@algotree10-Inspiron-N5030:~/Dev-OpenGamma/OG-Platform/projects/OG-BloombergExample$ ant init-database Buildfile: /home/algotree10/Dev-OpenGamma/OG-Platform/projects/OG-BloombergExample/build.xml
clean-lib:
[delete] Deleting directory /home/algotree10/Dev-OpenGamma/OG-Platform/projects/OG-BloombergExample/lib
download-ivy:
taskdef-ivy:
load-ivy:
[java] --- Initializing bbgMarketDataServer ---
[java] Using factory com.opengamma.bloombergexample.component.ExampleBloombergDataServerComponentFactory
[java] ======== OPENGAMMA STARTUP FAILED ========
[java] com.opengamma.OpenGammaRuntimeException: Failed to init component factory: 'bbgMarketDataServer' with {factory=com.opengamma.bloombergexample.component.ExampleBloombergDataServerComponentFactory, springFile=classpath:fullstack/fullstack-bloombergexample-dataserver-spring.xml, propertiesFile=MANAGER.PROPERTIES}
[java] at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:318)
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.initComponent(OpenGammaComponentServer.java:281)
[java] at com.opengamma.component.ComponentManager.init(ComponentManager.java:278)
[java] at com.opengamma.component.ComponentManager.loadIni(ComponentManager.java:251)
[java] at com.opengamma.component.OpenGammaComponentServer$Verbo
algotree10@algotree10-Inspiron-N5030:~/Dev-OpenGamma/OG-Platform/projects/OG-BloombergExample$ ant init-database
Buildfile: /home/algotree10/Dev-OpenGamma/OG-Platform/projects/OG-BloombergExample/build.xml
clean-lib:
[delete] Deleting directory /home/algotree10/Dev-OpenGamma/OG-Platform/projects/OG-BloombergExample/lib
download-ivy:
taskdef-ivy:
@febintt
febintt / gist:4248905
Created December 10, 2012 06:51
EquitySecurity update error
Exception in thread "main" java.lang.NullPointerException: Server threw exception: com.opengamma.util.map.HashDeepMap2.remove(HashDeepMap2.java:118) com.opengamma.core.AbstractEHCachingSource.cleanCaches(AbstractEHCachingSource.java:306) com.opengamma.core.AbstractEHCachingSource$2.entityChanged(AbstractEHCachingSource.java:129)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.opengamma.util.rest.ExceptionThrowingClientFilter.handle(ExceptionThrowingClientFilter.java:72)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:568)
<#include "modules/common/og.common.header.ftl">
<title>OpenGamma</title>
${ogStyle.print('og_all.css', 'all',false)}
</head>
<body>
<div class="OG-js-loading" style="padding: 10px">Loading...</div>
<div class="OG-layout-admin-container">
<div class="ui-layout-center">
<div class="OG-layout-admin-details-center">
<div class="ui-layout-header">&nbsp;TEXT!</div>
@febintt
febintt / OGFunction
Created December 11, 2013 12:54
sample og function.
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.algotree.function;
import java.util.Collections;
import java.util.Set;
@febintt
febintt / saveFunctionDefinition
Created December 11, 2013 12:58
OG function definition save code.
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.algotree.function;
import java.util.List;
import com.opengamma.engine.function.config.AbstractFunctionConfigurationBean;
@febintt
febintt / ExampleFunctionConfigurationPopulator
Created December 11, 2013 13:04
added a line in ExampleFunctionConfigurationPopulator
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.examples.simulated.loader;
import java.util.Collections;
import com.google.common.collect.ImmutableList;