geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Lund <kl...@apache.org>
Subject Re: Error running category tests due to RawLuceneRepositoryManagerJUnitTest
Date Fri, 16 Jun 2017 22:34:44 GMT
Or something like this for "Project compiler output" so that IntelliJ isn't
defaulting to overwriting the same class files as command-line gradle is:

File -> Project Structure -> Project -> Project compiler output:
/Users/klund/dev/geode/build-intellij/classes

Having IntelliJ output classes to "build" didn't work well for me.

On Fri, Jun 16, 2017 at 3:31 PM, Kirk Lund <klund@apache.org> wrote:

> I haven't seen this exact problem, but I've seen weird behavior if the
> command-line gradle build terminated before completing. I suggest
> completing a clean build on the command-line, then restart IntelliJ and
> maybe also edit Project Structure to tell IntelliJ to output classes to a
> different location than the gradle build:
>
> File -> Project Structure -> Project -> Project compiler
> output: /Users/klund/dev/gemfire/closed/build-intellij/classes (or
> whatever works for you)
>
> And then rebuild:
>
> Build -> Rebuild Project
>
> On Fri, Jun 16, 2017 at 2:03 PM, Bruce Schuchardt <bschuchardt@pivotal.io>
> wrote:
>
>> Has anyone else seen this in IntelliJ?
>>
>>
>> Exception in thread "main" java.lang.VerifyError: Bad type on operand
>> stack
>> Exception Details:
>>   Location:
>> org/apache/geode/cache/lucene/internal/RawLuceneRepositoryMa
>> nagerJUnitTest.createIndexAndRepoManager()V @7: putstatic
>>   Reason:
>>     Type 'org/apache/geode/cache/lucene/internal/LuceneRawIndexFactory'
>> (current frame, stack[0]) is not assignable to
>> 'org/apache/geode/cache/lucene/internal/LuceneIndexImplFactory'
>>   Current Frame:
>>     bci: @7
>>     flags: { }
>>     locals: { 'org/apache/geode/cache/lucene
>> /internal/RawLuceneRepositoryManagerJUnitTest' }
>>     stack: { 'org/apache/geode/cache/lucene/internal/LuceneRawIndexFactory'
>> }
>>   Bytecode:
>>     0x0000000: bb00 1b59 b700 1cb3 001d 2a12 1eb8 0008
>>     0x0000010: c000 1eb5 001f 2a12 20b8 0008 c000 21b5
>>     0x0000020: 0022 2ab4 0022 b600 23b8 000d 2ab4 001f
>>     0x0000030: b900 0e02 0057 2ab4 0022 b600 24b8 000d
>>     0x0000040: bb00 2559 b700 26b9 000e 0200 572a b400
>>     0x0000050: 22b6 0027 b800 0d2a b400 06b9 000e 0200
>>     0x0000060: 572a b400 22b6 0028 b800 0d12 0fb9 000e
>>     0x0000070: 0200 572a b400 22b6 0029 b800 2ab8 000d
>>     0x0000080: 04b8 002a b900 0e02 0057 2abb 0019 592a
>>     0x0000090: b400 222a b400 16b7 002b b500 182a b400
>>     0x00000a0: 18b6 002c 2ab4 0018 b600 2db1
>>
>>     at java.lang.Class.getDeclaredMethods0(Native Method)
>>     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>>     at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
>>     at java.lang.Class.getMethod0(Class.java:3018)
>>     at java.lang.Class.getMethod(Class.java:1784)
>>     at org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMetho
>> d(SuiteMethodBuilder.java:18)
>>     at com.intellij.junit4.JUnit46ClassesRequestBuilder.collectWrap
>> pedRunners(JUnit46ClassesRequestBuilder.java:79)
>>     at com.intellij.junit4.JUnit46ClassesRequestBuilder.getClassesR
>> equest(JUnit46ClassesRequestBuilder.java:51)
>>     at com.intellij.junit4.JUnit4TestRunnerUtil.buildRequest(JUnit4
>> TestRunnerUtil.java:87)
>>     at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs
>> (JUnit4IdeaTestRunner.java:46)
>>     at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.star
>> tRunnerWithArgs(IdeaTestRunner.java:51)
>>     at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsA
>> ndStart(JUnitStarter.java:242)
>>     at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStart
>> er.java:70)
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message