Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 29

Thread: NoSuchMethod error in CommandQueueHandler when updating svn

  1. #1

    Default NoSuchMethod error in CommandQueueHandler when updating svn

    Kolmafia hangs and prints a trace in the console whenever i run "svn update" and it finds a script that needs to be updated.
    Trying to run any other commands queues them behind the stuck svn update and I need to close and restart the jar to fix it.

    I am using kolmafia r18478 and java 1.8.0_131 on a windows 10 x64 machine.

    Code:
    Exception in thread "CommandQueueHandler" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
            at org.tmatesoft.svn.core.internal.delta.SVNDeltaReader.<init>(SVNDeltaReader.java:50)
            at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVDeltaHandler.init(BasicDAVDeltaHandler.java:48)
            at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.<init>(DAVEditorHandler.java:249)
            at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1325)
            at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:863)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:247)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:111)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
            at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
            at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
            at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
            at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)
            at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)
            at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)
            at net.sourceforge.kolmafia.svn.SVNManager.update(SVNManager.java:306)
            at net.sourceforge.kolmafia.svn.SVNManager.update(SVNManager.java:283)
            at net.sourceforge.kolmafia.svn.UpdateRunnable.run(UpdateRunnable.java:141)
            at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:286)
            at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:271)
            at net.sourceforge.kolmafia.svn.SVNManager$2.run(SVNManager.java:1304)
            at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:286)
            at net.sourceforge.kolmafia.RequestThread.postRequest(RequestThread.java:271)
            at net.sourceforge.kolmafia.svn.SVNManager.doUpdate(SVNManager.java:1315)
            at net.sourceforge.kolmafia.textui.command.SVNCommand.run(SVNCommand.java:63)
            at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:596)
            at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:549)
            at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:450)
            at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:318)
            at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:187)
            at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:163)
    The gcli shows:
    Code:
    > svn update
    
    Checking all SVN projects...
    slimetube is at HEAD (r15)
    wrldwzrd89-mafia-scripts-trunk-pandamonium-quest is at HEAD (r8)
    AllenTuring-KoL-MineVolcano-trunk is at HEAD (r61)
    Ezandora-Lylefarm-branches-Release is at HEAD (r17)
    balefull-raidlog-parser-branches-master is at HEAD (r3)
    Ezandora-Guide-branches-Release is at HEAD (r512)
    Ezandora-Briefcase-branches-Release is at HEAD (r78)
    Ezandora-Spacegate-branches-Release is at HEAD (r36)
    Ezandora-Choice-Override-branches-Release is at HEAD (r23)
    mapledyne-yaaz-branches-master is at HEAD (r404)
    Ezandora-Asdon-Martin-GUI-branches-Release is at HEAD (r9)
    Ezandora-Far-Future-branches-Release is at HEAD (r38)
    Ezandora-Genie-branches-Release needs updating from (r38) to (r39)
    Ezandora-Detective-Solver-branches-Release is at HEAD (r19)
    rlbond86-mafia-scripts-better_trainer-trunk is at HEAD (r37)
    missingmanuel-trunk is at HEAD (r33)
    slyz-nemesis is at HEAD (r12)
    digitrev-fishbot is at HEAD (r151)
    digitrev-telegram is at HEAD (r151)
    bale-relay-woods_questStart is at HEAD (r139)
    veracity0-vprops is at HEAD (r93)
    bale-new-life is at HEAD (r70)
    bale-ltt is at HEAD (r6)
    ccascend-batfellow needs updating from (r1313) to (r1316)
    bale-relay-Monster_Manuel_Improvement is at HEAD (r139)
    ccascend-cc_ascend needs updating from (r1313) to (r1316)
    therazekolmafia-thesea is at HEAD (r41)
    bale-snojo is at HEAD (r2)
    relaywtf-wtf is at HEAD (r42)
    smartstasis is at HEAD (r39)
    mafiarecovery is at HEAD (r36)
    digitrev-NewYou is at HEAD (r151)
    bumcheekascend-bumcheekascend is at HEAD (r664)
    relaywtf-skillswtf is at HEAD (r42)
    bale-relay-campground is at HEAD (r139)
    guyymafia-displayshelves is at HEAD (r274)
    formhtml is at HEAD (r1)
    therazekolmafia-canadv is at HEAD (r96)
    batbrain is at HEAD (r111)
    kolm-prefs is at HEAD (r15)
    bale-relay-manor_unlockInfo is at HEAD (r139)
    relaywtf-vipwtf is at HEAD (r42)
    bale-spelunky is at HEAD (r4)
    bale-ns-tower-relay is at HEAD (r1)
    kolm-noobsorb is at HEAD (r36)
    zlib is at HEAD (r37)
    bale-counterchecker is at HEAD (r23)
    mafiachit is at HEAD (r567)
    uberpvpoptimizer is at HEAD (r64)
    winterbay-mafia-wham is at HEAD (r47)
    guyymafia-dreaddrunk is at HEAD (r274)
    relaywtf-shopwtf is at HEAD (r42)
    relaywtf-inventorywtf is at HEAD (r42)
    ccascend-snapshot needs updating from (r1313) to (r1316)
    relaywtf-famswtf is at HEAD (r42)
    winterbay-mafia-autobasement is at HEAD (r44)
    therazekolmafia-eatdrink is at HEAD (r55)
    guyymafia-tricktreat is at HEAD (r274)
    Updating all SVN projects...
    Validating repo...
    Repo validated.
    Updating ccascend-snapshot...
    D:\Matt\Desktop\kolmafia\svn\ccascend-snapshot
    Requests complete.

  2. #2
    Senior Member
    Join Date
    Feb 2010
    Posts
    962

    Default

    I was about to report that "breakfast" wasn't running in either r18477 or r18478 but noticed this post. I'm seeing the same behavior when attempting to update from SVN. I'm guessing that the SVN failure is responsible for "breakfast" not running automatically.

    Both SVN update and breakfast work as expected in r18473.
    Last edited by Magus_Prime; 02-27-2018 at 11:23 AM.

  3. #3

    Default

    Both SVN update and breakfast work as expected in r18473.
    Originally Posted by Magus_Prime View Post
    Probably a coincidence with sourceforge deciding to be responsive? Nothing even remotely related to that code has changed recently, so unless you're going back several months there's nothing to gain by trying different versions.

  4. #4
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,024

    Default

    Probably a coincidence with sourceforge deciding to be responsive? Nothing even remotely related to that code has changed recently, so unless you're going back several months there's nothing to gain by trying different versions.
    Originally Posted by lostcalpolydude View Post
    As a general philosophy, it would be nice if code behaved "nicely" even when SourceForge is not, but none of these things happened to me today with r18478.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  5. #5
    Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default

    Another data point. SVN update did not work at all in r18478, and I tried r18469, and it worked perfectly. A gap in time of less than a minute.

  6. #6

    Default

    Another data point. SVN update did not work at all in r18478, and I tried r18469, and it worked perfectly. A gap in time of less than a minute.
    Originally Posted by Fessor Eli View Post
    Or more likely, closing and reopening mafia made things work. Because nothing changed in mafia related to this between those versions.

  7. #7

    Default

    I've tried closing and reopening mafia several times and still get the buggy behavior every time i run "svn update".

  8. #8

    Default

    I've tried closing and reopening mafia several times and still get the buggy behavior every time i run "svn update".
    Originally Posted by Sytras View Post
    I'm guessing something closer to this post is what you need to do.

  9. #9

    Default

    I'm guessing something closer to this post is what you need to do.
    Originally Posted by lostcalpolydude View Post
    I've tried going back to r18475, r18476, r18477 and get the same error running "svn update" with all of them. I don't have any older jars.
    I can try deleting each svn script and reinstalling them, but then "svn update" wouldn't actually try to update anything (because fresh copies don't have updates" so wouldn't this just hide any issues with the updating code?

  10. #10

    Default

    The code wasn't changed recently. I suspect the problem is with a subversion repository, because something bad happened in response to sourceforge giving unexpected responses.

    Mostly I'm just guessing though. But I'm sure no one is looking to fix code in mafia that hasn't been touched in the last year at least, so from your perspective, waiting for that to happen won't lead anywhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •