Hi Andrey, I am seeing the same issue in orientdb 1.6.3.
Has this issue been fixed in this version? Thanks, Kishy On Thursday, October 10, 2013 6:57:08 AM UTC-7, Andrey Lomakin wrote: > > Hi, > It seems sonatype has dependencies cache so you have about 2 days delay > between CI build and snapshots avalabity. > > > On Thu, Oct 10, 2013 at 4:40 PM, Sid <[email protected] <javascript:>> > wrote: > >> I had the same problem and solved it by using the snapshot from today ( >> https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-graphed/1.6.0-SNAPSHOT/orientdb-graphed-1.6.0-20131010.101041-45-distribution.zip >> ). >> >> best regards >> Sid >> >> Am Mittwoch, 9. Oktober 2013 13:52:42 UTC+2 schrieb Melissa Mifsud: >>> >>> This seems to be resolved now. Thanks Andrey. >>> >>> >>> On Thu, Oct 3, 2013 at 2:29 AM, Andrey Lomakin <[email protected]> >>> wrote: >>> >>>> No, >>>> You should not. >>>> >>>> >>>> On Wed, Oct 2, 2013 at 7:51 AM, Melissa Mifsud <[email protected]> >>>> wrote: >>>> >>>>> Yes I will do so :) >>>>> >>>>> This is a good one since the same code works on a previous build and >>>>> not in builds after it. So it is a good problem to detect and resolve. >>>>> >>>>> I wanted to ask you: >>>>> >>>>> In plocal mode, do I need to bother with: >>>>> >>>>> OGlobalConfiguration.TX_LOG_SYNCH >>>>> OGlobalConfiguration.TX_COMMIT_SYNCH >>>>> >>>>> >>>>> On Wed, Oct 2, 2013 at 2:15 PM, Andrey Lomakin <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi Melissa, >>>>>> Your Exceptions usually are hardest to detect :-). >>>>>> >>>>>> If this issue is permanent could you write test so we can reproduce >>>>>> it ? >>>>>> >>>>>> >>>>>> On Wed, Oct 2, 2013 at 4:51 AM, Melissa Mifsud < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Also, I have been unable to suppress WARNING level logs. I have >>>>>>> tried: >>>>>>> >>>>>>> >>>>>>> - System.setProperty("log.console.level", "SEVERE"); >>>>>>> - OGlobalConfiguration.LOG_CONSOLE_LEVEL.setValue("SEVERE"); >>>>>>> >>>>>>> >>>>>>> And both don't work. >>>>>>> >>>>>>> >>>>>>> On Wed, Oct 2, 2013 at 11:39 AM, Melissa Mifsud < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> I have managed to get my application using plocal based on the >>>>>>>> build from 5th September. >>>>>>>> >>>>>>>> I will continue using this build for now and concentrate on >>>>>>>> finding out why I get the >>>>>>>> WARNING: Found record in transaction with the same RID #15:131173 >>>>>>>> but different instance. Probably the record has been loaded from >>>>>>>> another >>>>>>>> transaction and reused on the current one: reload it from current >>>>>>>> transaction before to update or delete it >>>>>>>> message. >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Oct 2, 2013 at 10:40 AM, Melissa Mifsud < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Andrey, >>>>>>>>> >>>>>>>>> I am still getting this error with the very latest build. >>>>>>>>> >>>>>>>>> I initially switched to plocal on the build that I have been using >>>>>>>>> from 5th September. But I was getting a problem with the WAL restore >>>>>>>>> because it seems that the database did nut shutdown. Please note that >>>>>>>>> I >>>>>>>>> have not made any changes to my code base (except from the changing >>>>>>>>> the db >>>>>>>>> URL from local to plocal). I started from a fresh db (I did not >>>>>>>>> import from >>>>>>>>> local). >>>>>>>>> >>>>>>>>> Has something changed to the close procedure when using plocal? I >>>>>>>>> have a shutdown hook that shuts the database pool. I am using a >>>>>>>>> custom pool >>>>>>>>> (not the global one) since with the global one it is not possible to >>>>>>>>> change >>>>>>>>> the db pool size for OObjectDatabase. The shutdown procedure just >>>>>>>>> calls >>>>>>>>> pool.close(). >>>>>>>>> >>>>>>>>> >>>>>>>>> So then I switched to the newest build using plocal and creating a >>>>>>>>> new database. And got the NPE: >>>>>>>>> com.orientechnologies.orient.core.exception.OStorageException: >>>>>>>>> Error during transaction commit. >>>>>>>>> at com.orientechnologies.orient.core.storage.impl.local. >>>>>>>>> paginated.OLocalPaginatedStorage.commit( >>>>>>>>> OLocalPaginatedStorage.java:1416) >>>>>>>>> at com.orientechnologies.orient.core.tx. >>>>>>>>> OTransactionOptimistic.commit(OTransactionOptimistic.java:154) >>>>>>>>> at com.orientechnologies.orient.core.db.record. >>>>>>>>> ODatabaseRecordTx.commit(ODatabaseRecordTx.java:115) >>>>>>>>> at com.orientechnologies.orient.object.db.OObjectDatabaseTx. >>>>>>>>> commit(OObjectDatabaseTx.java:574) >>>>>>>>> ....[my code]... >>>>>>>>> Caused by: java.lang.NullPointerException >>>>>>>>> at com.orientechnologies.orient.core.tx. >>>>>>>>> OTransactionOptimistic$2.run(OTransactionOptimistic.java:145) >>>>>>>>> at com.orientechnologies.orient.core.storage.impl.local. >>>>>>>>> paginated.OLocalPaginatedStorage.commit( >>>>>>>>> OLocalPaginatedStorage.java:1402) >>>>>>>>> ... 8 more >>>>>>>>> >>>>>>>>> >>>>>>>>> I switched back to local on the same build (the latest one) and I >>>>>>>>> still get the same problem. >>>>>>>>> >>>>>>>>> So so far I still have not managed to switch to plocal! >>>>>>>>> >>>>>>>>> Melissa >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Sep 27, 2013 at 5:16 PM, Andrey Lomakin < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Hi Melissa, >>>>>>>>>> I uploaded latest version could you try it ? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Sep 26, 2013 at 5:14 PM, Melissa Mifsud < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> I managed to revert to the older 1.6.0 deployment (from 5th >>>>>>>>>>> Sept) and it works fine. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Thu, Sep 26, 2013 at 11:58 PM, Melissa Mifsud < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> I don't have those sources it seems. I'll wait until the new >>>>>>>>>>>> deploy then. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Sep 26, 2013 at 11:56 PM, Andrey Lomakin < >>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Sep 26, 2013 at 4:51 PM, Melissa Mifsud < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> 145 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> This line (in bold) can not be null >>>>>>>>>>>>> >>>>>>>>>>>>> final Map<String, OIndex> indexes = new HashMap<String, >>>>>>>>>>>>> OIndex>(); >>>>>>>>>>>>> if (involvedIndexes != null) { >>>>>>>>>>>>> for (String indexName : involvedIndexes) { >>>>>>>>>>>>> final OIndex<?> index = database.getMetadata(). >>>>>>>>>>>>> getIndexManager().getIndexInternal(indexName); >>>>>>>>>>>>> indexes.put(indexName.toLowerCase(), index); >>>>>>>>>>>>> } >>>>>>>>>>>>> } >>>>>>>>>>>>> >>>>>>>>>>>>> final Runnable callback = new Runnable() { >>>>>>>>>>>>> @Override >>>>>>>>>>>>> public void run() { >>>>>>>>>>>>> final ODocument indexEntries = >>>>>>>>>>>>> getIndexChanges(); >>>>>>>>>>>>> if (indexEntries != null) { >>>>>>>>>>>>> for (Entry<String, Object> indexEntry : >>>>>>>>>>>>> indexEntries) { >>>>>>>>>>>>> *final OIndex<?> index = >>>>>>>>>>>>> indexes.get(indexEntry.getKey().toLowerCase());* *//line 145* >>>>>>>>>>>>> >>>>>>>>>>>>> if (index == null) { >>>>>>>>>>>>> OLogManager.instance().error(this, >>>>>>>>>>>>> "Index with name " + indexEntry.getKey() + " was not found."); >>>>>>>>>>>>> throw new OIndexException("Index with >>>>>>>>>>>>> name " + indexEntry.getKey() + " was not found."); >>>>>>>>>>>>> } else >>>>>>>>>>>>> index.commit((ODocument) >>>>>>>>>>>>> indexEntry.getValue()); >>>>>>>>>>>>> } >>>>>>>>>>>>> } >>>>>>>>>>>>> } >>>>>>>>>>>>> }; >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> I will redeploy maven snapshot. >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Best regards, >>>>>>>>>>>>> Andrey Lomakin. >>>>>>>>>>>>> >>>>>>>>>>>>> Orient Technologies >>>>>>>>>>>>> the Company behind OrientDB >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> >>>>>>>>>>>>> --- >>>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>>> Google Groups "OrientDB" group. >>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>>> it, send an email to [email protected]. >>>>>>>>>>>>> >>>>>>>>>>>>> For more options, visit https://groups.google.com/ >>>>>>>>>>>>> groups/opt_out. >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------ >>>>>>>>>>>> *Melissa Anne Mifsud* >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> ------------------------------ >>>>>>>>>>> *Melissa Anne Mifsud* >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> --- >>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>> Google Groups "OrientDB" group. >>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>> it, send an email to [email protected]. >>>>>>>>>>> >>>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out >>>>>>>>>>> . >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Best regards, >>>>>>>>>> Andrey Lomakin. >>>>>>>>>> >>>>>>>>>> Orient Technologies >>>>>>>>>> the Company behind OrientDB >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> --- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "OrientDB" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>>> send an email to [email protected]. >>>>>>>>>> >>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> ------------------------------ >>>>>>>>> *Melissa Anne Mifsud* >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> ------------------------------ >>>>>>>> *Melissa Anne Mifsud* >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> ------------------------------ >>>>>>> *Melissa Anne Mifsud* >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "OrientDB" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> >>>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Best regards, >>>>>> Andrey Lomakin. >>>>>> >>>>>> Orient Technologies >>>>>> the Company behind OrientDB >>>>>> >>>>>> -- >>>>>> >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "OrientDB" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> >>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> ------------------------------ >>>>> *Melissa Anne Mifsud* >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OrientDB" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> Andrey Lomakin. >>>> >>>> Orient Technologies >>>> the Company behind OrientDB >>>> >>>> -- >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "OrientDB" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> >>> ------------------------------ >>> *Melissa Anne Mifsud* >>> >>> >>> >>> >>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Best regards, > Andrey Lomakin. > > Orient Technologies > the Company behind OrientDB > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
