Lama3L9R / ArtifactoryKeygen

A keygen for JFrog Artifactory
49 stars 27 forks source link

7.90.5 and higher - error #4

Open 4erdenko opened 3 months ago

4erdenko commented 3 months ago
artifactory           | Exception Details:
artifactory           |   Location:
artifactory           |     org/jfrog/license/api/a.<clinit>()V @1168: putstatic
artifactory           |   Reason:
artifactory           |     Type 'java/lang/String' (current frame, stack[0]) is not assignable to 'java/util/concurrent/atomic/AtomicBoolean'
artifactory           |   Current Frame:
artifactory           |     bci: @1168
artifactory           |     flags: { }
artifactory           |     locals: { top, null }
artifactory           |     stack: { 'java/lang/String' }
artifactory           |   Bytecode:
artifactory           |     0000000: 123f b601 919a 0007 04a7 0004 03b3 0181
artifactory           |     0000010: 123f b801 dcb3 0182 bb00 3c59 101c bc0b
artifactory           |     0000020: 5903 1401 4650 5904 1400 5250 5905 1400
artifactory           |     0000030: 6450 5906 1401 3c50 5907 1400 6650 5908
artifactory           |     0000040: 1400 d850 5910 0614 0078 5059 1007 1401
artifactory           |     0000050: 1450 5910 0814 00ec 5059 1009 1401 2c50
artifactory           |     0000060: 5910 0a14 005a 5059 100b 1400 d250 5910
artifactory           |     0000070: 0c14 007e 5059 100d 1400 ca50 5910 0e14
artifactory           |     0000080: 00b8 5059 100f 1401 6e50 5910 1014 0100
artifactory           |     0000090: 5059 1011 1400 a050 5910 1214 0172 5059
artifactory           |     00000a0: 1013 1401 0c50 5910 1414 00a8 5059 1015
artifactory           |     00000b0: 1401 0a50 5910 1614 00be 5059 1017 1401
artifactory           |     00000c0: 1650 5910 1814 0130 5059 1019 1401 0e50
artifactory           |     00000d0: 5910 1a14 014c 5059 101b 1400 a250 b701
artifactory           |     00000e0: bab6 01bb b301 84bb 003c 5910 32bc 0b59
artifactory           |     00000f0: 0314 00d4 5059 0414 0156 5059 0514 012a
artifactory           |     0000100: 5059 0614 0144 5059 0714 0090 5059 0814
artifactory           |     0000110: 0058 5059 1006 1401 6650 5910 0714 004a
artifactory           |     0000120: 5059 1008 1401 7c50 5910 0914 0108 5059
artifactory           |     0000130: 100a 1400 8650 5910 0b14 011a 5059 100c
artifactory           |     0000140: 1400 7450 5910 0d14 00e2 5059 100e 1400
artifactory           |     0000150: e650 5910 0f14 0092 5059 1010 1400 9650
artifactory           |     0000160: 5910 1114 0136 5059 1012 1400 9450 5910
artifactory           |     0000170: 1314 015c 5059 1014 1400 8e50 5910 1514
artifactory           |     0000180: 00aa 5059 1016 1400 5450 5910 1714 0164
artifactory           |     0000190: 5059 1018 1401 7450 5910 1914 0122 5059
artifactory           |     00001a0: 101a 1400 fa50 5910 1b14 00a6 5059 101c
artifactory           |     00001b0: 1400 5c50 5910 1d14 0150 5059 101e 1400
artifactory           |     00001c0: 9850 5910 1f14 00f8 5059 1020 1400 b050
artifactory           |     00001d0: 5910 2114 016c 5059 1022 1400 6c50 5910
artifactory           |     00001e0: 2314 00ea 5059 1024 1400 8a50 5910 2514
artifactory           |     00001f0: 011e 5059 1026 1400 ac50 5910 2714 00c8
artifactory           |     0000200: 5059 1028 1400 c050 5910 2914 0112 5059
artifactory           |     0000210: 102a 1400 e850 5910 2b14 0160 5059 102c
artifactory           |     0000220: 1400 da50 5910 2d14 0118 5059 102e 1401
artifactory           |     0000230: 4050 5910 2f14 0170 5059 1030 1400 ba50
artifactory           |     0000240: 5910 3114 0050 50b7 01ba b601 bbb3 0185
artifactory           |     0000250: bb00 3c59 1032 bc0b 5903 1401 7650 5904
artifactory           |     0000260: 1400 c650 5905 1400 ae50 5906 1401 5e50
artifactory           |     0000270: 5907 1401 4250 5908 1400 6050 5910 0614
artifactory           |     0000280: 00d0 5059 1007 1400 6a50 5910 0814 0062
artifactory           |     0000290: 5059 1009 1400 8c50 5910 0a14 00dc 5059
artifactory           |     00002a0: 100b 1400 de50 5910 0c14 0120 5059 100d
artifactory           |     00002b0: 1401 0250 5910 0e14 0084 5059 100f 1401
artifactory           |     00002c0: 3850 5910 1014 0082 5059 1011 1400 7050
artifactory           |     00002d0: 5910 1214 012e 5059 1013 1400 ce50 5910
artifactory           |     00002e0: 1414 013e 5059 1015 1400 5e50 5910 1614
artifactory           |     00002f0: 0132 5059 1017 1400 a450 5910 1814 00c4
artifactory           |     0000300: 5059 1019 1400 d650 5910 1a14 00f0 5059
artifactory           |     0000310: 101b 1400 b450 5910 1c14 00fc 5059 101d
artifactory           |     0000320: 1400 9c50 5910 1e14 007a 5059 101f 1401
artifactory           |     0000330: 3a50 5910 2014 0076 5059 1021 1401 4e50
artifactory           |     0000340: 5910 2214 0126 5059 1023 1401 5850 5910
artifactory           |     0000350: 2414 0106 5059 1025 1400 f250 5910 2614
artifactory           |     0000360: 0154 5059 1027 1401 5a50 5910 2814 00e4
artifactory           |     0000370: 5059 1029 1400 f450 5910 2a14 004e 5059
artifactory           |     0000380: 102b 1400 8850 5910 2c14 0068 5059 102d
artifactory           |     0000390: 1401 6a50 5910 2e14 0148 5059 102f 1401
artifactory           |     00003a0: 1050 5910 3014 00cc 5059 1031 1400 9e50
artifactory           |     00003b0: b701 bab6 01bb b301 86bb 003c 5910 1cbc
artifactory           |     00003c0: 0b59 0314 0056 5059 0414 0104 5059 0514
artifactory           |     00003d0: 014a 5059 0614 0080 5059 0714 011c 5059
artifactory           |     00003e0: 0814 006e 5059 1006 1400 fe50 5910 0714
artifactory           |     00003f0: 0128 5059 1008 1400 ee50 5910 0914 00b6
artifactory           |     0000400: 5059 100a 1401 7a50 5910 0b14 004c 5059
artifactory           |     0000410: 100c 1400 4850 5910 0d14 017e 5059 100e
artifactory           |     0000420: 1401 6850 5910 0f14 00c2 5059 1010 1401
artifactory           |     0000430: 6250 5910 1114 007c 5059 1012 1401 5250
artifactory           |     0000440: 5910 1314 00bc 5059 1014 1400 e050 5910
artifactory           |     0000450: 1514 0072 5059 1016 1400 9a50 5910 1714
artifactory           |     0000460: 00f6 5059 1018 1400 b250 5910 1914 0124
artifactory           |     0000470: 5059 101a 1401 7850 5910 1b14 0134 50b7
artifactory           |     0000480: 01ba b601 bbb3 0187 a700 0301 4cb2 0328
artifactory           |     0000490: b301 83b2 0328 b301 84b1
artifactory           |   Stackmap Table:
artifactory           |     same_frame(@12)
artifactory           |     same_locals_1_stack_item_frame(@13,Integer)
artifactory           |     same_frame_extended(@1163)
artifactory           |
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:824)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:777)
artifactory           |         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:408)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
artifactory           |         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
artifactory           |         at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
artifactory           |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
artifactory           |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710)
artifactory           |         ... 36 common frames omitted
artifactory           | Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'addonsManagerImpl': Unsatisfied dependency expressed through method 'setLicenseAddonsManager' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'licenseAddonsManagerImpl' defined in class path resource [org/artifactory/addon/LicenseAddonsManagerImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.artifactory.addon.LicenseAddonsManagerImpl]: Constructor threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
artifactory           | Exception Details:
artifactory           |   Location:
artifactory           |     org/jfrog/license/api/a.<clinit>()V @1168: putstatic
artifactory           |   Reason:
artifactory           |     Type 'java/lang/String' (current frame, stack[0]) is not assignable to 'java/util/concurrent/atomic/AtomicBoolean'
artifactory           |   Current Frame:
artifactory           |     bci: @1168
artifactory           |     flags: { }
artifactory           |     locals: { top, null }
artifactory           |     stack: { 'java/lang/String' }
artifactory           |   Bytecode:
artifactory           |     0000000: 123f b601 919a 0007 04a7 0004 03b3 0181
artifactory           |     0000010: 123f b801 dcb3 0182 bb00 3c59 101c bc0b
artifactory           |     0000020: 5903 1401 4650 5904 1400 5250 5905 1400
artifactory           |     0000030: 6450 5906 1401 3c50 5907 1400 6650 5908
artifactory           |     0000040: 1400 d850 5910 0614 0078 5059 1007 1401
artifactory           |     0000050: 1450 5910 0814 00ec 5059 1009 1401 2c50
artifactory           |     0000060: 5910 0a14 005a 5059 100b 1400 d250 5910
artifactory           |     0000070: 0c14 007e 5059 100d 1400 ca50 5910 0e14
artifactory           |     0000080: 00b8 5059 100f 1401 6e50 5910 1014 0100
artifactory           |     0000090: 5059 1011 1400 a050 5910 1214 0172 5059
artifactory           |     00000a0: 1013 1401 0c50 5910 1414 00a8 5059 1015
artifactory           |     00000b0: 1401 0a50 5910 1614 00be 5059 1017 1401
artifactory           |     00000c0: 1650 5910 1814 0130 5059 1019 1401 0e50
artifactory           |     00000d0: 5910 1a14 014c 5059 101b 1400 a250 b701
artifactory           |     00000e0: bab6 01bb b301 84bb 003c 5910 32bc 0b59
artifactory           |     00000f0: 0314 00d4 5059 0414 0156 5059 0514 012a
artifactory           |     0000100: 5059 0614 0144 5059 0714 0090 5059 0814
artifactory           |     0000110: 0058 5059 1006 1401 6650 5910 0714 004a
artifactory           |     0000120: 5059 1008 1401 7c50 5910 0914 0108 5059
artifactory           |     0000130: 100a 1400 8650 5910 0b14 011a 5059 100c
artifactory           |     0000140: 1400 7450 5910 0d14 00e2 5059 100e 1400
artifactory           |     0000150: e650 5910 0f14 0092 5059 1010 1400 9650
artifactory           |     0000160: 5910 1114 0136 5059 1012 1400 9450 5910
artifactory           |     0000170: 1314 015c 5059 1014 1400 8e50 5910 1514
artifactory           |     0000180: 00aa 5059 1016 1400 5450 5910 1714 0164
artifactory           |     0000190: 5059 1018 1401 7450 5910 1914 0122 5059
artifactory           |     00001a0: 101a 1400 fa50 5910 1b14 00a6 5059 101c
artifactory           |     00001b0: 1400 5c50 5910 1d14 0150 5059 101e 1400
artifactory           |     00001c0: 9850 5910 1f14 00f8 5059 1020 1400 b050
artifactory           |     00001d0: 5910 2114 016c 5059 1022 1400 6c50 5910
artifactory           |     00001e0: 2314 00ea 5059 1024 1400 8a50 5910 2514
artifactory           |     00001f0: 011e 5059 1026 1400 ac50 5910 2714 00c8
artifactory           |     0000200: 5059 1028 1400 c050 5910 2914 0112 5059
artifactory           |     0000210: 102a 1400 e850 5910 2b14 0160 5059 102c
artifactory           |     0000220: 1400 da50 5910 2d14 0118 5059 102e 1401
artifactory           |     0000230: 4050 5910 2f14 0170 5059 1030 1400 ba50
artifactory           |     0000240: 5910 3114 0050 50b7 01ba b601 bbb3 0185
artifactory           |     0000250: bb00 3c59 1032 bc0b 5903 1401 7650 5904
artifactory           |     0000260: 1400 c650 5905 1400 ae50 5906 1401 5e50
artifactory           |     0000270: 5907 1401 4250 5908 1400 6050 5910 0614
artifactory           |     0000280: 00d0 5059 1007 1400 6a50 5910 0814 0062
artifactory           |     0000290: 5059 1009 1400 8c50 5910 0a14 00dc 5059
artifactory           |     00002a0: 100b 1400 de50 5910 0c14 0120 5059 100d
artifactory           |     00002b0: 1401 0250 5910 0e14 0084 5059 100f 1401
artifactory           |     00002c0: 3850 5910 1014 0082 5059 1011 1400 7050
artifactory           |     00002d0: 5910 1214 012e 5059 1013 1400 ce50 5910
artifactory           |     00002e0: 1414 013e 5059 1015 1400 5e50 5910 1614
artifactory           |     00002f0: 0132 5059 1017 1400 a450 5910 1814 00c4
artifactory           |     0000300: 5059 1019 1400 d650 5910 1a14 00f0 5059
artifactory           |     0000310: 101b 1400 b450 5910 1c14 00fc 5059 101d
artifactory           |     0000320: 1400 9c50 5910 1e14 007a 5059 101f 1401
artifactory           |     0000330: 3a50 5910 2014 0076 5059 1021 1401 4e50
artifactory           |     0000340: 5910 2214 0126 5059 1023 1401 5850 5910
artifactory           |     0000350: 2414 0106 5059 1025 1400 f250 5910 2614
artifactory           |     0000360: 0154 5059 1027 1401 5a50 5910 2814 00e4
artifactory           |     0000370: 5059 1029 1400 f450 5910 2a14 004e 5059
artifactory           |     0000380: 102b 1400 8850 5910 2c14 0068 5059 102d
artifactory           |     0000390: 1401 6a50 5910 2e14 0148 5059 102f 1401
artifactory           |     00003a0: 1050 5910 3014 00cc 5059 1031 1400 9e50
artifactory           |     00003b0: b701 bab6 01bb b301 86bb 003c 5910 1cbc
artifactory           |     00003c0: 0b59 0314 0056 5059 0414 0104 5059 0514
artifactory           |     00003d0: 014a 5059 0614 0080 5059 0714 011c 5059
artifactory           |     00003e0: 0814 006e 5059 1006 1400 fe50 5910 0714
artifactory           |     00003f0: 0128 5059 1008 1400 ee50 5910 0914 00b6
artifactory           |     0000400: 5059 100a 1401 7a50 5910 0b14 004c 5059
artifactory           |     0000410: 100c 1400 4850 5910 0d14 017e 5059 100e
artifactory           |     0000420: 1401 6850 5910 0f14 00c2 5059 1010 1401
artifactory           |     0000430: 6250 5910 1114 007c 5059 1012 1401 5250
artifactory           |     0000440: 5910 1314 00bc 5059 1014 1400 e050 5910
artifactory           |     0000450: 1514 0072 5059 1016 1400 9a50 5910 1714
artifactory           |     0000460: 00f6 5059 1018 1400 b250 5910 1914 0124
artifactory           |     0000470: 5059 101a 1401 7850 5910 1b14 0134 50b7
artifactory           |     0000480: 01ba b601 bbb3 0187 a700 0301 4cb2 0328
artifactory           |     0000490: b301 83b2 0328 b301 84b1
artifactory           |   Stackmap Table:
artifactory           |     same_frame(@12)
artifactory           |     same_locals_1_stack_item_frame(@13,Integer)
artifactory           |     same_frame_extended(@1163)
artifactory           |
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:824)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:777)
artifactory           |         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:408)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
artifactory           |         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
artifactory           |         at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
artifactory           |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
artifactory           |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:816)
artifactory           |         ... 50 common frames omitted
artifactory           | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'licenseAddonsManagerImpl' defined in class path resource [org/artifactory/addon/LicenseAddonsManagerImpl.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.artifactory.addon.LicenseAddonsManagerImpl]: Constructor threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
artifactory           | Exception Details:
artifactory           |   Location:
artifactory           |     org/jfrog/license/api/a.<clinit>()V @1168: putstatic
artifactory           |   Reason:
artifactory           |     Type 'java/lang/String' (current frame, stack[0]) is not assignable to 'java/util/concurrent/atomic/AtomicBoolean'
artifactory           |   Current Frame:
artifactory           |     bci: @1168
artifactory           |     flags: { }
artifactory           |     locals: { top, null }
artifactory           |     stack: { 'java/lang/String' }
artifactory           |   Bytecode:
artifactory           |     0000000: 123f b601 919a 0007 04a7 0004 03b3 0181
artifactory           |     0000010: 123f b801 dcb3 0182 bb00 3c59 101c bc0b
artifactory           |     0000020: 5903 1401 4650 5904 1400 5250 5905 1400
artifactory           |     0000030: 6450 5906 1401 3c50 5907 1400 6650 5908
artifactory           |     0000040: 1400 d850 5910 0614 0078 5059 1007 1401
artifactory           |     0000050: 1450 5910 0814 00ec 5059 1009 1401 2c50
artifactory           |     0000060: 5910 0a14 005a 5059 100b 1400 d250 5910
artifactory           |     0000070: 0c14 007e 5059 100d 1400 ca50 5910 0e14
artifactory           |     0000080: 00b8 5059 100f 1401 6e50 5910 1014 0100
artifactory           |     0000090: 5059 1011 1400 a050 5910 1214 0172 5059
artifactory           |     00000a0: 1013 1401 0c50 5910 1414 00a8 5059 1015
artifactory           |     00000b0: 1401 0a50 5910 1614 00be 5059 1017 1401
artifactory           |     00000c0: 1650 5910 1814 0130 5059 1019 1401 0e50
artifactory           |     00000d0: 5910 1a14 014c 5059 101b 1400 a250 b701
artifactory           |     00000e0: bab6 01bb b301 84bb 003c 5910 32bc 0b59
artifactory           |     00000f0: 0314 00d4 5059 0414 0156 5059 0514 012a
artifactory           |     0000100: 5059 0614 0144 5059 0714 0090 5059 0814
artifactory           |     0000110: 0058 5059 1006 1401 6650 5910 0714 004a
artifactory           |     0000120: 5059 1008 1401 7c50 5910 0914 0108 5059
artifactory           |     0000130: 100a 1400 8650 5910 0b14 011a 5059 100c
artifactory           |     0000140: 1400 7450 5910 0d14 00e2 5059 100e 1400
artifactory           |     0000150: e650 5910 0f14 0092 5059 1010 1400 9650
artifactory           |     0000160: 5910 1114 0136 5059 1012 1400 9450 5910
artifactory           |     0000170: 1314 015c 5059 1014 1400 8e50 5910 1514
artifactory           |     0000180: 00aa 5059 1016 1400 5450 5910 1714 0164
artifactory           |     0000190: 5059 1018 1401 7450 5910 1914 0122 5059
artifactory           |     00001a0: 101a 1400 fa50 5910 1b14 00a6 5059 101c
artifactory           |     00001b0: 1400 5c50 5910 1d14 0150 5059 101e 1400
artifactory           |     00001c0: 9850 5910 1f14 00f8 5059 1020 1400 b050
artifactory           |     00001d0: 5910 2114 016c 5059 1022 1400 6c50 5910
artifactory           |     00001e0: 2314 00ea 5059 1024 1400 8a50 5910 2514
artifactory           |     00001f0: 011e 5059 1026 1400 ac50 5910 2714 00c8
artifactory           |     0000200: 5059 1028 1400 c050 5910 2914 0112 5059
artifactory           |     0000210: 102a 1400 e850 5910 2b14 0160 5059 102c
artifactory           |     0000220: 1400 da50 5910 2d14 0118 5059 102e 1401
artifactory           |     0000230: 4050 5910 2f14 0170 5059 1030 1400 ba50
artifactory           |     0000240: 5910 3114 0050 50b7 01ba b601 bbb3 0185
artifactory           |     0000250: bb00 3c59 1032 bc0b 5903 1401 7650 5904
artifactory           |     0000260: 1400 c650 5905 1400 ae50 5906 1401 5e50
artifactory           |     0000270: 5907 1401 4250 5908 1400 6050 5910 0614
artifactory           |     0000280: 00d0 5059 1007 1400 6a50 5910 0814 0062
artifactory           |     0000290: 5059 1009 1400 8c50 5910 0a14 00dc 5059
artifactory           |     00002a0: 100b 1400 de50 5910 0c14 0120 5059 100d
artifactory           |     00002b0: 1401 0250 5910 0e14 0084 5059 100f 1401
artifactory           |     00002c0: 3850 5910 1014 0082 5059 1011 1400 7050
artifactory           |     00002d0: 5910 1214 012e 5059 1013 1400 ce50 5910
artifactory           |     00002e0: 1414 013e 5059 1015 1400 5e50 5910 1614
artifactory           |     00002f0: 0132 5059 1017 1400 a450 5910 1814 00c4
artifactory           |     0000300: 5059 1019 1400 d650 5910 1a14 00f0 5059
artifactory           |     0000310: 101b 1400 b450 5910 1c14 00fc 5059 101d
artifactory           |     0000320: 1400 9c50 5910 1e14 007a 5059 101f 1401
artifactory           |     0000330: 3a50 5910 2014 0076 5059 1021 1401 4e50
artifactory           |     0000340: 5910 2214 0126 5059 1023 1401 5850 5910
artifactory           |     0000350: 2414 0106 5059 1025 1400 f250 5910 2614
artifactory           |     0000360: 0154 5059 1027 1401 5a50 5910 2814 00e4
artifactory           |     0000370: 5059 1029 1400 f450 5910 2a14 004e 5059
artifactory           |     0000380: 102b 1400 8850 5910 2c14 0068 5059 102d
artifactory           |     0000390: 1401 6a50 5910 2e14 0148 5059 102f 1401
artifactory           |     00003a0: 1050 5910 3014 00cc 5059 1031 1400 9e50
artifactory           |     00003b0: b701 bab6 01bb b301 86bb 003c 5910 1cbc
artifactory           |     00003c0: 0b59 0314 0056 5059 0414 0104 5059 0514
artifactory           |     00003d0: 014a 5059 0614 0080 5059 0714 011c 5059
artifactory           |     00003e0: 0814 006e 5059 1006 1400 fe50 5910 0714
artifactory           |     00003f0: 0128 5059 1008 1400 ee50 5910 0914 00b6
artifactory           |     0000400: 5059 100a 1401 7a50 5910 0b14 004c 5059
artifactory           |     0000410: 100c 1400 4850 5910 0d14 017e 5059 100e
artifactory           |     0000420: 1401 6850 5910 0f14 00c2 5059 1010 1401
artifactory           |     0000430: 6250 5910 1114 007c 5059 1012 1401 5250
artifactory           |     0000440: 5910 1314 00bc 5059 1014 1400 e050 5910
artifactory           |     0000450: 1514 0072 5059 1016 1400 9a50 5910 1714
artifactory           |     0000460: 00f6 5059 1018 1400 b250 5910 1914 0124
artifactory           |     0000470: 5059 101a 1401 7850 5910 1b14 0134 50b7
artifactory           |     0000480: 01ba b601 bbb3 0187 a700 0301 4cb2 0328
artifactory           |     0000490: b301 83b2 0328 b301 84b1
artifactory           |   Stackmap Table:
artifactory           |     same_frame(@12)
artifactory           |     same_locals_1_stack_item_frame(@13,Integer)
artifactory           |     same_frame_extended(@1163)
artifactory           |
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
artifactory           |         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
artifactory           |         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
artifactory           |         at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
artifactory           |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
artifactory           |         at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
artifactory           |         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:816)
artifactory           |         ... 64 common frames omitted
artifactory           | Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.artifactory.addon.LicenseAddonsManagerImpl]: Constructor threw exception; nested exception is java.lang.VerifyError: Bad type on operand stack
artifactory           | Exception Details:
artifactory           |   Location:
artifactory           |     org/jfrog/license/api/a.<clinit>()V @1168: putstatic
artifactory           |   Reason:
artifactory           |     Type 'java/lang/String' (current frame, stack[0]) is not assignable to 'java/util/concurrent/atomic/AtomicBoolean'
artifactory           |   Current Frame:
artifactory           |     bci: @1168
artifactory           |     flags: { }
artifactory           |     locals: { top, null }
artifactory           |     stack: { 'java/lang/String' }
artifactory           |   Bytecode:
artifactory           |     0000000: 123f b601 919a 0007 04a7 0004 03b3 0181
artifactory           |     0000010: 123f b801 dcb3 0182 bb00 3c59 101c bc0b
artifactory           |     0000020: 5903 1401 4650 5904 1400 5250 5905 1400
artifactory           |     0000030: 6450 5906 1401 3c50 5907 1400 6650 5908
artifactory           |     0000040: 1400 d850 5910 0614 0078 5059 1007 1401
artifactory           |     0000050: 1450 5910 0814 00ec 5059 1009 1401 2c50
artifactory           |     0000060: 5910 0a14 005a 5059 100b 1400 d250 5910
artifactory           |     0000070: 0c14 007e 5059 100d 1400 ca50 5910 0e14
artifactory           |     0000080: 00b8 5059 100f 1401 6e50 5910 1014 0100
artifactory           |     0000090: 5059 1011 1400 a050 5910 1214 0172 5059
artifactory           |     00000a0: 1013 1401 0c50 5910 1414 00a8 5059 1015
artifactory           |     00000b0: 1401 0a50 5910 1614 00be 5059 1017 1401
artifactory           |     00000c0: 1650 5910 1814 0130 5059 1019 1401 0e50
artifactory           |     00000d0: 5910 1a14 014c 5059 101b 1400 a250 b701
artifactory           |     00000e0: bab6 01bb b301 84bb 003c 5910 32bc 0b59
artifactory           |     00000f0: 0314 00d4 5059 0414 0156 5059 0514 012a
artifactory           |     0000100: 5059 0614 0144 5059 0714 0090 5059 0814
artifactory           |     0000110: 0058 5059 1006 1401 6650 5910 0714 004a
artifactory           |     0000120: 5059 1008 1401 7c50 5910 0914 0108 5059
artifactory           |     0000130: 100a 1400 8650 5910 0b14 011a 5059 100c
artifactory           |     0000140: 1400 7450 5910 0d14 00e2 5059 100e 1400
artifactory           |     0000150: e650 5910 0f14 0092 5059 1010 1400 9650
artifactory           |     0000160: 5910 1114 0136 5059 1012 1400 9450 5910
artifactory           |     0000170: 1314 015c 5059 1014 1400 8e50 5910 1514
artifactory           |     0000180: 00aa 5059 1016 1400 5450 5910 1714 0164
artifactory           |     0000190: 5059 1018 1401 7450 5910 1914 0122 5059
artifactory           |     00001a0: 101a 1400 fa50 5910 1b14 00a6 5059 101c
artifactory           |     00001b0: 1400 5c50 5910 1d14 0150 5059 101e 1400
artifactory           |     00001c0: 9850 5910 1f14 00f8 5059 1020 1400 b050
artifactory           |     00001d0: 5910 2114 016c 5059 1022 1400 6c50 5910
artifactory           |     00001e0: 2314 00ea 5059 1024 1400 8a50 5910 2514
artifactory           |     00001f0: 011e 5059 1026 1400 ac50 5910 2714 00c8
artifactory           |     0000200: 5059 1028 1400 c050 5910 2914 0112 5059
artifactory           |     0000210: 102a 1400 e850 5910 2b14 0160 5059 102c
artifactory           |     0000220: 1400 da50 5910 2d14 0118 5059 102e 1401
artifactory           |     0000230: 4050 5910 2f14 0170 5059 1030 1400 ba50
artifactory           |     0000240: 5910 3114 0050 50b7 01ba b601 bbb3 0185
artifactory           |     0000250: bb00 3c59 1032 bc0b 5903 1401 7650 5904
artifactory           |     0000260: 1400 c650 5905 1400 ae50 5906 1401 5e50
artifactory           |     0000270: 5907 1401 4250 5908 1400 6050 5910 0614
artifactory           |     0000280: 00d0 5059 1007 1400 6a50 5910 0814 0062
artifactory           |     0000290: 5059 1009 1400 8c50 5910 0a14 00dc 5059
artifactory           |     00002a0: 100b 1400 de50 5910 0c14 0120 5059 100d
artifactory           |     00002b0: 1401 0250 5910 0e14 0084 5059 100f 1401
artifactory           |     00002c0: 3850 5910 1014 0082 5059 1011 1400 7050
artifactory           |     00002d0: 5910 1214 012e 5059 1013 1400 ce50 5910
artifactory           |     00002e0: 1414 013e 5059 1015 1400 5e50 5910 1614
artifactory           |     00002f0: 0132 5059 1017 1400 a450 5910 1814 00c4
artifactory           |     0000300: 5059 1019 1400 d650 5910 1a14 00f0 5059
artifactory           |     0000310: 101b 1400 b450 5910 1c14 00fc 5059 101d
artifactory           |     0000320: 1400 9c50 5910 1e14 007a 5059 101f 1401
artifactory           |     0000330: 3a50 5910 2014 0076 5059 1021 1401 4e50
artifactory           |     0000340: 5910 2214 0126 5059 1023 1401 5850 5910
artifactory           |     0000350: 2414 0106 5059 1025 1400 f250 5910 2614
artifactory           |     0000360: 0154 5059 1027 1401 5a50 5910 2814 00e4
artifactory           |     0000370: 5059 1029 1400 f450 5910 2a14 004e 5059
artifactory           |     0000380: 102b 1400 8850 5910 2c14 0068 5059 102d
artifactory           |     0000390: 1401 6a50 5910 2e14 0148 5059 102f 1401
artifactory           |     00003a0: 1050 5910 3014 00cc 5059 1031 1400 9e50
artifactory           |     00003b0: b701 bab6 01bb b301 86bb 003c 5910 1cbc
artifactory           |     00003c0: 0b59 0314 0056 5059 0414 0104 5059 0514
artifactory           |     00003d0: 014a 5059 0614 0080 5059 0714 011c 5059
artifactory           |     00003e0: 0814 006e 5059 1006 1400 fe50 5910 0714
artifactory           |     00003f0: 0128 5059 1008 1400 ee50 5910 0914 00b6
artifactory           |     0000400: 5059 100a 1401 7a50 5910 0b14 004c 5059
artifactory           |     0000410: 100c 1400 4850 5910 0d14 017e 5059 100e
artifactory           |     0000420: 1401 6850 5910 0f14 00c2 5059 1010 1401
artifactory           |     0000430: 6250 5910 1114 007c 5059 1012 1401 5250
artifactory           |     0000440: 5910 1314 00bc 5059 1014 1400 e050 5910
artifactory           |     0000450: 1514 0072 5059 1016 1400 9a50 5910 1714
artifactory           |     0000460: 00f6 5059 1018 1400 b250 5910 1914 0124
artifactory           |     0000470: 5059 101a 1401 7850 5910 1b14 0134 50b7
artifactory           |     0000480: 01ba b601 bbb3 0187 a700 0301 4cb2 0328
artifactory           |     0000490: b301 83b2 0328 b301 84b1
artifactory           |   Stackmap Table:
artifactory           |     same_frame(@12)
artifactory           |     same_locals_1_stack_item_frame(@13,Integer)
artifactory           |     same_frame_extended(@1163)
artifactory           |
artifactory           |         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:226)
artifactory           |         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
artifactory           |         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326)
artifactory           |         ... 75 common frames omitted
artifactory           | Caused by: java.lang.VerifyError: Bad type on operand stack
artifactory           | Exception Details:
artifactory           |   Location:
artifactory           |     org/jfrog/license/api/a.<clinit>()V @1168: putstatic
artifactory           |   Reason:
artifactory           |     Type 'java/lang/String' (current frame, stack[0]) is not assignable to 'java/util/concurrent/atomic/AtomicBoolean'
artifactory           |   Current Frame:
artifactory           |     bci: @1168
artifactory           |     flags: { }
artifactory           |     locals: { top, null }
artifactory           |     stack: { 'java/lang/String' }
artifactory           |   Bytecode:
artifactory           |     0000000: 123f b601 919a 0007 04a7 0004 03b3 0181
artifactory           |     0000010: 123f b801 dcb3 0182 bb00 3c59 101c bc0b
artifactory           |     0000020: 5903 1401 4650 5904 1400 5250 5905 1400
artifactory           |     0000030: 6450 5906 1401 3c50 5907 1400 6650 5908
artifactory           |     0000040: 1400 d850 5910 0614 0078 5059 1007 1401
artifactory           |     0000050: 1450 5910 0814 00ec 5059 1009 1401 2c50
artifactory           |     0000060: 5910 0a14 005a 5059 100b 1400 d250 5910
artifactory           |     0000070: 0c14 007e 5059 100d 1400 ca50 5910 0e14
artifactory           |     0000080: 00b8 5059 100f 1401 6e50 5910 1014 0100
artifactory           |     0000090: 5059 1011 1400 a050 5910 1214 0172 5059
artifactory           |     00000a0: 1013 1401 0c50 5910 1414 00a8 5059 1015
artifactory           |     00000b0: 1401 0a50 5910 1614 00be 5059 1017 1401
artifactory           |     00000c0: 1650 5910 1814 0130 5059 1019 1401 0e50
artifactory           |     00000d0: 5910 1a14 014c 5059 101b 1400 a250 b701
artifactory           |     00000e0: bab6 01bb b301 84bb 003c 5910 32bc 0b59
artifactory           |     00000f0: 0314 00d4 5059 0414 0156 5059 0514 012a
artifactory           |     0000100: 5059 0614 0144 5059 0714 0090 5059 0814
artifactory           |     0000110: 0058 5059 1006 1401 6650 5910 0714 004a
artifactory           |     0000120: 5059 1008 1401 7c50 5910 0914 0108 5059
artifactory           |     0000130: 100a 1400 8650 5910 0b14 011a 5059 100c
artifactory           |     0000140: 1400 7450 5910 0d14 00e2 5059 100e 1400
artifactory           |     0000150: e650 5910 0f14 0092 5059 1010 1400 9650
artifactory           |     0000160: 5910 1114 0136 5059 1012 1400 9450 5910
artifactory           |     0000170: 1314 015c 5059 1014 1400 8e50 5910 1514
artifactory           |     0000180: 00aa 5059 1016 1400 5450 5910 1714 0164
artifactory           |     0000190: 5059 1018 1401 7450 5910 1914 0122 5059
artifactory           |     00001a0: 101a 1400 fa50 5910 1b14 00a6 5059 101c
artifactory           |     00001b0: 1400 5c50 5910 1d14 0150 5059 101e 1400
artifactory           |     00001c0: 9850 5910 1f14 00f8 5059 1020 1400 b050
artifactory           |     00001d0: 5910 2114 016c 5059 1022 1400 6c50 5910
artifactory           |     00001e0: 2314 00ea 5059 1024 1400 8a50 5910 2514
artifactory           |     00001f0: 011e 5059 1026 1400 ac50 5910 2714 00c8
artifactory           |     0000200: 5059 1028 1400 c050 5910 2914 0112 5059
artifactory           |     0000210: 102a 1400 e850 5910 2b14 0160 5059 102c
artifactory           |     0000220: 1400 da50 5910 2d14 0118 5059 102e 1401
artifactory           |     0000230: 4050 5910 2f14 0170 5059 1030 1400 ba50
artifactory           |     0000240: 5910 3114 0050 50b7 01ba b601 bbb3 0185
artifactory           |     0000250: bb00 3c59 1032 bc0b 5903 1401 7650 5904
artifactory           |     0000260: 1400 c650 5905 1400 ae50 5906 1401 5e50
artifactory           |     0000270: 5907 1401 4250 5908 1400 6050 5910 0614
artifactory           |     0000280: 00d0 5059 1007 1400 6a50 5910 0814 0062
artifactory           |     0000290: 5059 1009 1400 8c50 5910 0a14 00dc 5059
artifactory           |     00002a0: 100b 1400 de50 5910 0c14 0120 5059 100d
artifactory           |     00002b0: 1401 0250 5910 0e14 0084 5059 100f 1401
artifactory           |     00002c0: 3850 5910 1014 0082 5059 1011 1400 7050
artifactory           |     00002d0: 5910 1214 012e 5059 1013 1400 ce50 5910
artifactory           |     00002e0: 1414 013e 5059 1015 1400 5e50 5910 1614
artifactory           |     00002f0: 0132 5059 1017 1400 a450 5910 1814 00c4
artifactory           |     0000300: 5059 1019 1400 d650 5910 1a14 00f0 5059
artifactory           |     0000310: 101b 1400 b450 5910 1c14 00fc 5059 101d
artifactory           |     0000320: 1400 9c50 5910 1e14 007a 5059 101f 1401
artifactory           |     0000330: 3a50 5910 2014 0076 5059 1021 1401 4e50
artifactory           |     0000340: 5910 2214 0126 5059 1023 1401 5850 5910
artifactory           |     0000350: 2414 0106 5059 1025 1400 f250 5910 2614
artifactory           |     0000360: 0154 5059 1027 1401 5a50 5910 2814 00e4
artifactory           |     0000370: 5059 1029 1400 f450 5910 2a14 004e 5059
artifactory           |     0000380: 102b 1400 8850 5910 2c14 0068 5059 102d
artifactory           |     0000390: 1401 6a50 5910 2e14 0148 5059 102f 1401
artifactory           |     00003a0: 1050 5910 3014 00cc 5059 1031 1400 9e50
artifactory           |     00003b0: b701 bab6 01bb b301 86bb 003c 5910 1cbc
artifactory           |     00003c0: 0b59 0314 0056 5059 0414 0104 5059 0514
artifactory           |     00003d0: 014a 5059 0614 0080 5059 0714 011c 5059
artifactory           |     00003e0: 0814 006e 5059 1006 1400 fe50 5910 0714
artifactory           |     00003f0: 0128 5059 1008 1400 ee50 5910 0914 00b6
artifactory           |     0000400: 5059 100a 1401 7a50 5910 0b14 004c 5059
artifactory           |     0000410: 100c 1400 4850 5910 0d14 017e 5059 100e
artifactory           |     0000420: 1401 6850 5910 0f14 00c2 5059 1010 1401
artifactory           |     0000430: 6250 5910 1114 007c 5059 1012 1401 5250
artifactory           |     0000440: 5910 1314 00bc 5059 1014 1400 e050 5910
artifactory           |     0000450: 1514 0072 5059 1016 1400 9a50 5910 1714
artifactory           |     0000460: 00f6 5059 1018 1400 b250 5910 1914 0124
artifactory           |     0000470: 5059 101a 1401 7850 5910 1b14 0134 50b7
artifactory           |     0000480: 01ba b601 bbb3 0187 a700 0301 4cb2 0328
artifactory           |     0000490: b301 83b2 0328 b301 84b1
artifactory           |   Stackmap Table:
artifactory           |     same_frame(@12)
artifactory           |     same_locals_1_stack_item_frame(@13,Integer)
artifactory           |     same_frame_extended(@1163)
artifactory           |
artifactory           |         at org.artifactory.addon.LicenseAddonsManagerImpl.<init>(Artifactory:114)
artifactory           |         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
artifactory           |         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
artifactory           |         at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
artifactory           |         at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
artifactory           |         at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
artifactory           |         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:213)
artifactory           | 2024-08-06T08:59:19.398Z 35[jfob ] [INFO ] [7d8f5450a683f10f] [bootstrap.go:284              ] [main                ] - Services registered with router : [{ServiceId:jfac@01j4kefmfz7r9d0k1s6rj113kb} {ServiceId:jfcon@01j4kefmfz7r9d0k1s6rj113kb} {ServiceId:jfevt@01j4kefmfz7r9d0k1s6rj113kb} {ServiceId:jfmd@01j4kefhjg0cpftyx9d3ag9mmc}] [startup]
artifactory           | 2024-08-06T08:59:19.398Z 35[jfob ] [INFO ] [7d8f5450a683f10f] [bootstrap.go:235              ] [main                ] - Unable to find parent service using router health, trying again... [startup]
artifactory           | 2024-08-06T08:59:19.594Z [jfrou] [WARN ] [223f559c9c528098] [local_topology_helper.go:68   ] [main                ] [] - Missing required services: [jfrt jffe jfob]
artifactory           | 2024-08-06T08:59:19.756Z [jfrou] [WARN ] [39e913701e48cbbc] [local_topology_helper.go:68   ] [main                ] [] - Missing required services: [jfrt jffe jfob]
artifactory           | 2024-08-06T08:59:20.759Z [jfrou] [WARN ] [6b285fa5a64c0977] [local_topology_helper.go:68   ] [main                ] [] - Missing required services: [jfrt jffe jfob]
artifactory           | 2024-08-06T08:59:20.761Z [jfac ] [INFO ] [b9cdeb377b433d4a] [o.j.c.ExecutionUtils:289      ] [jf-common-pool-0    ] - Retry 67 Elapsed 2.19 minutes failed: Router readiness on URL http://localhost:8046/router/api/v1/system/readiness failed with error: Router readiness failed with status 503. Trying again
artifactory           | 2024-08-06T08:59:21.763Z [jfrou] [WARN ] [18ba9fe278d9e7ee] [local_topology_helper.go:68   ] [main                ] [] - Missing required services: [jfrt jffe jfob]
artifactory           | 2024-08-06T08:59:22.628Z [jffe ] [INFO ] [] [frontend-service.log] [main                ] - pinging artifactory, attempt number 190
artifactory           | 2024-08-06T08:59:22.632Z [jffe ] [INFO ] [] [frontend-service.log] [main                ] - pinging artifactory attempt number 190 failed with code : undefined
artifactory           | 2024-08-06T08:59:22.767Z [jfrou] [WARN ] [2a102713babaa5bb] [local_topology_helper.go:68   ] [main                ] [] - Missing required services: [jfrt jffe jfob]
artifactory           | 2024-08-06T08:59:22.768Z [jfac ] [INFO ] [b9cdeb377b433d4a] [o.j.c.ExecutionUtils:289      ] [jf-common-pool-1    ] - Retry 68 Elapsed 2.22 minutes failed: Router readiness on URL http://localhost:8046/router/api/v1/system/readiness failed with error: Router readiness failed with status 503. Trying again
artifactory           | 2024-08-06T08:59:23.771Z [jfrou] [WARN ] [21765079ca82eda4] [local_topology_helper.go:68   ] [main                ] [] - Missing required services: [jfrt jffe jfob]
Lama3L9R commented 3 months ago

Thanks for reporting this issue! It seems like the obfuscated name has changed in the latest version so the agent injected the wrong place. I will made a fix sometime later today. Probably I will use the method mentioned in issue #2. If there is performance issue caused by the fix, I may change it back to my original method.

For now, you can downgrade to a order version to keep your service up, and then after I fix this issue you can upgrade to the latest version again.

4erdenko commented 3 months ago

Oh hi! I was tried this:

package icu.lama.artifactory.agent.patches;

import javassist.CtClass;
import javassist.CtField;
import javassist.Modifier;
import javassist.NotFoundException;
import org.jetbrains.annotations.Nullable;

import java.util.Arrays;

public class PatcherLicenseParser extends ClassPatch {
    public PatcherLicenseParser() {
        super("org.jfrog.license.api.LicenseParser", "org.jfrog.license.api.LicenseManager");
    }

    @Override
    byte[] onTransform(String className, CtClass clazz, byte[] classBuf) throws Throwable {
        var overrides = "";

        var publicKeyFieldD = tryGetDeclaredField(clazz, "d"); // Было c, стало d
        if (publicKeyFieldD != null) {
            publicKeyFieldD.setModifiers(Modifier.PRIVATE + Modifier.STATIC);
            overrides += "d = icu.lama.artifactory.agent.AgentMain.PUBLIC_KEY;";
        }

        var publicKeyFieldE = tryGetDeclaredField(clazz, "e"); // Было d, стало e
        if (publicKeyFieldE != null) {
            publicKeyFieldE.setModifiers(Modifier.PRIVATE + Modifier.STATIC);
            overrides += "e = icu.lama.artifactory.agent.AgentMain.PUBLIC_KEY;";
        }

        var publicKeyFieldF = tryGetDeclaredField(clazz, "f"); // Новое поле f
        if (publicKeyFieldF != null) {
            publicKeyFieldF.setModifiers(Modifier.PRIVATE + Modifier.STATIC);
            overrides += "f = icu.lama.artifactory.agent.AgentMain.PUBLIC_KEY;";
        }

        var publicKeyFieldNObf = tryGetDeclaredField(clazz, "jfrogPublicKey");
        if (publicKeyFieldNObf != null) {
            publicKeyFieldNObf.setModifiers(Modifier.PRIVATE + Modifier.STATIC);
            overrides += "jfrogPublicKey = icu.lama.artifactory.agent.AgentMain.PUBLIC_KEY;";
        }

        var clinitMethod = Arrays.stream(clazz.getDeclaredBehaviors()).filter((it) -> "<clinit>".equals(it.getMethodInfo().getName())).findAny();
        if (!clinitMethod.isPresent()) {
            throw new Throwable("Corrupted class!");
        }

        clinitMethod.get().insertAfter(overrides);

        clazz.detach();
        return clazz.toBytecode();
    }

    private @Nullable CtField tryGetDeclaredField(CtClass clazz, String field) {
        try {
            return clazz.getDeclaredField(field);
        } catch (NotFoundException e) {
            return null;
        }
    }
}

Its works but get some error when init

`artifactory-ha-0.license.key`. Not trying again (exceeded number of attempts (5))
2024-08-07T20:26:15.096Z [jfrt ] [ERROR] [8214905df05069a1] [o.a.l.v.log:334               ] [art-init            ] - Failed to activate license
java.util.concurrent.ExecutionException: org.jfrog.common.ExecutionFailed: Last retry failed: Could not update configuration for key `artifactory-ha-0.license.key`. Not trying again (exceeded number of attempts (5))
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
    at io.vavr.control.Try.of(Try.java:75)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.updateConfig(GrpcPlatformConfigClientImpl.java:169)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.setConfig(GrpcPlatformConfigClientImpl.java:247)
    at org.jfrog.access.client.platformconfig.LicenseClientImpl.add(LicenseClientImpl.java:31)
    at org.artifactory.security.access.AccessServiceImpl.sendLicenseToAccess(AccessServiceImpl.java:2003)
    at org.artifactory.security.access.AccessServiceImpl.onLicenseLoaded(AccessServiceImpl.java:1847)
    at java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647)
    at org.artifactory.addon.LicenseAddonsManagerImpl.activateLicense(Artifactory:322)
    at org.artifactory.addon.LicenseAddonsManagerImpl.prepareAddonManager(Artifactory:148)
    at org.artifactory.addon.AddonsManagerImpl.prepareAddonManager(Artifactory:109)
    at org.artifactory.addon.AddonsManagerImpl.onBeforeContextCreated(Artifactory:578)
    at org.artifactory.spring.ArtifactoryApplicationContext.onBeforeContextCreated(ArtifactoryApplicationContext.java:392)
    at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:310)
    at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:183)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at org.artifactory.lifecycle.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:272)
    at org.artifactory.lifecycle.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:127)
Caused by: org.jfrog.common.ExecutionFailed: Last retry failed: Could not update configuration for key `artifactory-ha-0.license.key`. Not trying again (exceeded number of attempts (5))
    at org.jfrog.common.ExecutionUtils.handleStopError(ExecutionUtils.java:307)
    at org.jfrog.common.ExecutionUtils.handleFunctionExecution(ExecutionUtils.java:197)
    at org.jfrog.common.ExecutionUtils.lambda$generateExecutionRunnable$1(ExecutionUtils.java:135)
    at org.jfrog.common.ExecutionUtils$MDCRunnableDecorator.run(ExecutionUtils.java:323)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
    at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.jfrog.common.RetryException: Could not update configuration for key `artifactory-ha-0.license.key`
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.lambda$getConfigApplier$11(GrpcPlatformConfigClientImpl.java:186)
    at io.vavr.API$Match$Case0.apply(API.java:5135)
    at io.vavr.API$Match.option(API.java:5105)
    at io.vavr.control.Try.mapFailure(Try.java:602)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.getConfigApplier(GrpcPlatformConfigClientImpl.java:184)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.lambda$updateConfig$5(GrpcPlatformConfigClientImpl.java:168)
    at org.jfrog.common.ExecutionUtils.handleFunctionExecution(ExecutionUtils.java:190)
    ... 9 common frames omitted
Caused by: io.grpc.StatusRuntimeException: INTERNAL: Cannot invoke "org.jfrog.access.server.service.license.License.getProducts()" because "license" is null
    at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
    at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
    at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
    at org.jfrog.access.proto.generated.PlatformConfigResourceGrpc$PlatformConfigResourceBlockingStub.setConfig(PlatformConfigResourceGrpc.java:498)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.lambda$getConfigApplier$9(GrpcPlatformConfigClientImpl.java:182)
    at io.vavr.control.Try.mapTry(Try.java:634)
    at io.vavr.control.Try.map(Try.java:585)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.getConfigApplier(GrpcPlatformConfigClientImpl.java:180)
    ... 11 common frames omitted
2024-08-07T20:26:16.980Z [jfrt ] [ERROR] [8214905df05069a1] [o.j.c.ExecutionUtils:305      ] [jf-common-pool-0    ] - Last retry failed: Could not update configuration for key `artifactory-ha-0.license.key`. Not trying again (exceeded number of attempts (5))
2024-08-07T20:26:16.981Z [jfrt ] [ERROR] [8214905df05069a1] [o.a.l.v.log:334               ] [art-init            ] - Failed to activate license
java.util.concurrent.ExecutionException: org.jfrog.common.ExecutionFailed: Last retry failed: Could not update configuration for key `artifactory-ha-0.license.key`. Not trying again (exceeded number of attempts (5))
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
    at io.vavr.control.Try.of(Try.java:75)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.updateConfig(GrpcPlatformConfigClientImpl.java:169)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.setConfig(GrpcPlatformConfigClientImpl.java:247)
    at org.jfrog.access.client.platformconfig.LicenseClientImpl.add(LicenseClientImpl.java:31)
    at org.artifactory.security.access.AccessServiceImpl.sendLicenseToAccess(AccessServiceImpl.java:2003)
    at org.artifactory.security.access.AccessServiceImpl.onLicenseLoaded(AccessServiceImpl.java:1847)
    at java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647)
    at org.artifactory.addon.LicenseAddonsManagerImpl.activateLicense(Artifactory:322)
    at org.artifactory.addon.LicenseAddonsManagerImpl.prepareAddonManager(Artifactory:148)
    at org.artifactory.addon.LicenseAddonsManagerImpl.onBeforeContextCreated(Artifactory:1188)
    at org.artifactory.spring.ArtifactoryApplicationContext.onBeforeContextCreated(ArtifactoryApplicationContext.java:392)
    at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:310)
    at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:183)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at org.artifactory.lifecycle.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:272)
    at org.artifactory.lifecycle.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:127)
Caused by: org.jfrog.common.ExecutionFailed: Last retry failed: Could not update configuration for key `artifactory-ha-0.license.key`. Not trying again (exceeded number of attempts (5))
    at org.jfrog.common.ExecutionUtils.handleStopError(ExecutionUtils.java:307)
    at org.jfrog.common.ExecutionUtils.handleFunctionExecution(ExecutionUtils.java:197)
    at org.jfrog.common.ExecutionUtils.lambda$generateExecutionRunnable$1(ExecutionUtils.java:135)
    at org.jfrog.common.ExecutionUtils$MDCRunnableDecorator.run(ExecutionUtils.java:323)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
    at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.jfrog.common.RetryException: Could not update configuration for key `artifactory-ha-0.license.key`
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.lambda$getConfigApplier$11(GrpcPlatformConfigClientImpl.java:186)
    at io.vavr.API$Match$Case0.apply(API.java:5135)
    at io.vavr.API$Match.option(API.java:5105)
    at io.vavr.control.Try.mapFailure(Try.java:602)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.getConfigApplier(GrpcPlatformConfigClientImpl.java:184)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.lambda$updateConfig$5(GrpcPlatformConfigClientImpl.java:168)
    at org.jfrog.common.ExecutionUtils.handleFunctionExecution(ExecutionUtils.java:190)
    ... 9 common frames omitted
Caused by: io.grpc.StatusRuntimeException: INTERNAL: Cannot invoke "org.jfrog.access.server.service.license.License.getProducts()" because "license" is null
    at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
    at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
    at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
    at org.jfrog.access.proto.generated.PlatformConfigResourceGrpc$PlatformConfigResourceBlockingStub.setConfig(PlatformConfigResourceGrpc.java:498)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.lambda$getConfigApplier$9(GrpcPlatformConfigClientImpl.java:182)
    at io.vavr.control.Try.mapTry(Try.java:634)
    at io.vavr.control.Try.map(Try.java:585)
    at org.jfrog.access.client.platformconfig.GrpcPlatformConfigClientImpl.getConfigApplier(GrpcPlatformConfigClientImpl.java:180)
    ... 11 common frames omitted
Lama3L9R commented 3 months ago

Thanks for the report. I will investigate on this. Can you also provide the license as well?

4erdenko commented 3 months ago

Sure. Im not changing Keygen, so:

eyJzaWduYXR1cmUiOiJLZG5TNXRIVnBSbDJTa1hCUHF6d1NPUzdhOWs4SnV3U2pBMXZnSHh5b1lR
dVZ4Y2FCTmNwV2FHZ3VneFNma1lWaFVlK0NFYW5DNVJ2V2cyMzVVa3RQQ2JEK0owMHlJZkVBM3cx
eEdwTG5mVEUvNjNJMysxVVNZdzdnU2g2VVRDRnA3UWhMaDVLVXBLbnVSd3BzSlJRMGJJZUozdzVn
eW9JdWZVZFBWS0VaQm5LUmdFZmh6VVhzV0FKUkxGTWdxVkdkZlkrbXdlV0IwZENPV1hiVjFHbSt1
RW1MbTQvNmpqUXJZVEMxaVFkMUo0T1ZNQ3NEWGtmbWdBMTB3elhDUVhzMXdxSSt3RVV5c29ZRWFs
VkF5OEMveDRWc1dZbXM3ZkgwQlphMkZxK0J0dTNxZ1BXVjU1ZjBkenRncU85QVhTN0d1b21EV2Y4
S1lZQVBuSytEZmZiYkhqOXk3Y0NKSW1xQmppVUlTVWRTNVZiWEFOblpDTVo5NW5QZHBkQTVQNjRJ
cW4rVXZzdkF0eGZxZHpWclh6MnJRRHNrZWMzUmtDc2MxU2tjSmY1UWdpdVd5OHBOdDZhd1N3OVNh
UGdFYXhpVms0anplNVNlY0JyYkJWNVR6aytzc0NzU0ZJK0ZGWlNGMXNKNVN2K2tMK05WV0pseWVT
UUhrOStFRktScHEwWlg2bkNIUmNQc2RudmhBemFDRmcyNnVjNHN3ODBqTDhoL1BWcDFxTmx1TDlL
RWJLakFrWXR3WDl4bmNPMnBVUFBzcVg5am15cGx2VCt4c2RMd1kwU3dORFlQR2FkL25rOXRuVWwx
NjdNUXBXTWJLQWJxZitNNmtNakJwbDk4Z00rUXhRS0s5TENKd0FVaFlDU2JSaStzT085bUtQeHNi
WkloZDBVZU5iOXNvaz0iLCJsaWNlbnNlIjoiY0hKdlpIVmpkSE02Q2lBZ1lYSjBhV1poWTNSdmNu
azZDaUFnSUNCd2NtOWtkV04wT2lCYVdHaDNZVmhLYkdONmIyZE5ha1YzVFVNd2QwMVRNSHBOVmxG
NVRVUnZNVTFVYjNkTmVUUjZUV3BPWVVOdGJHdFBhVUpvWTI1U2NGcHRSbXBrUnpsNVpWRndkbVF5
Tld4amFtOW5Za2RHZEZsWFVtaGFWekYyWW1kd2QyTnRPWGRhV0Vvd1lWZFdlazlwUWpkbVVYQjZZ
VmRrZFZsWVVqRmpiVlUyU1VjMU1XSkhkMHRrU0Vwd1dWZDNOa2xIV21oaVNFNXNRMjVTTldOSFZU
WkpSVlpQVmtWV1UxVkdTa3BWTUZabVZVVjRWbFYzY0RKWlYzaHdXa1ZhZVdJeU1EWkpSRWwzVFdw
UmRFMUVaM1JOUkdSVlRXcEJOazVVUlRaTlJHZDFUbFJKZWxkbmJ6MEtJQ0FnSUhOcFoyNWhkSFZ5
WlRvZ1dIZDFZVEoxUzJkdmNEbGFaRWhQUTFvclJUTm5OVllyZVhvMk1HVjBhVVIzUTJWd1ptaFBl
RUZqYVVkRGFGcGthell6ZUZkdlJEY3hkSHBuYXpCWFRuSXZaRkpUZERGcmREVkxhVUppVVZwVVNU
VnhXbmhoYUUxMWQzQlNiMUFyUkZCdWQwTXdjVXhqVDFSTmFWZFNjR3RhT1dKa05IY3dhemxQTjFs
RmNuazFVRXd6UTJoa05YZFhPV2xrUTI4NEwzcFNUV053YTA1NFZsSlNhM1oxVXpsdE9XZGhRM2Ny
YnpkWGNYZFhTWFJKYjFSRGRrUkJjelJLTWtoNGNIa3lNMnBMTm5Ka1ZtTnNSRmhzVFV4bGRrWjZh
MlV4WWk5U1RHTnFZM0p5VVUxWlZFWkNXWE5HWjBsRFptdzFhMjVTVGpGeFdrMUZTakF6YUVSa1JW
SXdkeTlQYjBkTWFrNHZSekpxTm5aRVozcHVkM0I0U25SU1dtNXhkekZpUVUxek9XRlhhMDlUUVZC
eVZEQmhWVEJCTDNCUVlraE9lR1oyTVhsdGJFSjZVR2t6UmpnMmQzZE9WMFpUTUdaS1lUQmtlR2xM
Y2xoTWFEZHpNWGRHUTFkcFNHRTBWSGRxZWpKSGQzRXpiek5QZEZsaVFtNHpkMXBoV1RSU2FtNUZT
bXR2VFZaVFpERllTRzltV0RCQmNYUlBhazl4YUd3MVkwUk1TVmRuVmxOQldsaFhORFpWYWtSeWRs
VnJRMk52VlZBeUsyWkdNVEJQTkZkVFZWQXdUMk00U21Gb2NqTmtWMFI0WmpaUVlqSmhlRmhaYmpn
MU0yWXdjalkyVG1RemJUWXlNRFJuVldOelYyaGlXRWx2VVhobkwyRnlRVFEyYm5sQ2FsVjBia2RR
Um1ORlZXRnBhbmxFVFZSS2NXNXhPSFpGSzFkTWExRkNhM2gyYkRRdldFRnhZVXR1VDNOTVlqUjBS
R2syU1VSdE9EVnplVk5pVGs5cFNFeDNTR1ZUTURSM1JVUXpWVTVLWTJ4dVdtTjVURmM0T1hScGFI
VmFjMDQyVG1JdmREWTJkbkU0U21ncllXRjFNMGxNWkZBMlMyNXFWVTE1Ykd0RWQyVTRUazFXUmpV
eFRtTnNWV3R4YUZaUE5HdEViMjR2WmpCVEsxSTNaMUUwTWtORWN6WlZhRTlDYjI5VGFrVlZWSFpI
YmpBOUNuWmhiR2xrWVhSbFQyNXNhVzVsT2lCbVlXeHpaUXAyWlhKemFXOXVPaUF5Q2c9PSJ9

I pass the licenses in advance in values.yaml (via HELM). Therefore, they are initialized immediately and, despite the error, they work in version 7.90.5. Now I'm trying in 7.90.6.

Lama3L9R commented 3 months ago

942ef8d should work on the latest version. However, I have trouble deploying Artifactory, so I can't really test it. I will keep this issue open until I or maybe you can help me tested out.

4erdenko commented 3 months ago

@Lama3L9R I compiled new jar files, created new keys, and deployed them. The keys, just like in my version where I only changed the patcher file, worked and were added.

But there is still an error in the logs. I pass the keys in advance in 1 file during deployment.

The first block of the error in the file is related to the keys that I pass in advance in the file. The second block, which is slightly lower and larger, is related to how I added another key through the UI. Visually, the process does not complete, but the key is added. artifactory2.log

Lama3L9R commented 3 months ago

Thanks for reporting! Since I had trouble deploying the server, I can't debug those errors, since I have never got a chance to let Artifactpry verify my license. When I run Artifactory on my machine, the router component seems malfunctioning, which caused /ui/ to return a 404 error. Currently, I still didn't figure it out. I will try run the server in a clean virtual machine.

4erdenko commented 3 months ago

Thanks for reporting! Since I had trouble deploying the server, I can't debug those errors, since I have never got a chance to let Artifactpry verify my license. When I run Artifactory on my machine, the router component seems malfunctioning, which caused /ui/ to return a 404 error. Currently, I still didn't figure it out. I will try run the server in a clean virtual machine.

Yes, I am using a separate server for this. I can suggest this compose file that I initially checked. It will be easier than Helm in K8s.

services:
  postgres:
    image: postgres:13
    container_name: artifactory-postgres
    environment:
      POSTGRES_DB: artifactory
      POSTGRES_USER: artifactory
      POSTGRES_PASSWORD: password
    volumes:
      - postgres-data:/var/lib/postgresql/data
    ports:
      - "5432:5432"

  artifactory:
    image: releases-docker.jfrog.io/jfrog/artifactory-pro:7.90.6
    container_name: artifactory
    ports:
      - "8081:8081"
      - "8082:8082"
    depends_on:
      - postgres
    volumes:
      - artifactory-data:/var/opt/jfrog/artifactory
      - ./ArtifactoryAgent-1.0-SNAPSHOT-all.jar:/opt/jfrog/artifactory/var/bootstrap/ArtifactoryAgent-1.0-SNAPSHOT-all.jar
    environment:
      - JF_ROUTER_ENTRYPOINTS_EXTERNALPORT=8082
      - JF_SHARED_DATABASE_TYPE=postgresql
      - JF_SHARED_DATABASE_DRIVER=org.postgresql.Driver
      - JF_SHARED_DATABASE_URL=jdbc:postgresql://postgres:5432/artifactory
      - JF_SHARED_DATABASE_USERNAME=artifactory
      - JF_SHARED_DATABASE_PASSWORD=password
      - EXTRA_JAVA_OPTIONS=-javaagent:/opt/jfrog/artifactory/var/bootstrap/ArtifactoryAgent-1.0-SNAPSHOT-all.jar
    restart: unless-stopped
    ulimits:
      nproc: 65535
      nofile:
        soft: 32000
        hard: 40000

volumes:
  artifactory-data:
  postgres-data:

By the way, the agent's position inside the container doesn't actually matter; it can be run from other locations as well.

4erdenko commented 3 months ago

@Lama3L9R Hey! How its going ? Can i help you?

GnusOriginal commented 3 months ago

@Lama3L9R Hi Would you mind to release latest version binaries for testing? Weak in Java to build it myself :(

Lama3L9R commented 3 months ago

Sorry, I was so busy these days. I really want focus on this project but I have to do other things. I will post the agent fix binaries later today. Maybe for that error, if it doesn't really affect anything, let's just ignore it for now.

4erdenko commented 3 months ago

Sorry, I was so busy these days. I really want focus on this project but I have to do other things. I will post the agent fix binaries later today. Maybe for that error, if it doesn't really affect anything, let's just ignore it for now.

I am ready to actively collaborate in testing; we could exchange Telegram contacts, for example. The error doesn't seem to have an impact, but I still don't fully understand it. I add the keys in advance during deployment.

GnusOriginal commented 3 months ago

Hi I've managed to build .jar files, but in debt on how the .war files was built? Internet says: there should be some SpringBootServletInitializer subclass, which I can't find in the source code

Lama3L9R commented 3 months ago

There shouldn't be any war files at all. Use the agent as a Java Agent (java -javaagent:/path/to/agent.jar). Old keygen will work.

Lama3L9R commented 3 months ago

Oops, accidentally pressed on close with comment. This issue will mainly focus on those weird exceptions from now.

Lama3L9R commented 3 months ago

Sorry, I was so busy these days. I really want focus on this project but I have to do other things. I will post the agent fix binaries later today. Maybe for that error, if it doesn't really affect anything, let's just ignore it for now.

I am ready to actively collaborate in testing; we could exchange Telegram contacts, for example. The error doesn't seem to have an impact, but I still don't fully understand it. I add the keys in advance during deployment.

Sure, @hereLamadaemon on Telegram

GnusOriginal commented 3 months ago

With Agent from master it works on 7.90.5. However console.log contains license-related WARN:

2024-08-25T09:20:01.042Z [jfac ] [WARN ] [48ffc605f055e3a5] [l.LegacyLicenseServiceImpl:274] [c-default-executor-1] - Invalid license.
org.jfrog.license.exception.LicenseException: Failed to decrypt license: last block incomplete in decryption
        at org.jfrog.license.legacy.LegacyLicenseManager.decrypt(LegacyLicenseManager.java:145)
        at org.jfrog.license.legacy.LegacyLicenseManager.load(LegacyLicenseManager.java:89)
        at org.jfrog.license.api.LicenseManager.loadLegacyLicense(LicenseManager.java:250)
        at org.jfrog.license.api.LicenseManager.loadLicense(LicenseManager.java:108)
        at org.jfrog.access.server.service.license.LegacyLicenseServiceImpl.loadLicense(LegacyLicenseServiceImpl.java:272)
        at org.jfrog.access.server.service.license.LicenseRegistratorHandlerEventListener.lambda$getLicensesAndHashes$5740e2c0$1(LicenseRegistratorHandlerEventListener.java:143)
        at io.vavr.control.Try.of(Try.java:75)
        at org.jfrog.access.server.service.license.LicenseRegistratorHandlerEventListener.lambda$getLicensesAndHashes$8(LicenseRegistratorHandlerEventListener.java:143)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
        at org.jfrog.access.server.service.license.LicenseRegistratorHandlerEventListener.getLicensesAndHashes(LicenseRegistratorHandlerEventListener.java:148)
        at org.jfrog.access.server.service.license.LicenseRegistratorHandlerEventListener.handleLicenseConfigUpdate(LicenseRegistratorHandlerEventListener.java:55)
        at org.jfrog.access.server.service.license.LicenseRegistratorHandlerEventListener.listenToLicenseChanges(LicenseRegistratorHandlerEventListener.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344)
        at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229)
        at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:145)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:430)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
        at org.jfrog.access.server.service.platformconfig.PlatformConfigService.publishConfigUpdate(PlatformConfigService.java:157)
        at org.jfrog.access.server.service.platformconfig.PlatformConfigService.publishUpdateEvents(PlatformConfigService.java:143)
        at org.jfrog.access.server.service.platformconfig.PlatformConfigService.publishUpdateEvents(PlatformConfigService.java:139)
        at org.jfrog.access.server.service.platformconfig.PlatformConfigService.updateConfiguration(PlatformConfigService.java:104)
        at org.jfrog.access.server.rpc.service.PlatformConfigServiceDelegate.lambda$setConfig$0(PlatformConfigServiceDelegate.java:45)
        at org.jfrog.access.server.rpc.service.GrpcResponseUtils.respond(GrpcResponseUtils.java:19)
        at org.jfrog.access.server.rpc.service.PlatformConfigServiceDelegate.setConfig(PlatformConfigServiceDelegate.java:42)
        at org.jfrog.access.server.rpc.service.RpcPlatformConfigResource.lambda$setConfig$0(RpcPlatformConfigResource.java:46)
        at org.jfrog.access.server.rpc.service.RpcPlatformConfigResource.setErrorInResObserverIfJfconfigEnabled(RpcPlatformConfigResource.java:86)
        at org.jfrog.access.server.rpc.service.RpcPlatformConfigResource.setConfig(RpcPlatformConfigResource.java:45)
        at org.jfrog.access.proto.generated.PlatformConfigResourceGrpc$MethodHandlers.invoke(PlatformConfigResourceGrpc.java:677)
        at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182)
        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
        at org.jfrog.access.server.rpc.service.WrappingSimpleForwardingCallListener.lambda$onHalfClose$0(WrappingSimpleForwardingCallListener.java:15)
        at org.jfrog.access.server.rpc.service.interceptor.TokenServerInterceptor$AuthenticationWrappingSimpleForwardingCallListener.wrap(TokenServerInterceptor.java:87)
        at org.jfrog.access.server.rpc.service.WrappingSimpleForwardingCallListener.onHalfClose(WrappingSimpleForwardingCallListener.java:15)
        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
        at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86)
        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
        at org.jfrog.access.server.rpc.service.interceptor.ExceptionHandler$ExceptionHandlingServerCallListener.onHalfClose(ExceptionHandler.java:56)
        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
        at org.jfrog.access.server.rpc.service.WrappingSimpleForwardingCallListener.lambda$onHalfClose$0(WrappingSimpleForwardingCallListener.java:15)
        at org.jfrog.access.server.rpc.service.interceptor.TracerServerInterceptor$ContextServerCallListener.wrap(TracerServerInterceptor.java:80)
        at org.jfrog.access.server.rpc.service.WrappingSimpleForwardingCallListener.onHalfClose(WrappingSimpleForwardingCallListener.java:15)
        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
        at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86)
        at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:356)
        at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:861)
        at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
        at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: javax.crypto.IllegalBlockSizeException: last block incomplete in decryption
        at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(Unknown Source)
        at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2205)
        at org.jfrog.license.legacy.LegacyLicenseManager.decrypt(LegacyLicenseManager.java:142)
        ... 78 common frames omitted
Lama3L9R commented 3 months ago

I think this is probably because there are two copies of LicenseManager in Artifactory, and one of them is obfuscated version and another one is the normal one. I found this when I first released this crack, but at that time, if you don't patch the normal one, it will not work. In the current version, this is not a problem. So my point is, this issue is probably because Artifactory's code is terribly bad.As long as the agent is working, it should be fine.