You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating our model to include a blob for large binary data in mongo and mariadb it is not possible to load the model in the polystore, the typhon-polystore-service application fails just after retrieving the polystore conf from mongo, with the error below.
If we replace the addModels.js with the one previously generated WITHOUT the blob and we just re-create the containsers with
docker-compose down -v
docker-compose up polystore-mongo
docker-compose up typhon-polystore-service
then it works.
is there something wrong in our model?
find attached:
the model which works along with its .js, WITHOUT the blob. NOTE: the JS was generated with an older version of the plugins
the model WITHOUT the blob and the JS generated with the new plugin. it does not work, it produces the same error as the one with the blob (below)
the model WITH the blob, generated with the new plugins, and the log of the polystore service when it is started
"_old_JS" means the JS was generated with older plugins"
"_new_JS" meand the JS was generated with current pluging:
Query Evolution 0.1.0.202012011519
Typhon ML 1.0.0.202010150957
TyphonDL 1.0.0.202012021120
TyphonQL IDE not installed (is it needed?)
typhon docker images pulled yesterday
typhon-polystore-service_1 | 8564 [main] INFO org.mongodb.driver.connection - Closed connection [connectionId{localValue:2, serverValue:3}] to polystore-mongo:27017 because the pool has been closed.
typhon-polystore-service_1 | Dec 21, 2020 9:15:49 AM org.apache.catalina.core.StandardService stopInternal
typhon-polystore-service_1 | INFO: Stopping service [Tomcat]
typhon-polystore-service_1 | 8617 [main] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener -
typhon-polystore-service_1 |
typhon-polystore-service_1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
typhon-polystore-service_1 | 8622 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
typhon-polystore-service_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainController': Invocation of init method failed; nested exception is java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
The text was updated successfully, but these errors were encountered:
typhon-polystore-service_1 | Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
typhon-polystore-service_1 | at com.clms.typhonapi.utils.ServiceRegistry.parseDbElement(ServiceRegistry.java:211)
After updating our model to include a blob for large binary data in mongo and mariadb it is not possible to load the model in the polystore, the typhon-polystore-service application fails just after retrieving the polystore conf from mongo, with the error below.
If we replace the addModels.js with the one previously generated WITHOUT the blob and we just re-create the containsers with
docker-compose down -v
docker-compose up polystore-mongo
docker-compose up typhon-polystore-service
then it works.
is there something wrong in our model?
find attached:
the model which works along with its .js, WITHOUT the blob. NOTE: the JS was generated with an older version of the plugins
the model WITHOUT the blob and the JS generated with the new plugin. it does not work, it produces the same error as the one with the blob (below)
the model WITH the blob, generated with the new plugins, and the log of the polystore service when it is started
attached file:
models_and_logs_v2.zip
"_old_JS" means the JS was generated with older plugins"
"_new_JS" meand the JS was generated with current pluging:
TyphonQL IDE not installed (is it needed?)
typhon docker images pulled yesterday
typhon-polystore-service_1 | 8564 [main] INFO org.mongodb.driver.connection - Closed connection [connectionId{localValue:2, serverValue:3}] to polystore-mongo:27017 because the pool has been closed.
typhon-polystore-service_1 | Dec 21, 2020 9:15:49 AM org.apache.catalina.core.StandardService stopInternal
typhon-polystore-service_1 | INFO: Stopping service [Tomcat]
typhon-polystore-service_1 | 8617 [main] INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener -
typhon-polystore-service_1 |
typhon-polystore-service_1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
typhon-polystore-service_1 | 8622 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
typhon-polystore-service_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainController': Invocation of init method failed; nested exception is java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
The text was updated successfully, but these errors were encountered: