System.Exception: Type VstsSyncMigrator.Engine.WorkItemMigrationContext not found - azure-devops-migration-tools

enter image description here
I am using the version of 11.5.17.0 and facing the error while running the json file as follows. Please check the attcahed file aslo.
Error : System.Exception: Type VstsSyncMigrator.Engine.WorkItemMigrationContext not found.
at MigrationTools.Engine.Containers.ProcessorContainer.Configure() in D:\a\1\s\src\MigrationTools\Engine\Containers\ProcessorContainer.cs:line 60
at MigrationTools.MigrationEngine.Run() in D:\a\1\s\src\MigrationTools\MigrationEngine.cs:line 85
at MigrationTools.ExecuteHostedService.b__6_1() in D:\a\1\s\src\MigrationTools\ExecuteHostedService.cs:line 45
[17:05:56 INF] Application is shutting down...
[17:05:56 INF] Application Ending
[17:05:56 INF] The application ran in 00:00:01.9911715 and finished at 10/09/2020 17:05:56

It looks like you are using an outdated configuration.json format.
Changed config design to have only the Name and not FullName of the
class. Remove MigrationTools.Core.Configuration.FieldMap. and
MigrationTools.Core.Configuration.Processing. from the config leaving
only the Name of the class in ObjectType field.
This was updated in v10.1 and the easiest way to get around it is to create a new empty config using migrator.exe init and then port your customisations into the new format.

Related

In STS, server up error : org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class

In STS after converting from Java 11 to Java 17. While making the server up, getting the following error.
{"#timestamp":"2022-12-21T11:09:36.129-08:00","#version":"1","message":"Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.package.name]","logger_name":"org.springframework.context.annotation.AnnotationConfigApplicationContext","thread_name":"main","level":"WARN"}
{"#timestamp":"2022-12-21T11:09:36.147-08:00","#version":"1","message":"\r\n\r\nError starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.","logger_name":"org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger","thread_name":"main","level":"INFO"}
{"#timestamp":"2022-12-21T11:09:36.193-08:00","#version":"1","message":"Application run failed","logger_name":"org.springframework.boot.SpringApplication","thread_name":"main","level":"ERROR","stack_trace":"org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class
Build is successfull. But unable to up the server. Is any config or dependency are missing ? Converting from java 11 to Java 17 in STS.

Red5 Service Fails to Start on Win 10 - Incorrect Function

I installed Red5. Service installed ok, but when I manually try to start it, I get the following error in my Windows Event Log:
"The Red5 Media Server service terminated with the following service-specific error:
Incorrect function"
In the commons-daemon.log, I see the following:
[2017-05-17 20:36:54] [info] [11044] Starting service...
[2017-05-17 20:36:54] [error] [11044] Failed creating java
[2017-05-17 20:36:54] [error] [11044] ServiceStart returned 1
[2017-05-17 20:36:54] [info] [13816] Run service finished.
[2017-05-17 20:36:54] [info] [13816] Commons Daemon procrun finished
Event ID was 7024. Any help would be appreciated. Thanks!
Had the same issue on Windows Server 2012 R2. Solution was to install the latest release of the Java SE Development Kit. In my case I just installed Java SE DK 8U144: http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-windows-x64.exe
I resolved it by setting up the rtmp:// url correctly. I did not enter in a stream name, as I thought the name parameter above the rtmp text box would do it for me.
It works, but it seems that the chip in my Note 5 just doesn't have the cpu power to stream smoothly, although I will admit I have only spent about 20 minutes trying to tune settings for best performance on my Sprint cell service.
Thank you for your quick reply.

File appender throws java.lang.NullPointerException

I am running kaa 0.10 on ubuntu 14. When I choose File appender, I do not see any log file created. The kaa log at /var/log/kaa has the exception:
2017-02-16 22:10:47,890 [EPS-log-dispatcher-10] TRACE o.k.k.s.c.l.s.a.AbstractLogAppender - Avro header record converter [org.kaaproject.kaa.common.avro.GenericAvroConverter#6ee5ba4b]
2017-02-16 22:10:47,890 [EPS-log-dispatcher-10] DEBUG o.k.k.s.a.f.a.FileSystemLogAppender - [/home/ubuntu/log/null/null] saving 5 objects
2017-02-16 22:10:47,891 [EPS-log-dispatcher-10] ERROR o.k.k.s.a.f.a.FileSystemLogAppender - [DataCollectionFileAppender] Attempted to append logs failed
java.lang.NullPointerException: null
at org.kaaproject.kaa.server.appenders.file.appender.LogbackFileSystemLogger.append(LogbackFileSystemLogger.java:92) ~[file-appender-0.10.0.jar:na]
at org.kaaproject.kaa.server.appenders.file.appender.FileSystemLogAppender.doAppend(FileSystemLogAppender.java:63) ~[file-appender-0.10.0.jar:na]
at org.kaaproject.kaa.server.common.log.shared.appender.AbstractLogAppender.doAppend(AbstractLogAppender.java:74) [log-shared-0.10.0.jar:na]
at org.kaaproject.kaa.server.operations.service.akka.actors.core.ApplicationLogActorMessageProcessor.lambda$processLogEventPack$0(ApplicationLogActorMessageProcessor.java:111) [kaa-node-0.10.0.jar:na]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_121]
at org.kaaproject.kaa.server.operations.service.akka.actors.core.ApplicationLogActorMessageProcessor.processLogEventPack(ApplicationLogActorMessageProcessor.java:111) [kaa-node-0.10.0.jar:na]
at org.kaaproject.kaa.server.operations.service.akka.actors.core.ApplicationLogActor.onReceive(ApplicationLogActor.java:59) ~[kaa-node-0.10.0.jar:na]
Here is my File appender configuration:
{"publicKey":"AAAAB3NzaC1yc2EAAAABJQAAAQEA4Tp8W48b31VDlb9ARbqpsK8dwER3d+OD8gOp7H8kwPBj6IICZILYVsns3ngAHJtJYOEkGCPlOMudF8iWtmdkcEvVo7X/Nrvn//MW7ze36B7rUx0u86jBS4Cg19GxCtKG2LnyEp0Rk+9YvEfI99kFxmRoT3yHrtwWxkQ7fxfLQ4AUuhdBlpeoepYksoNWpy0CNdAEL6vzI3nl+EaQcesdNgUu6LlUzOl7Z3Qo8sOXCfSHvACzMnfVfEMOmO7arHmDcIlegb7stuCUE5YuuKbGofeEAwuARLROwlvHfeMJPhpHOv6+Q/39SZLqu+FfWDdrGEn9+9+UGAlZ2iN6SYYD7w==","logsRootPath":"/home/ubuntu/log","rollingFileNamePatern":"logFile.%d{yyyy-MM-dd}.log","rollingMaxHistory":30,"triggerMaxFileSize":"1GB","encoderPattern":"%-4relative[%thread]%-5level%logger{35}-%msg%n","minLogSchemaVersion":1,"maxLogSchemaVersion":2147483647,"pluginTypeName":"File","pluginClassName":"org.kaaproject.kaa.server.appenders.file.appender.FileSystemLogAppender","headerStructure":["Timestamp","Logschemaversion"]}
I tried the same configuration in the kaa sandbox which worked fine. But I cannot make it work on my own server.
Please help. Thanks.
James
You got an ERROR o.k.k.s.a.f.a.FileSystemLogAppender - Failed to init file system log appender:..
Looks like the file system log appender was not initialised because log directory "logsRootPath":"/home/ubuntu/log" was not created.
Create "/home/ubuntu/log" directory manually and after that add your File system log appender at Administration UI page.
Update:
Looks like user 'kaa' has not privileged to create 'Logs root path' directory. I have created an issue to improve the File system log appender documentation. See the issue description for details and add line
kaa ALL=(ALL:ALL) ALL
to the /etc/sudoers file.

Error running akka-http-microservice Activator template

Error running akka-http-microservice Activator template
Unable to run example template: akka-http-microservice from the Activator
Project builds, but on running, unable to access URL,
http://localhost:9000/ip/8.8.8.8
getting
'Internal Server Error'
Error on running service: [ERROR] [04/21/2016 12:06:35.506]
[default-akka.actor.default-dispatcher-10]
[akka://default/user/StreamSupervisor-0/flow-2-0-unknown-operation]
Error in stage [One2OneBidi]: Inner stream finished before inputs
completed. Outputs might have been truncated.
(akka.http.impl.util.One2OneBidiFlow$OutputTruncationException$)
This is just with code taken directly from downloaded template *.zip file.
Running on Mac OSx, El Capitan. Running Scala v2.10.3.
Activator v1.3.9
============
(update) still a problem after attempted fix from tutorials support team:
[DEBUG] [04/22/2016 11:58:47.749] [default-akka.actor.default-dispatcher-2] [akka://default/system/IO-TCP/selectors/$a/2] Connection established to [freegeoip.net/104.131.63.168:80]
[ERROR] [04/22/2016 11:58:47.832] [default-akka.actor.default-dispatcher-2] [akka://default/user/StreamSupervisor-0/flow-2-0-unknown-operation] Error in stage [One2OneBidi]: Inner stream finished before inputs completed. Outputs might have been truncated. (akka.http.impl.util.One2OneBidiFlow$OutputTruncationException$)
[ERROR] [04/22/2016 11:58:47.851] [default-akka.actor.default-dispatcher-3] [akka.actor.ActorSystemImpl(default)] Error during processing of request HttpRequest(HttpMethod(GET),http://localhost:9000/ip/8.8.8.8,List(Host: localhost:9000, C
Most responsive help forums related to this issue are:
1) Activator templates
https://github.com/theiterators/akka-http-microservice/issues
2) Akka Mailing List
https://groups.google.com/forum/#!forum/akka-user
I got a response from the company supporting the Activator template tutorials here; and they have fixed the transient issue: https://github.com/theiterators/akka-http-microservice/issues/21
HOWEVER -- I tried running the Service again, and it looks like there's still a problem:
[DEBUG] [04/22/2016 11:58:47.749] [default-akka.actor.default-dispatcher-2] [akka://default/system/IO-TCP/selectors/$a/2] Connection established to [freegeoip.net/104.131.63.168:80]
[ERROR] [04/22/2016 11:58:47.832] [default-akka.actor.default-dispatcher-2] [akka://default/user/StreamSupervisor-0/flow-2-0-unknown-operation] Error in stage [One2OneBidi]: Inner stream finished before inputs completed. Outputs might have been truncated. (akka.http.impl.util.One2OneBidiFlow$OutputTruncationException$)
[ERROR] [04/22/2016 11:58:47.851] [default-akka.actor.default-dispatcher-3] [akka.actor.ActorSystemImpl(default)] Error during processing of request HttpRequest(HttpMethod(GET),http://localhost:9000/ip/8.8.8.8,List(Host: localhost:9000, C
Tried instead to download LATEST tutorial template; and overwrite the one I'd downloaded yesterday. Then rebuilt, rerun that.
NOW the microservice comes up; and it appears to be working! Problem resolved!

Java 1.5 crash on AIX 5

I have a problem with Java 1.5.0 for AIX. The error happens just when I log on with specific user on AIX (myuser). When I log on with other user java works ok.
The error come up even when I executed just "java -version" or simply "java" (of course, without quoting). I've tried executing it with the full path: /usr/java5/jre/bin/java but still fails.
There was installed the version 1.4 of java on system too. So the $PATH variable for the user contained /usr/java14/jre/bin, but I removed that value, I even uninstalled that version of java (1.4) so that just java 5 exists on the system, but the error continues.
If I execute "java -fullversion" it doesn't crash.
This is part of the error (the full output is very long):
JVMJ9VM011W Unable to load j9dmp23: No such file or directory
JVMJ9VM011W Unable to load j9jit23: No such file or directory
JVMJ9VM011W Unable to load j9gc23: No such file or directory
JVMJ9VM011W Unable to load j9vrb23: No such file or directory
Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000010 Signal_Number=00000004 Error_Value=00000000
Signal_Code=0000001e
Handler1=F0719CC8 Handler2=F0714F5C
.....
Target=2_30_20091103_45935_bHdSMr (AIX 5.3)
CPU=ppc (4 logical CPUs) (0x7d0000000 RAM)
JavaVMInitArgs.nOptions=14:
-Xjcl:jclscar_23
-Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java5/jre/bin
-Dsun.boot.library.path=/usr/java5/jre/bin
-Djava.library.path=/usr/java5/jre/bin:/usr/java5/jre/bin:/usr/java5/jre/bin/classic:/usr/java5/jre/bin:/sqllib/lib:/home/myuser/comm:/home/myuser/sys:/home/myuser/bin:/db2util/db2adm/sqllib/lib64:/usr/java5/jre/bin/j9vm:/usr/lib
-Djava.home=/usr/java5/jre
-Djava.ext.dirs=/usr/java5/jre/lib/ext
-Duser.dir=/home/myuser
_j2se_j9=70912 (extra info: F070EA2C)
-Xdump
vfprintf (extra info: 300017A4)
-Dinvokedviajava
-Djava.class.path=/db2util/db2adm/sqllib/java/db2java.zip:/db2util/db2adm/sqllib/java/db2jcc.jar:/db2util/db2adm/sqllib/java/sqlj.zip:/db2util/db2adm/sqllib/function:/db2util/db2adm/sqllib/java/db2jcc_license_cu.jar:.
vfprintf
_port_library (extra info: F070EE30)
Note: "Enable full CORE dump" in smit is set to FALSE and as a result there will be limited threading information in core file.
Note: dump may be truncated if "ulimit -c" is set too low
Generated system dump: {default OS core name}
(no Thread object associated with thread)
(no Thread object associated with thread)
Unhandled exception in signal handler
ksh: 2179192 IOT/Abort trap(coredump)
I found the error. The problem is a line on the .profile which sets the environment variable LIBPATH:
export LIBPATH=/home/myuser/sys
I deleted that line in the .profile and java worked.