[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Access Problem



	I don't know what I changed to cause me to get this now and
not earlier, but I got the following access error repeatedly:

LoadClient: Running with joint anetd/EE security manager
java.version = 1.2.2
This is a version 1.2 JVM
numURLs = 2
LoadClient: url = http://bro.isi.edu:80/ANTS/ants2.0/
LoadClient: class name = edu.utah.janos.nodeos.Main
LoadClient: Class = class edu.utah.janos.nodeos.Main
Janos Java NodeOS v1.1.5
ANTS v2.0
FlowInitialzier.run(): Trying to start ants.core.ConfigurationManager in new flow(Flow[name=Primoridal ANTS Flow;objid=0xcdbb38e5]) and got:
java.lang.IllegalAccessError: try to access method ants/core/UnknownMidPackets$UnknownMidPacketsInfo.<init>()V from class ants/core/UnknownMidPackets
        at ants.core.UnknownMidPackets.<clinit>(UnknownMidPackets.java:202)
        at ants.core.PrimordialNode.<clinit>(PrimordialNode.java:252)
        at ants.core.ConfigurationManager.parseCommandLine(ConfigurationManager.java:117)
        at ants.core.ConfigurationManager.parseCommands(ConfigurationManager.java:330)
        at ants.core.ConfigurationManager.run(ConfigurationManager.java:386)
        at edu.utah.janos.nodeos.FlowInitializer.startInitialClass(FlowInitializer.java:107)
        at edu.utah.janos.nodeos.FlowInitializer.run(FlowInitializer.java:71)
        at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:71)
Shutting down.


	My solution was the following change in ants.core.UnknownMidPackets:


    private static class UnknownMidPacketsInfo
        extends InfoHook
    {
        private UnknownMidPacketsInfo()
        {
            super("UnknownMidPackets");
        }

changed to:


    private static class UnknownMidPacketsInfo
        extends InfoHook
    {
        public UnknownMidPacketsInfo()
        {
            super("UnknownMidPackets");
        }



					Craig Milo Rogers




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah