About error

forum_thread

ODB with Netbeans

ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, with attributes like this: @Entity class A { public String name; } I get compile time errors "Instance variable for persistent attribute must not be public" How does one switch that off in Netbeans? #1 2010-11-22 07:40 ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, w ...

 
issue

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_01 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF with extended Persistence Context? Test mini web app at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29.tgz ... ( "project2" ) ; // This is where the error is thrown log_info ( $i, "created project 2 }" ) ; } The error is thrown on the attempt to use the buildProject(String name) method a ...

 
issue

Sometimes the ObjectDB throws an internal expeption if a persist() was executed

[ObjectDB 2.6.6_08] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.OBM.bE(OBM.java:395) at com.objectdb.o.OBM.bE(OBM.java:269) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:442) ... [ObjectDB 2.6.6_08] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new ... 07:16 It is an error which is sporadically (not reproducible) occurred in our test suite. ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... with path [ ] threw exception [ Error processing webservice request ] with root cause [ ObjectDB 2.5.5 ] Unexpected exception ( Error 990 ) Generated by Java HotSpot ( TM ) Client ...

 
issue

Internal Exception and Index Problems

Dear Support Team, we have an urgent issue in a productive database. The objectdb doctor finds no error but one string field of one database item is not editable (even not using the objectdb explorer). The corrupt entry is in entity "UserModelData" with id="7d29d5eb-69a6-4d46-9bf1-802cbb6e439b". Try to change the userName attribute of this entry then the following error occurs: ... in a productive database. The objectdb doctor finds no error but one string field of one database item is not editable (even not using ... the userName attribute of this entry then the following error occurs: Unexpected exception (Error 990) Generated by Java ...

 
forum_thread

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath , so what is missing or how to recognize what is wrong with that class ?? thanks in advance b ... I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath , ... after commenting out that line  I got next laconic error, probably MullPointerException is raised from that line, NPE has message ...

 
forum_thread

Activation key causes database to not start

We had ObjectDB version 2.5.7_06, then we bought a server license, then we activated it today. We get an error when trying to start ObjectDB after adding activation in objectdb.conf. We initially thought it's because it was an old version, so we upgraded to 2.6.5_04, but without success. We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log we get when trying to start ObjectDB with the license. What is to be done? Thank you. :) ... license, then we activated it today. We get an error when trying to start ObjectDB after adding activation in objectdb.conf. ... you. :) [ObjectDB 2.6.5_04] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Server VM 1.8.0_25 (on ...

 
forum_thread

WebSphere Liberty Configuration

Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been able to get the sample app running in TomCat but when I run the jee version of the guestbook in WebSphere I get a combination of errors depending on how I tweak the configuration the most promising error I get is this one: ... on how I tweak the configuration the most promising error I get is this one: Caused by: javax.naming.NamingException: ... not supported by JNDI operations on java:comp/env names. [ERROR ] SRVE0315E: An exception occurred: java.lang.Throwable: ... in the classpath? If you have other error messages (from other configurations) please post them. ...

 
release

2.7.1

... corruption ( issue #288 ). Improved error messages on entity operation exceptions. Fixed a ... and TreeMap fields. Fixed Explorer to show error message on non existing referenced objects. Fixed a bug in ...

 
forum_thread

Problem to use find method on an abstract Class: AbstractMethodError is thrown

Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) In my db there are objects of type SentenceStatement which inherit from type LogicalObject  When I use find method mentioning SentenceStatement everything works just fine but when I use this method mentioning LogicalObject I get AbstractMethodError Please see services.Tester class with the 2 options for a better ease    this is the stack trace when I try to find LogicalObject: ... 27, -101, -10, 21, -89, 14, 97]} in cache 08:17:32,897 ERROR [org.jboss.ejb3.invocation] (http-localhost-127.0.0.1-8080-1) JBAS014134: ... javax.ejb.EJBException: Unexpected Error at ... 39 more 08:17:32,919 ERROR ... threw exception: javax.ejb.EJBException: Unexpected Error at ...