Opened 5 years ago

Closed 4 years ago

#1285 closed defect (fixed)

Console uses WrapperManager method not available in old wrappers

Reported by: zzz Owned by:
Priority: minor Milestone: 0.9.14
Component: apps/console Version: 0.9.12
Keywords: Cc:
Parent Tickets:

Description

The fix for #1230 in 0.9.12 uses a WrapperManager? method not available in wrapper 3.1.1:

java.lang.NoSuchMethodError: org.tanukisoftware.wrapper.WrapperManager.getProperties()Ljava/util/Properties;
	at net.i2p.router.web.ConfigServiceHandler$UpdateWrapperOrRekeyTask.run(ConfigServiceHandler.java:75)
	at java.lang.Thread.run(Thread.java:595)

Sadly, the wrapper javadocs do not include @since, so we'll have to go through SVN or all the releases to find out when it was introduced, then use a version test, unless there's an alternate method that can be used on all wrappers.

As this is happening in its own thread, the impact is minor.

ref: http://wrapper.tanukisoftware.com/jdoc/org/tanukisoftware/wrapper/WrapperManager.html

Subtickets

Change History (2)

comment:1 Changed 5 years ago by zzz

hack workaround in aa6b924a0db8b0714edecbd21c7bcaa597829c98 i2p.i2p.zzz.test2 to be propped in 0.9.14

comment:2 Changed 4 years ago by zzz

  • Resolution set to fixed
  • Status changed from new to closed

thx to kytv, who determined that the method appeared in wrapper 3.2.0. Hack cleaned up, propped, in 0.9.14.

Note: See TracTickets for help on using tickets.