Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 29

Thread: NoSuchMethod error in CommandQueueHandler when updating svn

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

    Default

    I feel like I have mentioned this elsewhere but a non mafia SVN client will give error messages that usually point a finger at a problem that is not the mafia svn client. If there is something on your disk that is out of whack the client can usually detect and fix it easier.

  2. #12
    Developer
    Join Date
    Apr 2006
    Posts
    926

    Default

    It looks like in JDK8 ByteBuffer inherited the clear() function from java.nio.Buffer and returned a Buffer object but in JDK9 clear() is overridden to return a ByteBuffer, so who knows what else could have changed that would expose this. Ryo_Sangnoir's guess about the new build server is probably correct if it's building against JDK9. When's the last time svnkit was updated?

    When I was trying to repro this before I saw this thread I was able to do a successful svn update by force quitting mafia and retrying like 3 times and it finally succeeded with some warnings so there probably is some weirdness coming from SourceForge that is exposing this for specific repositories.

    Code:
    > svn update
    Checking all SVN projects...
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.tmatesoft.svn.core.internal.util.SVNSocketFactory (file:/./Dropbox/kolmafia/kolmafia.jar) to method sun.security.ssl.SSLSocketImpl.setHost(java.lang.String)
    WARNING: Please consider reporting this to the maintainers of org.tmatesoft.svn.core.internal.util.SVNSocketFactory
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    almighty-saplings-ash-trunk-raidlogs not checked - exception: org.tmatesoft.svn.core.SVNException: svn: E160013: '/svn/trunk/raidlogs' path not found: 404 Not Found (http://almighty-saplings-ash.googlecode.com)
    Ezandora-Detective-Solver-branches-Release is at HEAD (r19)
    Ezandora-Source-Terminal-GUI-branches-Release is at HEAD (r19)
    Ezandora-Briefcase-branches-Release is at HEAD (r78)
    geistbar-autoVolcano-trunk is at HEAD (r22)
    Ezandora-Guide-branches-Release is at HEAD (r512)
    Ezandora-Far-Future-branches-Release is at HEAD (r38)
    coandco-mafia-NewYou-trunk is at HEAD (r12)
    mikebryant-kolmafia-lar-forecasting-branches-master-src is at HEAD (r54)
    AllenTuring-KoL-MineVolcano-trunk is at HEAD (r61)
    geistbar-autoGlacier-trunk is at HEAD (r24)
    Ezandora-Spacegate-branches-Release is at HEAD (r36)
    Ezandora-Choice-Override-branches-Release is at HEAD (r23)
    AllenTuring-WitchessSolver-trunk is at HEAD (r50)
    missingmanuel-trunk is at HEAD (r33)
    guyymafia-dreaddrunk is at HEAD (r274)
    relay-charsheet is at HEAD (r35)
    bale-relay-Monster_Manuel_Improvement is at HEAD (r139)
    bale-relay-woods_questStart is at HEAD (r139)
    kolmafiascripts-cfstat is at HEAD (r2)
    bale-relay-campground is at HEAD (r139)
    bale-spelunky is at HEAD (r4)
    bale-ltt is at HEAD (r6)
    mafia-harvest is at HEAD (r34)
    slyz-nemesis is at HEAD (r12)
    72fd6657-9ca6-454e-98b5-a35926876534 is at HEAD (r11)
    mafia-harvest-data is at HEAD (r4)
    zlib is at HEAD (r37)
    smartstasis is at HEAD (r39)
    bale-advisor is at HEAD (r25)
    batbrain is at HEAD (r111)
    familiardrops is at HEAD (r6)
    winterbay-mafia-wham is at HEAD (r47)
    winterbay-mafia-farm is at HEAD (r27)
    bestbetweenbattle is at HEAD (r21)
    psychoseamatic is at HEAD (r12)
    guyymafia-tricktreat is at HEAD (r274)
    rlbond86-mafia-scripts-better_trainer-trunk is at HEAD (r37)
    winterbay-mafia-sushi is at HEAD (r4)
    therazekolmafia-eatdrink is at HEAD (r55)
    kolmafiascripts-shop is at HEAD (r9)
    clilinks is at HEAD (r6)
    mafiarecovery is at HEAD (r36)
    bale-relay-manor_unlockInfo is at HEAD (r139)
    bale-ocd is at HEAD (r46)
    digitrev-crimbo2015 is at HEAD (r151)
    therazekolmafia-canadv is at HEAD (r96)
    bale-counterchecker is at HEAD (r23)
    644e5752-2eaa-4709-b570-332e7ec0dde8 is at HEAD (r64)
    ccascend-batfellow needs updating from (r1315) to (r1317)
    formhtml is at HEAD (r1)
    bumcheekascend-bumpork is at HEAD (r664)
    winterbay-mafia-autobasement is at HEAD (r44)
    mafiachit is at HEAD (r567)
    therazekolmafia-thesea is at HEAD (r41)
    digitrev-telegram is at HEAD (r151)
    ccascend-cc_ascend needs updating from (r1315) to (r1317)
    acquirebuff is at HEAD (r1)
    veracity0-vprops is at HEAD (r93)
    veracity0-gingerbread is at HEAD (r93)
    ccascend-snapshot needs updating from (r1315) to (r1317)
    Updating all SVN projects...
    Validating repo...
    Repo validated.
    Updating ccascend-batfellow...
    .\kolmafia\svn\ccascend-batfellow
    At revision 1317
    Done.
    Validating repo...
    Repo validated.
    Updating ccascend-cc_ascend...
    .\kolmafia\svn\ccascend-cc_ascend
    U         https://svn.code.sf.net/p/ccascend/c...nd/cc_clan.ash
    U         https://svn.code.sf.net/p/ccascend/c..._adventure.ash
    https://svn.code.sf.net/p/ccascend/c...ipts/cc_ascend
    https://svn.code.sf.net/p/ccascend/c...ascend/scripts
    https://svn.code.sf.net/p/ccascend/code/cc_ascend
    At revision 1317
    Pushing local updates...
    cc_adventure.ash => .\kolmafia\scripts\cc_ascend\cc_adventure.ash
    cc_clan.ash => .\kolmafia\scripts\cc_ascend\cc_clan.ash
    Done.
    Validating repo...
    Repo validated.
    Updating ccascend-snapshot...
    .\kolmafia\svn\ccascend-snapshot
    At revision 1317
    Done.
    Update log for <b>ccascend-cc_ascend</b>:
    ------
    Commit <b>r1316<b>:
    Author: asocasno
    
    
    try to handle asventuring when drunk without relying on a local mafia edit.
    Zatara handling should use responses for valdiation, not sure if we axtually care about making this function adaptable.
    ------
    Commit <b>r1317<b>:
    Author: asocasno
    
    
    get_player_name is a custom function, not a vanilla mafia function, oops.
    ------
    Checking for working copy modifications...
    M .\kolmafia\svn\AllenTuring-WitchessSolver-trunk\scripts\witchess_solver.ash
    M .\kolmafia\svn\bale-advisor\relay\relay_AdventureAdvisor.ash
    M .\kolmafia\svn\bale-counterchecker\scripts\CounterChecker.ash
    M .\kolmafia\svn\bale-ocd\relay\relay_OCD_dB_Manager.ash
    M .\kolmafia\svn\bale-ocd\scripts\OCD Inventory Control.ash
    M .\kolmafia\svn\ccascend-cc_ascend\scripts\cc_ascend.ash
    M .\kolmafia\svn\ccascend-cc_ascend\scripts\cc_ascend\cc_mr2016.ash
    M .\kolmafia\svn\ccascend-cc_ascend\scripts\cc_ascend\cc_community_service.ash
    M .\kolmafia\svn\digitrev-telegram\scripts\telegram.ash
    M .\kolmafia\svn\digitrev-telegram\scripts\telegram_combat.ash
    M .\kolmafia\svn\geistbar-autoVolcano-trunk\scripts\autoVolcano.ash
    Synchronizing with local copies...
    Sync complete.
    Requests complete.
    Last edited by Rinn; 02-27-2018 at 09:47 PM.

  3. #13
    Senior Member AlbinoRhino's Avatar
    Join Date
    May 2008
    Posts
    868

    Default

    I am building with JDK9 and 'svn update' seems to work OK for me.

  4. #14
    Developer
    Join Date
    Apr 2006
    Posts
    926

    Default

    Okay I'm really not surprised if this is sourceforge having issues. I made a commit to mafia and the build failed with a bunch of svn errors http://ci.kolmafia.us/job/Kolmafia/11/console and when I went to sourceforge to look at the revision page https://www.sourceforge.net/p/kolmafia/code/18481/ it failed to load after ~30 seconds and showed an error.

  5. #15

    Default

    The problem I described here seemed to be affected by scripts hosted on github as well, though. Not sure if that is relevant, however.

  6. #16
    Developer
    Join Date
    Apr 2006
    Posts
    926

    Default

    I was going to look into this but I had just deleted my local mafia code do to a fresh sync and there's some real irony where svn is timing out when I do the svn update.

  7. #17
    Developer
    Join Date
    Aug 2009
    Posts
    2,824

    Default

    When's the last time svnkit was updated?
    Originally Posted by Rinn View Post
    A few years ago. I didn't encounter anything particularly exciting when trying to update SVNKit locally (recently), just needed to fetch some new jars for jna / jna-platform.

    As for speculation about the CI server:
    Metadata from the JAR for r18475: "Created-By: 9.0.4+11 (Oracle Corporation)"
    Last edited by heeheehee; 02-28-2018 at 03:57 AM.

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

    Default

    A few years ago. I didn't encounter anything particularly exciting when trying to update SVNKit locally, just needed to fetch some new jars for jna / jna-platform.

    As for speculation about the CI server:
    Metadata from the JAR for r18475: "Created-By: 9.0.4+11 (Oracle Corporation)"
    Originally Posted by heeheehee View Post
    There is a size difference between the jar I built and the jar on the ci server. Some folks claim that is because of compilation time stamps are embedded and of variable length. The definitive answer is to unpack the jars, decompile the classes and compare but I have not made that work yet.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  9. #19
    Developer
    Join Date
    Apr 2006
    Posts
    926

    Default

    If it's not a defect in svnkit I was thinking it would be prudent to just catch the exception from the svn call and let it fail gracefully without updating the affected repo if this is just going to continue being a problem in the future.

  10. #20

    Default

    AlbinoRhino, others who have it working on Java 9: are you running the jar with Java 8, or with Java 9?

    I'm having problems when I run the Java 9-compiled jar file in Java 8. This evening, I'll try downloading Java 9 to see if that fixes the problem.

Posting Permissions

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