I am currently working on 2 PK-Sim projects for simulation and doing several parameterized identification for its simulations. But recently all of my projects can not be opened by PK-Sim anymore.
The error is mentioned as "File is not a database" or "database disk image is malformed" although I've tried to re-download the PK-Sim 11.2 newest application with its database input.
I tried to build one model from the beginning and I also could not do parameterized identification for the simulation I made and further steps after re-downloading the app.
Please help and let me know how to fix the problem.
I would be very appreciate your help.
Thank you so much and have a nice day!
Application:
PK-Sim® 11.2.142
could not initialize a collection: [PKSim.Infrastructure.Serialization.ORM.MetaData.ProjectMetaData.BuildingBlocks#1][SQL: SELECT buildingbl0_.ProjectId as projectid9_02, buildingbl0_.Id as id1_02, buildingbl0_.Id as id1_01, buildingbl0_.Name as name2_01, buildingbl0_.Description as description3_01, buildingbl0_.Icon as icon4_01, buildingbl0_.Version as version5_01, buildingbl0_.StructureVersion as structureversion6_01, buildingbl0_.ContentId as contentid7_01, buildingbl0_.PropertiesId as propertiesid8_01, buildingbl05.FormulationType as formulationtype2_51, buildingbl06.ExpressionProfileIds as expressionprofileids2_61, buildingbl07.ExpressionProfileIds as expressionprofileids2_71, buildingbl09.ProtocolMode as protocolmode2_91, buildingbl010.ExpressionProfileIds as expressionprofileids2_101, buildingbl011.SimulationMode as simulationmode2_111, buildingbl011.DataRepositoryId as datarepositoryid3_111, buildingbl011.SimulationResultsId as simulationresultsid4_111, buildingbl011.SimulationAnalysesId as simulationanalysesid5_111, case when buildingbl01.CompoundId is not null then 1 when buildingbl02.EventId is not null then 2 when buildingbl03.EventProtocolId is not null then 3 when buildingbl04.ExpressionProfileId is not null then 4 when buildingbl05.FormulationId is not null then 5 when buildingbl06.PopulationId is not null then 6 when buildingbl07.IndividualId is not null then 7 when buildingbl08.ObserverSetId is not null then 8 when buildingbl09.ProtocolId is not null then 9 when buildingbl010.PopulationId is not null then 10 when buildingbl011.SimulationId is not null then 11 when buildingbl0_.Id is not null then 0 end as clazz1, metadataco1_.Id as id1_190, metadataco1_.Data as data2_190 FROM BUILDINGBLOCKS buildingbl0 left outer join COMPOUNDS buildingbl01 on buildingbl0_.Id=buildingbl01.CompoundId left outer join EVENTS buildingbl02 on buildingbl0_.Id=buildingbl02.EventId left outer join EVENT_PROTOCOLS buildingbl03 on buildingbl0_.Id=buildingbl03.EventProtocolId left outer join EXPRESSION_PROFILES buildingbl04 on buildingbl0_.Id=buildingbl04.ExpressionProfileId left outer join FORMULATIONS buildingbl05 on buildingbl0_.Id=buildingbl05.FormulationId left outer join IMPORT_POPULATIONS buildingbl06 on buildingbl0_.Id=buildingbl06.PopulationId left outer join INDIVIDUALS buildingbl07 on buildingbl0_.Id=buildingbl07.IndividualId left outer join OBSERVER_SETS buildingbl08 on buildingbl0_.Id=buildingbl08.ObserverSetId left outer join PROTOCOLS buildingbl09 on buildingbl0_.Id=buildingbl09.ProtocolId left outer join RANDOM_POPULATIONS buildingbl010 on buildingbl0_.Id=buildingbl010.PopulationId left outer join SIMULATIONS buildingbl011 on buildingbl0_.Id=buildingbl011.SimulationId left outer join CONTENTS metadataco1 on buildingbl0.PropertiesId=metadataco1.Id WHERE buildingbl0.ProjectId=?]
database disk image is malformed
database disk image is malformed
Stack trace:
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(DbCommand cmd)
at NHibernate.Loader.Loader.GetResultSet(DbCommand st, QueryParameters queryParameters, ISessionImplementor session, IResultTransformer forcedResultTransformer)
at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer)
at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer)
at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type)
--- End of inner exception stack trace ---
at NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type)
at NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event)
at NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing)
at NHibernate.Collection.AbstractPersistentCollection.ForceInitialization()
at NHibernate.Engine.StatefulPersistenceContext.InitializeNonLazyCollections()
at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer)
at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters, IResultTransformer forcedResultTransformer)
at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
at NHibernate.Impl.CriteriaImpl.List(IList results)
at NHibernate.Impl.CriteriaImpl.List[T]()
at PKSim.Infrastructure.Serialization.ProjectPersistor.projectFromDatabase(ISession session)
at PKSim.Infrastructure.Serialization.ProjectPersistor.Load(ISession session)
at PKSim.Infrastructure.Serialization.WorkspacePersistor.LoadSession(ICoreWorkspace workspace, String fileFullPath)
at PKSim.Infrastructure.Workspace.<>c__DisplayClass17_0.<OpenProject>b__0()
at PKSim.Infrastructure.Workspace.LoadProject(Action projectLoadAction)
at PKSim.Infrastructure.Workspace.OpenProject(String fileFullPath)
at PKSim.Presentation.Services.ProjectTask.<>c__DisplayClass32_0.<openProjectFromFile>g__openProject|0()
at PKSim.Presentation.Services.ProjectTask.openProjectFromFile(String projectFile, Boolean shouldStartWorker)
at PKSim.Presentation.Services.ProjectTask.Run(StartOptions startOptions)
at PKSim.Presentation.Presenters.Main.PKSimMainViewPresenter.Run()
at PKSim.UI.Views.Shell.<OnLoad>b__4_0()
at OSPSuite.Utility.Extensions.ExceptionExtensions.DoWithinExceptionHandler(Object callerObject, Action actionToExecute)
Hi, I am Carrot,
I am currently working on 2 PK-Sim projects for simulation and doing several parameterized identification for its simulations. But recently all of my projects can not be opened by PK-Sim anymore.
The error is mentioned as "File is not a database" or "database disk image is malformed" although I've tried to re-download the PK-Sim 11.2 newest application with its database input.
I tried to build one model from the beginning and I also could not do parameterized identification for the simulation I made and further steps after re-downloading the app.
Please help and let me know how to fix the problem.
I would be very appreciate your help.
Thank you so much and have a nice day!
Application: PK-Sim® 11.2.142
could not initialize a collection: [PKSim.Infrastructure.Serialization.ORM.MetaData.ProjectMetaData.BuildingBlocks#1][SQL: SELECT buildingbl0_.ProjectId as projectid9_02, buildingbl0_.Id as id1_02, buildingbl0_.Id as id1_01, buildingbl0_.Name as name2_01, buildingbl0_.Description as description3_01, buildingbl0_.Icon as icon4_01, buildingbl0_.Version as version5_01, buildingbl0_.StructureVersion as structureversion6_01, buildingbl0_.ContentId as contentid7_01, buildingbl0_.PropertiesId as propertiesid8_01, buildingbl05.FormulationType as formulationtype2_51, buildingbl06.ExpressionProfileIds as expressionprofileids2_61, buildingbl07.ExpressionProfileIds as expressionprofileids2_71, buildingbl09.ProtocolMode as protocolmode2_91, buildingbl010.ExpressionProfileIds as expressionprofileids2_101, buildingbl011.SimulationMode as simulationmode2_111, buildingbl011.DataRepositoryId as datarepositoryid3_111, buildingbl011.SimulationResultsId as simulationresultsid4_111, buildingbl011.SimulationAnalysesId as simulationanalysesid5_111, case when buildingbl01.CompoundId is not null then 1 when buildingbl02.EventId is not null then 2 when buildingbl03.EventProtocolId is not null then 3 when buildingbl04.ExpressionProfileId is not null then 4 when buildingbl05.FormulationId is not null then 5 when buildingbl06.PopulationId is not null then 6 when buildingbl07.IndividualId is not null then 7 when buildingbl08.ObserverSetId is not null then 8 when buildingbl09.ProtocolId is not null then 9 when buildingbl010.PopulationId is not null then 10 when buildingbl011.SimulationId is not null then 11 when buildingbl0_.Id is not null then 0 end as clazz1, metadataco1_.Id as id1_190, metadataco1_.Data as data2_190 FROM BUILDINGBLOCKS buildingbl0 left outer join COMPOUNDS buildingbl01 on buildingbl0_.Id=buildingbl01.CompoundId left outer join EVENTS buildingbl02 on buildingbl0_.Id=buildingbl02.EventId left outer join EVENT_PROTOCOLS buildingbl03 on buildingbl0_.Id=buildingbl03.EventProtocolId left outer join EXPRESSION_PROFILES buildingbl04 on buildingbl0_.Id=buildingbl04.ExpressionProfileId left outer join FORMULATIONS buildingbl05 on buildingbl0_.Id=buildingbl05.FormulationId left outer join IMPORT_POPULATIONS buildingbl06 on buildingbl0_.Id=buildingbl06.PopulationId left outer join INDIVIDUALS buildingbl07 on buildingbl0_.Id=buildingbl07.IndividualId left outer join OBSERVER_SETS buildingbl08 on buildingbl0_.Id=buildingbl08.ObserverSetId left outer join PROTOCOLS buildingbl09 on buildingbl0_.Id=buildingbl09.ProtocolId left outer join RANDOM_POPULATIONS buildingbl010 on buildingbl0_.Id=buildingbl010.PopulationId left outer join SIMULATIONS buildingbl011 on buildingbl0_.Id=buildingbl011.SimulationId left outer join CONTENTS metadataco1 on buildingbl0.PropertiesId=metadataco1.Id WHERE buildingbl0.ProjectId=?]
database disk image is malformed database disk image is malformed
Stack trace: