db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » Exceptions   (RSS)
Showing page 1 of 2 (13 total posts)
  • Re: NPE when starting Defrag

    Hi, I had some time this week to look into the problem again, and I have managed to find what has caused the problem, or at least found a way to fix it for me... When I create the configuration, I call cfg.freespace().useRamSystem(); (just because I read that it would improve commit performance, and I expect my software to have many commits). ...
    Posted to db4o User Forum (Forum) by Peter Schübel on November 14, 2008
  • Re: NPE when starting Defrag

    Hi Graham and Carl, Thanks for your help so far. I now removed all the code that used the ObjectContainer and its Configuration object. I also rewrote my stored objects so that they now store time in a java.util.Date instead of Calendar. Still, I get an error, immediately after the defrag method is called:SEVERE: Failed to defragment db4o file: ...
    Posted to db4o User Forum (Forum) by Peter Schübel on October 22, 2008
  • NPE when starting Defrag

     Hi, I tried using the db4o defrag functionality on my database file, but sadly it failed. I can't make any sense from the exception. My log file looks like this: 06-Oct-2008 18:07:18 tvadb.database.Db4oFileDefrag openDatabaseINFO: Getting default db4o Configuration...06-Oct-2008 18:07:18 tvadb.database.Db4oFileDefrag openDatabaseINFO: ...
    Posted to db4o User Forum (Forum) by Peter Schübel on October 6, 2008
  • DatabaseReadOnlyException when querying remote database

    Hi, I've been evaluating db4o for a client-server environment for the last few weeks. I've been running into a few problems, but could solve most of them using the tutorial, the db4o reference or by looking up in the forum. But I now have an issue that may or may not be a bug, so I thought I'd ask directly for some advice. Of course it could very ...
    Posted to db4o User Forum (Forum) by Peter Schübel on September 2, 2008
  • What permissions does db4o need in policy file?

    I tried it with  permission java.util.PropertyPermission ''java.fullversion'', ''read''; permission java.io.FilePermission ''/path/to/database/*'', ''read, write'';  but then I get a DatabaseFileLockedException with permission java.security.AllPermission; it works of course... 
    Posted to db4o User Forum (Forum) by elkmann on April 11, 2008
  • DatabaseClosedException

    Hi  I regulary get this exception:Db4objects.Db4o.DatabaseClosedException was unhandled  Message=''Une exception de type 'Db4objects.Db4o.DatabaseClosedException' a été levée.''  Source=''Db4objects.Db4o''  StackTrace:       à ...
    Posted to db4o User Forum (Forum) by Promeneur on November 18, 2007
  • Re: Capturar otras exepciones en com.db4o.Db4o.openFile()

    Mmm... ahí no puedo opinar mucho, pero db4o hasta donde sé, es novedad que empieze a tirar excepciones, antes se las tragaba. Pero la excepción la debería arrojar. Podrias postear el codigo donde catch'eas la excepcion ? Probá primero capturando una Db4oException y luego otro catch con una excepción de tipo ...
    Posted to Spanish (Forum) by uooopaa on September 26, 2007
  • Re: How to get reason for ObjectNotStorableException?

    Ok, managed to solve this. A property in the stored class contained a raft of non-persistent objects (java.util.Date etc) and was not set to transient, causing the exception.
    Posted to db4o User Forum (Forum) by LanceB on August 24, 2007
  • How to get reason for ObjectNotStorableException?

    Hi I'm facing a problem where an object is sporadically not storable. Occasionally, I get this stack trace when calling ObjectContainer.set: com.db4o.ext.ObjectNotStorableException: java.lang.Object@1d7089e    at com.db4o.internal.ClassMetadata.forObject(Unknown Source)    at ...
    Posted to db4o User Forum (Forum) by LanceB on August 23, 2007
  • Re: IllegalStateException: I thought an ObjectContainer is thread-save

    Hi Maik, The test case I provided works well in embedded mode, but in a c/s configuration the exceptions are thrown. I filed the bug under http://tracker.db4o.com/browse/COR-767.  Cheers, Andreas 
    Posted to db4o User Forum (Forum) by Poison on August 13, 2007
1 2 Next >