Opened 7 years ago

Closed 7 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: Sensitive: no


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$

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.



Change History (2)

comment:1 Changed 7 years ago by zzz

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

comment:2 Changed 7 years ago by zzz

Resolution: fixed
Status: newclosed

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.