Re: [Neo4j] Oracle suing open source product developers using Java

2010-08-14 Thread Peter Neubauer
Suryadev,
the lawsuit against Google is regarding the implementation of JDK, JRE
and libraries being API - compatible to Java but not attributing and
licensing it with Sun/Oracle Java. It has nothing to do with anything
built on top of the Java specification and clearly stating so, like
any Java application (Neo4j being one).

So, please stop spreading FUD to the Java community about this.

Cheers,

/peter neubauer

COO and Sales, Neo Technology

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Sat, Aug 14, 2010 at 10:03 AM, suryadev vasudev
suryadev.vasu...@gmail.com wrote:
 Hi Neo team,
 Friday the 13th was a bad day for Java lovers. All of us heard today that
 Oracle is suing Google for using Java in Android. This mobile O/S uses Java
 and is open source.
 We all know Google could have used its own operating system. Java provides
 no feature that a smart team of people can't write. Streams, file handling,
 Internet protocols, GUI are not the exclusive domain of Java. All these
 things were done in Assembly, C and C++ languages.
 Neo team also has made the same mistake as Google. You could have used C or
 C** to develop your application.  Are you concerned that Oracle may train
 its gun on you? Neo DB could be a threat to Oracle.
 What are your road maps to move away from Java? or do you think you are
 protected from similar law suits?

 Regards
 Suryadev
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Oracle suing open source product developers using Java

2010-08-14 Thread Arjen van der Meijden
Isn't the Oracle-Google suit against the jvm-like internals of Android, 
rather than the fact that the application developers use Java?

Besides, afaik patents are language independent, so that won't matter 
much anyway. But fortunately, Neo4j isn't an American company, but 
European. Software patents aren't so common in the EU, nor are software 
patent based lawsuits.

Anyway, I think you blow things way out of proportion now. Although I'd 
have to agree that the Oracle-suit is rather silly (they're probably 
hoping to get some piece of the pie by getting a license agreement with 
Google).

Best regards,

Arjen

On 14-8-2010 10:03 suryadev vasudev wrote:
 Hi Neo team,
 Friday the 13th was a bad day for Java lovers. All of us heard today that
 Oracle is suing Google for using Java in Android. This mobile O/S uses Java
 and is open source.
 We all know Google could have used its own operating system. Java provides
 no feature that a smart team of people can't write. Streams, file handling,
 Internet protocols, GUI are not the exclusive domain of Java. All these
 things were done in Assembly, C and C++ languages.
 Neo team also has made the same mistake as Google. You could have used C or
 C** to develop your application.  Are you concerned that Oracle may train
 its gun on you? Neo DB could be a threat to Oracle.
 What are your road maps to move away from Java? or do you think you are
 protected from similar law suits?

 Regards
 Suryadev
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Oracle suing open source product developers usi ng Java

2010-08-14 Thread rick.bullo...@burningskysoftware.com
Precisely, Arjen.   The likely outcome is one of the many cross licensing 
agreements that exist between the big software companies. Phone manufacturers 
who use Java ME have been doing this for a while.

- Reply message -
From: Arjen van der Meijden acmmail...@tweakers.net
Date: Sat, Aug 14, 2010 5:57 am
Subject: [Neo4j] Oracle suing open source product developers using Java
To: user@lists.neo4j.org

Isn't the Oracle-Google suit against the jvm-like internals of Android, 
rather than the fact that the application developers use Java?

Besides, afaik patents are language independent, so that won't matter 
much anyway. But fortunately, Neo4j isn't an American company, but 
European. Software patents aren't so common in the EU, nor are software 
patent based lawsuits.

Anyway, I think you blow things way out of proportion now. Although I'd 
have to agree that the Oracle-suit is rather silly (they're probably 
hoping to get some piece of the pie by getting a license agreement with 
Google).

Best regards,

Arjen

On 14-8-2010 10:03 suryadev vasudev wrote:
 Hi Neo team,
 Friday the 13th was a bad day for Java lovers. All of us heard today that
 Oracle is suing Google for using Java in Android. This mobile O/S uses Java
 and is open source.
 We all know Google could have used its own operating system. Java provides
 no feature that a smart team of people can't write. Streams, file handling,
 Internet protocols, GUI are not the exclusive domain of Java. All these
 things were done in Assembly, C and C++ languages.
 Neo team also has made the same mistake as Google. You could have used C or
 C** to develop your application.  Are you concerned that Oracle may train
 its gun on you? Neo DB could be a threat to Oracle.
 What are your road maps to move away from Java? or do you think you are
 protected from similar law suits?

 Regards
 Suryadev
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Use of LuceneFulltextIndexBatchInserter

2010-08-14 Thread Paddy
I posted a question on MathOverflow
http://mathoverflow.net/questions/35563/best-algorithm-to-use-for-a-bus-train-transport-route-planner
and I emailed the authors of the slides, hopefully we can get some more
insights into the bidirectional A*  or the best algorithm to use.

A lot of research has been done in this field, this describes a A* algorithm
with landmarks:
 : http://www.optimization-online.org/DB_HTML/2008/11/2154.html

Also the  Dijkstra’s Algorithm On-Line: An Empirical Case Study from Public
Railroad Transport paper also looks good

cheers
Paddy

On Fri, Aug 13, 2010 at 10:06 PM, Paddy paddyf...@gmail.com wrote:

 Thanks Peter,
 Sounds good, Yes that would be a great addition to the graph-algo! I would
 love to contribute but I'm not sure where to begin, it looks pretty
 complicated. Also I noticed the ExperimentalAStar in
 org.neo4j.graphalgo.impl.path . What is the difference between AStar.java
 and the ExperimentalAStar.java ?

 found some very interesting slides too regarding a bidirectional A*:

 Bidirectional A* on Time-Dependent Graphs
 http://ctw08.dti.unimi.it/slides/B5/B5-1-Nannicini.pdf

 It describes the European road network as: roughly 18M nodes, 42M arcs.

 and

 A very good implementation of Dijkstra’s algorithm explores on average 9M
 nodes and takes more than 6 seconds
 (european road network): it’s too long!

 


 http://www.cs.princeton.edu/courses/archive/spr06/cos423/Handouts/EPP%20shortest%20path%20algorithms.pdf-
  page 4

 Thanks
 Paddy



 On Fri, Aug 13, 2010 at 2:21 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

 Paddy,
 apart from tweaking the system, we have been thinking about a
 t that would start from both ends and route. Not sure
 how advanced that would be but I think it could come in handy. If you
 have time later on, that might be an interesting place to investigate
 some contribution to the graph-algo package :)

 Overall, the field of routing algos seems to be a very wide one, so I
 think once things are working at your end, there is a whole lot
 regarding better suitable algos taking into account special context
 and constraints that could be done ...

 Cheers,

 /peter neubauer

 COO and Sales, Neo Technology

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org   - Your high performance graph
 database.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Fri, Aug 13, 2010 at 11:14 PM, Paddy paddyf...@gmail.com wrote:
  Hi Peter,
  Nearly there :) I'm going to make a few changes to try increase the
 speed of
  the a*star route finder, as the current graph is 1.2gb with 1million
 nodes
  and 10 million relationships.
  - reducing the database size by only including bus routes between 7am to
 1pm
  on Mondays instead of every bus route for every day
  - configuring the neo4j_config.props for traversal and injecting it in
 the
  spring bean
  - creating less relationships by adding less walking connections between
  stops e.g only add connections for stops within 50m
 
  this will reduce the size of the db and hopefully this will speed up the
  path finding and as it can take 5-10 seconds for long routes with the
  current graph.
  I will let you know
 
  Cheers
  Paddy
 
  On Thu, Aug 12, 2010 at 11:27 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
  Glad you solved it!
 
  Btw, is the site now officially online?
 
  Cheers,
 
  /peter neubauer
 
  COO and Sales, Neo Technology
 
  GTalk:  neubauer.peter
  Skype   peter.neubauer
  Phone   +46 704 106975
  LinkedIn   http://www.linkedin.com/in/neubauer
  Twitter  http://twitter.com/peterneubauer
 
  http://www.neo4j.org   - Your high performance graph
 database.
  http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing
 party.
 
 
 
  On Fri, Aug 13, 2010 at 4:38 AM, Paddy paddyf...@gmail.com wrote:
   Hi,
   so I just needed to use :) :
LuceneFulltextIndexBatchInserter index = new
   LuceneFulltextIndexBatchInserter( inserter );
   Good batch insert example @
  
 
 https://svn.neo4j.org/components/index/trunk/src/test/java/org/neo4j/index/lucene/TestBatchInsert.java
  
   Paddy
  
   On Wed, Aug 11, 2010 at 8:47 PM, Paddy paddyf...@gmail.com wrote:
  
   Hi,
   I would like to use the LuceneFulltextIndexBatchInserter instead of
   the LuceneIndexBatchInserter to allow fulltext lucene indexing.
   How can I initialize the LuceneFulltextIndexBatchInserter ?
   the example on http://wiki.neo4j.org/content/Batch_Insert gives an
  example
   for the LuceneIndexBatchInserter but not
   for LuceneFulltextIndexBatchInserter
  
LuceneIndexBatchInserter indexService = new
  LuceneIndexBatchInserterImpl(
   inserter );
  
   thanks
   Paddy
  
   ___
   Neo4j mailing list
   User@lists.neo4j.org
   

Re: [Neo4j] GSoC work result, Featuring Gephi Neo4j

2010-08-14 Thread Martin Skurla
Hi Andreas,


first problem is something with NetBeans and its Threads. In fact the
Project API usage will be a little bit rewritten, because there are
some minor problems and this maybe will fix this problem too.

Second problems occurs during parsing and from the stack trace it
seems like there is either new type in Neo4j or bug in my code, which
is very strange because all possible Neo4j types were imported from
testing database without problems. I will know more after debug.

Anyway, thanks for response, I will try to solve them as soon as possible.


Thanks,
Martin


2010/8/14 Andreas Guenther andreas.guent...@web.de:
 Thanks for the reply. I actually ended up installing Netbeans and
 started it from within the IDE. When trying to perform a whole import of
 some Neo stores with all default values in the Gephi dialogs I am
 getting the following exception traces. Any ideas what I am doing wrong?
 BTW, I am able to open both stores with Neoclipse without any issues.

 [Test Import 1]
 Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
 Import type: whole import
 Exception: java.lang.IllegalStateException (See details below)

 [Test Import 2]
 Neo store used: Custom data from a Neo 1.0 store
 Import type: whole import
 Exception: java.lang.NullPointerException (See details below)

 -Andreas

 java.lang.IllegalStateException: Problem in some module which uses
 Window System: Window System API is required to be called from AWT
 thread only, see http://core.netbeans.org/proposals/threading/

             at
 org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)

             at
 org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)

             at
 org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)

             at
 org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)

             at
 org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)

             at
 org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)

             at
 org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

             at
 org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

             at
 org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

             at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

             at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

             at java.util.concurrent.FutureTask.run(FutureTask.java:138)

             at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

             at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

 [catch] at java.lang.Thread.run(Thread.java:619)


 



 java.lang.NullPointerException

             at
 org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)

             at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)

             at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)

             at
 org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)

             at
 org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importRelationships(Neo4jImporterImpl.java:178)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:144)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

             at
 org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

             at
 org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

             at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

             at
 

Re: [Neo4j] GSoC work result, Featuring Gephi Neo4j

2010-08-14 Thread Martin Skurla
Hi Andreas,


I just tried to download the database but you provide unvalid link, I
cannot connect to it. Can you please provide valid link?


Cheers,
Martin

2010/8/14 Martin Skurla buja...@gmail.com:
 Hi Andreas,


 first problem is something with NetBeans and its Threads. In fact the
 Project API usage will be a little bit rewritten, because there are
 some minor problems and this maybe will fix this problem too.

 Second problems occurs during parsing and from the stack trace it
 seems like there is either new type in Neo4j or bug in my code, which
 is very strange because all possible Neo4j types were imported from
 testing database without problems. I will know more after debug.

 Anyway, thanks for response, I will try to solve them as soon as possible.


 Thanks,
 Martin


 2010/8/14 Andreas Guenther andreas.guent...@web.de:
 Thanks for the reply. I actually ended up installing Netbeans and
 started it from within the IDE. When trying to perform a whole import of
 some Neo stores with all default values in the Gephi dialogs I am
 getting the following exception traces. Any ideas what I am doing wrong?
 BTW, I am able to open both stores with Neoclipse without any issues.

 [Test Import 1]
 Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
 Import type: whole import
 Exception: java.lang.IllegalStateException (See details below)

 [Test Import 2]
 Neo store used: Custom data from a Neo 1.0 store
 Import type: whole import
 Exception: java.lang.NullPointerException (See details below)

 -Andreas

 java.lang.IllegalStateException: Problem in some module which uses
 Window System: Window System API is required to be called from AWT
 thread only, see http://core.netbeans.org/proposals/threading/

             at
 org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)

             at
 org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)

             at
 org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)

             at
 org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)

             at
 org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)

             at
 org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)

             at
 org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

             at
 org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

             at
 org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

             at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

             at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

             at java.util.concurrent.FutureTask.run(FutureTask.java:138)

             at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

             at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

 [catch] at java.lang.Thread.run(Thread.java:619)


 



 java.lang.NullPointerException

             at
 org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)

             at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)

             at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)

             at
 org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)

             at
 org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importRelationships(Neo4jImporterImpl.java:178)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:144)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

             at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

             at
 org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

             at
 

Re: [Neo4j] ​Neo4j, third party JTA Transaction M anager integration and potential bug.

2010-08-14 Thread Degrassi Francesco

Hi Andreas,

thanks for your hint, i'll look into the chained-transaction strategy as a
fallback option.

 

 I am very curious how you will end up using Neo4j with other transaction
 managers. So far, I haven't seen any concrete example of Database-Neo4j
 JTA/XA transactions in practice other than many claiming it should work ;)




Actually right now, after our hacking, our setup _seems_ to work correctly and
fully, we're writing a couple of integration tests to verify the behaviour in
some corner cases; also I am not sure if there are other aspects I've not
considered.


 

Regards, 

Francesco
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC work result, Featuring Gephi Neo4j

2010-08-14 Thread Martin Skurla
OK, thanks

//Martin

2010/8/14 Andreas Guenther andreas.guent...@web.de:
 The database will be created when you build the neo kernel module using
 Maven. I can send my local version to your personal email address if you
 want me to.

 -Andreas

 On 8/14/2010 1:09 PM, Martin Skurla wrote:
 Hi Andreas,


 I just tried to download the database but you provide unvalid link, I
 cannot connect to it. Can you please provide valid link?


 Cheers,
 Martin

 2010/8/14 Martin Skurlabuja...@gmail.com:

 Hi Andreas,


 first problem is something with NetBeans and its Threads. In fact the
 Project API usage will be a little bit rewritten, because there are
 some minor problems and this maybe will fix this problem too.

 Second problems occurs during parsing and from the stack trace it
 seems like there is either new type in Neo4j or bug in my code, which
 is very strange because all possible Neo4j types were imported from
 testing database without problems. I will know more after debug.

 Anyway, thanks for response, I will try to solve them as soon as possible.


 Thanks,
 Martin


 2010/8/14 Andreas Guentherandreas.guent...@web.de:

 Thanks for the reply. I actually ended up installing Netbeans and
 started it from within the IDE. When trying to perform a whole import of
 some Neo stores with all default values in the Gephi dialogs I am
 getting the following exception traces. Any ideas what I am doing wrong?
 BTW, I am able to open both stores with Neoclipse without any issues.

 [Test Import 1]
 Neo store used: svn.neo4j.org:\components\kernel\trunk\target\neodb
 Import type: whole import
 Exception: java.lang.IllegalStateException (See details below)

 [Test Import 2]
 Neo store used: Custom data from a Neo 1.0 store
 Import type: whole import
 Exception: java.lang.NullPointerException (See details below)

 -Andreas

 java.lang.IllegalStateException: Problem in some module which uses
 Window System: Window System API is required to be called from AWT
 thread only, see http://core.netbeans.org/proposals/threading/

              at
 org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1520)

              at
 org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:253)

              at
 org.gephi.desktop.preview.PreviewTopComponent.findInstance(PreviewTopComponent.java:282)

              at
 org.gephi.desktop.preview.PreviewUIController$1.disable(PreviewUIController.java:69)

              at
 org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:296)

              at
 org.gephi.project.impl.ProjectControllerImpl.closeCurrentProject(ProjectControllerImpl.java:116)

              at
 org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:77)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.createNewProject(Neo4jImporterImpl.java:188)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:135)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:117)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:61)

              at
 org.gephi.desktop.neo4j.Neo4jMenuAction$1$1.run(Neo4jMenuAction.java:100)

              at
 org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)

              at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)

              at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

 [catch] at java.lang.Thread.run(Thread.java:619)


 



 java.lang.NullPointerException

              at
 org.gephi.data.attributes.AttributeFactoryImpl.newValue(AttributeFactoryImpl.java:45)

              at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:97)

              at
 org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:80)

              at
 org.gephi.neo4j.impl.GraphModelConvertor.fillGephiEdgeDataWithNeoRelationshipData(GraphModelConvertor.java:139)

              at
 org.gephi.neo4j.impl.GraphModelConvertor.createGephiEdge(GraphModelConvertor.java:123)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.processRelationship(Neo4jImporterImpl.java:183)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importRelationships(Neo4jImporterImpl.java:178)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:144)

              at
 org.gephi.neo4j.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:123)

 

Re: [Neo4j] ​Neo4j, third party JTA Transaction M anager integration and potential bug.

2010-08-14 Thread Andreas Guenther
Francesco,

That's fantastic to hear. If you don't mind sharing the patch and test 
cases I'd like to re-consider the way we currently integrate giving it 
another try with real JTA/XA.

-Andreas

On 8/14/2010 10:14 AM, Degrassi Francesco wrote:
 Hi Andreas,

 thanks for your hint, i'll look into the chained-transaction strategy as a
 fallback option.




 I am very curious how you will end up using Neo4j with other transaction
 managers. So far, I haven't seen any concrete example of Database-Neo4j
 JTA/XA transactions in practice other than many claiming it should work ;)
  



 Actually right now, after our hacking, our setup _seems_ to work correctly and
 fully, we're writing a couple of integration tests to verify the behaviour in
 some corner cases; also I am not sure if there are other aspects I've not
 considered.


   

 Regards, 

 Francesco
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user


___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user