2016-04-17 17 views
-4

この例外は何を意味しますか? JDBCを使ってクエリを実行しようとすると、私はそれを取得し続けます。この例外(java.lang.ArrayIndexOutOfBoundsException)は何を意味しますか?

java.lang.ArrayIndexOutOfBoundsException: 252 
at com.orientechnologies.common.serialization.types.OLongSerializer.deserializeLiteral(OLongSerializer.java:69) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.readLong(ORecordSerializerBinaryV0.java:788) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.readSingleValue(ORecordSerializerBinaryV0.java:307) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.deserialize(ORecordSerializerBinaryV0.java:195) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.fromStream(ORecordSerializerBinary.java:74) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.record.impl.ODocument.deserializeFields(ODocument.java:1817) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.record.impl.ODocument.checkForFields(ODocument.java:2416) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.core.record.impl.ODocument.fieldNames(ODocument.java:736) ~[orientdb-core-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.jdbc.OrientJdbcResultSet.<init>(OrientJdbcResultSet.java:59) ~[orientdb-jdbc-2.1.11.jar:2.1.11] 
at com.orientechnologies.orient.jdbc.OrientJdbcPreparedStatement.executeQuery(OrientJdbcPreparedStatement.java:70) ~[orientdb-jdbc-2.1.11.jar:2.1.11] 
at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:688) ~[spring-jdbc-4.2.4.RELEASE.jar:4.2.4.RELEASE] 
at 
+2

これは、配列インデックスが範囲外であることを意味します。 –

+1

https://docs.oracle.com/javase/7/docs/api/java/lang/ArrayIndexOutOfBoundsException.html –

答えて

-1

これは、データベースが破損していることを意味します。 orientdbコンソールからrepair databaseコマンドを使用して修復してください。

0

存在しない配列インデックスを呼び出そうとしています。

例えば、 3つの値の配列があり、4番目の値を呼び出す場合

関連する問題