You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/01/16 18:16:38 UTC

[GitHub] [hbase] bharathv commented on issue #1052: HBASE-23695 Fail gracefully if no category is present

bharathv commented on issue #1052: HBASE-23695 Fail gracefully if no category is present
URL: https://github.com/apache/hbase/pull/1052#issuecomment-575278747
 
 
   @ndimiduk / @joshelser  Think there is another similar bug lurking around in HBaseClassTestRule. Tried it out of curiosity and here is the full stack trace. (see the underlying stack..)
   
   ```
   java.lang.ExceptionInInitializerError
   	at sun.misc.Unsafe.ensureClassInitialized(Native Method)
   	at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
   	at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:156)
   	at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
   	at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
   	at java.lang.reflect.Field.get(Field.java:393)
   	at org.junit.runners.model.FrameworkField.get(FrameworkField.java:88)
   	at org.junit.runners.model.TestClass.collectAnnotatedFieldValues(TestClass.java:249)
   	at org.junit.runners.ParentRunner.classRules(ParentRunner.java:280)
   	at org.junit.runners.ParentRunner.withClassRules(ParentRunner.java:268)
   	at org.junit.runners.ParentRunner.classBlock(ParentRunner.java:217)
   	at org.junit.runners.ParentRunner.run(ParentRunner.java:412)
   	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
   	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
   	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
   	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
   	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
   Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
   	at org.apache.hadoop.hbase.HBaseClassTestRule.getTimeoutInSeconds(HBaseClassTestRule.java:62)
   	at org.apache.hadoop.hbase.HBaseClassTestRule.forClass(HBaseClassTestRule.java:77)
   	at org.apache.hadoop.hbase.TestTableName.<clinit>(TestTableName.java:44)
   	... 17 more
   
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services