Author Topic: Java enum values not shown in autolist of an enum  (Read 1581 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Java enum values not shown in autolist of an enum
« on: December 21, 2019, 08:19:32 PM »
Look for analyzer_issues.7z on support.

See "ISSUE B" in the README file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: Java enum values not shown in autolist of an enum
« Reply #1 on: December 22, 2019, 01:37:35 AM »
I can't seem to find where "CellType" is defined. I searched your source and didn't find it. Search the JDK 11.0.5 source and didn't find it there either.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: Java enum values not shown in autolist of an enum
« Reply #2 on: December 22, 2019, 04:05:31 AM »
CellType is in one of the dependencies pulled in by Gradle, not in my source or the JDK 11.0.5.

I think you may need to use Build->Gradle Options to pull it down. Be careful though, Build->Gradle Options overwrites the vpj file so you need to put back the old vpj file after you do that (Patrick has an upcoming fix for that vpj overwriting issue - https://community.slickedit.com/index.php/topic,17345.0.html).

On my machine it is at: C:\Users\Rob\.gradle\caches\modules-2\files-2.1\org.apache.poi\poi\4.1.1\45d063946e80a2d08a209bebc7d87c7ad8d6d2cb\poi-4.1.1-sources.jar\org\apache\poi\ss\usermodel\CellType.java

From the build.gradle, it is from one of these 2:

Code: [Select]
    // https://mvnrepository.com/artifact/org.apache.poi/poi
    implementation group: 'org.apache.poi', name: 'poi', version: '4.1.1'

    // https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml
    implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.1'


Dennis

  • Senior Community Member
  • Posts: 3954
  • Hero Points: 515
Re: Java enum values not shown in autolist of an enum
« Reply #3 on: April 09, 2021, 10:48:53 PM »
Reproduced.  Looks like our Java enum parsing is failing to get the enumerators in that class.  Will fix for 25.0.2.

Thanks again for your patience on these gray old bugs.