-
"MalformedInputException: Input length = 1 " exception solution for Scala and Java
Recently i was adding more values to the resource file in my Fabricator project and , looke like added values that are invalid for UTF-8 encoding. My next trial to execute tests for the project brought me to "MalformedInputException: Input length = 1 " exception. For scala code i managed to…
-
Solution for "FieldValidationException: Not a valid URL" custom JIRA URL field problem
Today i had to investigate one issue in JIRA with my custom listener plugin and for this i opened logs. For me it was an unpleasant surprise to see tons of exceptions with one main problem : FieldValidationException: Not a valid URL . In our projects we had 3 different custom URL…
-
Proper way of loading resources in scala
My initial goal for my fabricator library that i'm working on is that it can be used in both Java and Scala projects. The problem i faced recently was that , when i packaged scala code into jar file and tried to use it in another java project, i got "…
-
Solution preventing java.lang.OutOfMemoryError: PermGen space in scala
Today i was trying to build my fabricator library and faced with this nasty "java.lang.OutOfMemoryError: PermGen space" error. Here i would like to write down a simple solution for unix users : If you're a Mac user and have installed sbt via brew ( recommend you to do…
-
Creating a custom JIRA Wiki Renderer plugin
Today i finished one tricky plugin that does really easy job, but it took me a while until i finally got a nice and solid solution for my problem. The task was simple - in the description and comments fields make an automatic replacement of specific text, like wiki : TestPage…
-
A cool way of file sharing from console
To all geeks ( both Mac and Linux) who works a lot in console and with remote servers, most probably used a lot scp for sending files to the server and back. Sometimes, you have to connect to jump server before getting to needed machine for security reasons and that's why…