Skip to content

class.getPackage() returns null #5

Open
@Erhannis

Description

I'm not sure if this is particular to ODB, or just the way we call it, but I'm having some trouble because whenever I have a class object and call .getPackage() on it, it returns null. This is problematic in logging and a few other cases. For example, ServiceLocatorFactoryImpl.class.getPackage().getName() crashes, because .getPackage() returned null. (It does not return null when run on its own.)

I'm using Java 8. It seems to be working well, aside from this issue. (I do not know whether it's an issue in Java 6.) The command I'm using is basically:

java -noverify -Xms400100100 -Xmx400100100 -DMEMORY=400100100 -cp "LewisOmniscientDebugger.jar;##JAR##" com.lambda.Debugger.Debugger ##CLASS##

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions