ccPoiToolsExt icon

ccPoiToolsExt

POI Tools
ccPoiToolsExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 3 watchers.


v3.1.3
Christopher Hartley4th Apr 2022

Hi John!

I've started to test our pods against 3.1.3, and found this error after installing ccPoiTools and ccPoiToolsExt. I can't find any mention of "Cannot reflect lib:" errors in the SkyFoundry forum. All available SkySpark 3.1.3 patches have been installed (4 as of the writing of this post), running on a Windows 10 machine, and Java version (shown below). Let me know if you need anything else to help support troubleshooting!

java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
[2022-04-04 11:13:49] <defc> {} [err] Cannot reflect lib: ccPoiTools [ccPoiToolsExt::PoiToolsExt]
  sys::Err: Load from [ccPoiToolsExt] com.crowleycarbon.poi.POIReader
    fan.sys.Env.loadJavaType (Env.java:306)
    fan.sys.Pod.type (Pod.java:602)
    fan.sys.ClassType.map (ClassType.java:439)
    fan.sys.ClassType.doReflect (ClassType.java:326)
    fan.sys.ClassType.reflect (ClassType.java:282)
    fan.sys.ClassType.methods (ClassType.java:97)
    defc::Reflect.reflectMethods (Reflect.fan:121)
    defc::Reflect.reflectInput (Reflect.fan:45)
    defc::Reflect.reflectLib (Reflect.fan:33)
    fan.sys.List.each (List.java:604)
    defc::Reflect.reflectLib (Reflect.fan:31)
    defc::Reflect.run (Reflect.fan:23)
    fan.sys.Func$Indirect1.call (Func.java:145)
    fan.sys.Map.each (Map.java:383)
    defc::DefCompilerStep.eachLib (DefCompilerStep.fan:34)
    defc::Reflect.run (Reflect.fan:20)
    defc::DefCompiler.run (DefCompiler.fan:174)
    fan.sys.List.each (List.java:604)
    defc::DefCompiler.run (DefCompiler.fan:172)
    defc::DefCompiler.runBackend (DefCompiler.fan:160)
    defc::DefCompiler.compileNamespace (DefCompiler.fan:76)
    skyarcd::Sys.recompileInstalledNamespace (Sys.fan:224)
    skyarcd::Sys.reload (Sys.fan:215)
    installMod::InstallPipeline.finish (InstallPipeline.fan:262)
    installMod::InstallPipeline.install (InstallPipeline.fan:50)
    5 More...
  Cause:
    sys::Err: java.lang.ClassNotFoundException: com.crowleycarbon.poi.POIReader
      java.net.URLClassLoader.findClass (URLClassLoader.java:445)
      fan.sys.FanClassLoader.findClass (FanClassLoader.java:109)
      java.lang.ClassLoader.loadClass (ClassLoader.java:587)
      java.lang.ClassLoader.loadClass (ClassLoader.java:520)
      fan.sys.Env.nameToClass (Env.java:353)
      fan.sys.Env.loadJavaType (Env.java:299)
      fan.sys.Pod.type (Pod.java:602)
      fan.sys.ClassType.map (ClassType.java:439)
      fan.sys.ClassType.doReflect (ClassType.java:326)
      fan.sys.ClassType.reflect (ClassType.java:282)
      fan.sys.ClassType.methods (ClassType.java:97)
      defc::Reflect.reflectMethods (Reflect.fan:121)
      defc::Reflect.reflectInput (Reflect.fan:45)
      defc::Reflect.reflectLib (Reflect.fan:33)
      fan.sys.List.each (List.java:604)
      defc::Reflect.reflectLib (Reflect.fan:31)
      defc::Reflect.run (Reflect.fan:23)
      fan.sys.Func$Indirect1.call (Func.java:145)
      fan.sys.Map.each (Map.java:383)
      defc::DefCompilerStep.eachLib (DefCompilerStep.fan:34)
      defc::Reflect.run (Reflect.fan:20)
      defc::DefCompiler.run (DefCompiler.fan:174)
      fan.sys.List.each (List.java:604)
      defc::DefCompiler.run (DefCompiler.fan:172)
      defc::DefCompiler.runBackend (DefCompiler.fan:160)
      12 More...
John MacEnri5th Apr 2022

Hi Christopher. I'll check that out and let you know. I haven't seen that before and we are actively using the extension and have also upgraded to 3.1.3 but we're on Java 11. We plan to move to 17 quite soon, but I can test on that now anyway.

John

John MacEnri5th Apr 2022

Hi Christopher.

I haven't been able to reproduce the problem. I've tested it using SkySpark v3.1.3 running on Java 17 and it seems ok. But I thought it's worth a clean build of the latest code, using v3.1.3 build environment might clear the problem you're having.

If you download both the ccPoiTools and ccPoiToolsExt latest builds, which are both set to v1.1.1, they are built against SkySpark v3.1.3 and compatible with each other.

Let me know how you get on with that. Hopefully it will resolve it for you.

Regards, John.

Christopher Hartley5th Apr 2022

John,

We just tested it, and no more errors! Thank you very much, and have a great week!

Chris


Log in or Sign up to post a reply.