Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1414

Sequencing VDB project causes NullPointerException

    Details

      Description

      Sequencing a project that contains a model with a model annotation on the model itself (not sure when this happens in the Designer) may cause a NullPointerException:

      2012-03-05 14:49:31,124 ERROR [org.modeshape.repository.sequencer.SequencingService (modeshape-1-thread-9) Problem(s) while sequencer Teiid VDB Sequencer is sequencing node default=></{}files/{}oracle_func/{}func.vdb/{http://www.jcp.org/jcr/1.0}content && [{http://www.modeshape.org/1.0}uuid = 2ee08b6a-54a9-4efb-8833-6a71ab437c25]>
      2012-03-05 14:49:33,061 ERROR [org.modeshape.repository.sequencer.SequencingService] (modeshape-1-thread-9) Error reading VDB file "/files/oracle_func/func.vdb/jcr:content": null
      2012-03-05 14:49:33,795 ERROR [org.modeshape.repository.sequencer.SequencingService] (modeshape-1-thread-10) Error while sequencer Teiid Model Sequencer is sequencing node default=></{}files/{}oracle_func/{}oraclev.xmi/{http://www.jcp.org/jcr/1.0}content && [{http://www.modeshape.org/1.0}uuid = eb45d45a-a977-49ec-ac53-00b31627b4a4]>
      org.modeshape.repository.sequencer.SequencerException: java.lang.NullPointerException
      	at org.modeshape.repository.sequencer.StreamSequencerAdapter.execute(StreamSequencerAdapter.java:198)
      	at org.modeshape.repository.sequencer.SequencingService.processChange(SequencingService.java:498)
      	at org.modeshape.repository.sequencer.SequencingService$RepositoryObserver$1.run(SequencingService.java:666)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(UnknownSource)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(UnknownSource)
      	at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException
      	at org.modeshape.sequencer.teiid.XmiGraphReader.references(XmiGraphReader.java:459)
      	at org.modeshape.sequencer.teiid.XmiModelReader$AnnotationHandler.process(XmiModelReader.java:723)
      	at org.modeshape.sequencer.teiid.XmiModelReader.processObject(XmiModelReader.java:373)
      	at org.modeshape.sequencer.teiid.XmiModelReader.writePhase1(XmiModelReader.java:227)
      	at org.modeshape.sequencer.teiid.XmiModelReader.write(XmiModelReader.java:186)
      	at org.modeshape.sequencer.teiid.ModelSequencer.sequence(ModelSequencer.java:149)
      	at org.modeshape.repository.sequencer.StreamSequencerAdapter.execute(StreamSequencerAdapter.java:180)
      	... 5 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  rhauch Randall Hauch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: