java.lang.Error

factory already defined

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web29

  • via robocode by nat3738
    ,
  • via GitHub by mikallos
    ,
  • Stack trace

    • java.lang.Error: factory already defined at java.net.URL.setURLStreamHandlerFactory(Unknown Source) at net.sf.robocode.host.jarjar.JarJarURLConnection.register(JarJarURLConnection.java:84) at net.sf.robocode.host.HostManager.initSecurity(HostManager.java:106) at net.sf.robocode.core.RobocodeMain.initForRobocodeEngine(RobocodeMain.java:387) at net.sf.robocode.core.RobocodeMainBase.initContainerForRobocodeEngine(RobocodeMainBase.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.sf.robocode.security.HiddenAccess.initContainerForRobotEngine(HiddenAccess.java:250) at robocode.control.RobocodeEngine.init(RobocodeEngine.java:167) at robocode.control.RobocodeEngine.<init>(RobocodeEngine.java:87) at net.sf.robocode.roborumble.battlesengine.BattlesRunner.initialize(BattlesRunner.java:80) at net.sf.robocode.roborumble.battlesengine.BattlesRunner.<init>(BattlesRunner.java:76) at roborumble.RoboRumbleAtHome.main(RoboRumbleAtHome.java:123)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    serious2monkeysserious2monkeys
    5 times, last one