java.lang.NullPointerException

Google Groups | green | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Serialization issues with AWS Java SDK 1.10.62

    GitHub | 1 year ago | jpbu
    java.lang.IllegalArgumentException: Invalid ASCII encoding offset: 654
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    IllegalStateException: Operation cannot be executed because the enclosing transaction is closed

    Google Groups | 2 years ago | Li Li
    java.lang.IllegalStateException: Operation cannot be executed because the enclosing transaction is closed
  4. 0

    kryo related problem breaks query

    GitHub | 3 years ago | cfcodefans
    com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 54 Serialization trace: value (com.thinkaurelius.titan.graphdb.types.TypeAttribute)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.thinkaurelius.titan.graphdb.database.EdgeSerializer.parseRelation()
    2. Titan-Core: Core Library for Titan
      LimitAdjustingIterator.next
      1. com.thinkaurelius.titan.graphdb.database.EdgeSerializer.parseRelation(EdgeSerializer.java:116)
      2. com.thinkaurelius.titan.graphdb.database.EdgeSerializer.readRelation(EdgeSerializer.java:60)
      3. com.thinkaurelius.titan.graphdb.transaction.RelationConstructor.readRelation(RelationConstructor.java:61)
      4. com.thinkaurelius.titan.graphdb.transaction.RelationConstructor$1$1.next(RelationConstructor.java:46)
      5. com.thinkaurelius.titan.graphdb.transaction.RelationConstructor$1$1.next(RelationConstructor.java:34)
      6. com.thinkaurelius.titan.graphdb.query.LimitAdjustingIterator.next(LimitAdjustingIterator.java:80)
      6 frames
    3. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.Iterators$7.computeNext(Iterators.java:651)
      2. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
      3. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
      3 frames
    4. Titan-Core: Core Library for Titan
      AbstractVertex.properties
      1. com.thinkaurelius.titan.graphdb.query.ResultMergeSortIterator.nextInternal(ResultMergeSortIterator.java:59)
      2. com.thinkaurelius.titan.graphdb.query.ResultMergeSortIterator.next(ResultMergeSortIterator.java:49)
      3. com.thinkaurelius.titan.graphdb.query.ResultSetIterator.nextInternal(ResultSetIterator.java:41)
      4. com.thinkaurelius.titan.graphdb.query.ResultSetIterator.<init>(ResultSetIterator.java:30)
      5. com.thinkaurelius.titan.graphdb.query.QueryProcessor.iterator(QueryProcessor.java:57)
      6. com.thinkaurelius.titan.graphdb.vertices.AbstractVertex.properties(AbstractVertex.java:160)
      6 frames
    5. org.apache.tinkerpop
      Console$_closure3.doCall
      1. org.apache.tinkerpop.gremlin.structure.util.ElementHelper.vertexPropertyValueMap(ElementHelper.java:500)
      2. org.apache.tinkerpop.gremlin.process.traversal.step.map.PropertyMapStep.map(PropertyMapStep.java:54)
      3. org.apache.tinkerpop.gremlin.process.traversal.step.map.PropertyMapStep.map(PropertyMapStep.java:36)
      4. org.apache.tinkerpop.gremlin.process.traversal.step.map.MapStep.processNextStart(MapStep.java:37)
      5. org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:140)
      6. org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.hasNext(DefaultTraversal.java:117)
      7. org.apache.tinkerpop.gremlin.console.Console$_closure3.doCall(Console.groovy:205)
      7 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    7. Groovy
      InteractiveShellRunner.super$2$work
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
      5. org.codehaus.groovy.tools.shell.Groovysh.setLastResult(Groovysh.groovy:441)
      6. org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:185)
      7. org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:119)
      8. org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:94)
      9. org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy)
      9 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    9. Groovy
      InteractiveShellRunner.super$2$run
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130)
      5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:150)
      6. org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:123)
      7. org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:58)
      8. org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy)
      8 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
      4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130)
      5. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:150)
      6. org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:82)
      7. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
      7 frames
    12. org.apache.tinkerpop
      Console.<init>
      1. org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:144)
      1 frame
    13. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
      1 frame
    14. org.apache.tinkerpop
      Console.main
      1. org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:303)
      1 frame