Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all 2540 articles
Browse latest View live

Reply To: JRebel breaks on Build

$
0
0

Hello!

We usually do not recommend playing around with folders’ names as manually it nearly impossible to track all the references. Have you tried uninstalling JRebel completely and then installing again from Eclipse Marketplace?

Kind regards,
Valerie


Reply To: JRebel breaks on Build

$
0
0

Yes – I uninstalled from Eclipse (Neon) and tried Eclipse Marketplace and even Install New Software – I get the same error now “‘Installing Software’ has encountered a problem. An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.

session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
Exception in opening zip file: C:\Users\Q799394\eclipse-Neon\plugins\org.zeroturnaround.eclipse_7.1.7.RELEASE.jar

Reply To: JRebel breaks on Build

$
0
0

Found solution to install – shut down Eclipse > Moved artifacts.xml from eclipse-neon folder > restart Eclipse and Install New Software (it installed this time) > shut down Eclipse and put artifacts.xml back. Started up Eclipse and all working again.

Reply To: Remote debugging using IntelliJ with JRebel plugin very slow

$
0
0

Hello!

Could you please send your trace and performance level jrebel.log file after reproducing the issue to support@zeroturnaround.com with the link to this forum topic? To generate it just add -Drebel.log=trace -Drebel.log.dump_stack_traces=10 -Drebel.log.perf=true to your VM arguments, restart your server and wait for it to become that dramatically slow.

Just to clarify – how long does it usually take for you to step over a code line while debugging?

Kind regards,
Valerie

Reply To: Problem with mybatis

Reply To: Problem with mybatis

$
0
0

I updated MyBatis version to 3.0.2 and the problem is fixed. Thanks a lot for helping out.

Want to migrate License server from one windows server to another windows server

$
0
0

Hello Team ,

I want to migrate my License server to another Windows server but not sure what need to follow and also if migration will be done how i will get License activation link. license activation link which we provide users to activate jrebel in eclipse. Please help asap.

Freedom apk

$
0
0

Before you go through the installation process check whether your Android device is compatible with Freedom app. Freedom Apk


Can't not work with springboot2

$
0
0

there is error msg:
2018-03-22 11:43:00 JRebel: ERROR Class ‘org.springframework.boot.env.PropertiesPropertySourceLoader’ could not be processed by org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP@sun.misc.Launcher$AppClassLoader@b4aac2: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] no such field: profile
at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:241)
at org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP$1.edit(PropertiesPropertySourceLoaderCBP.java:42)
at org.zeroturnaround.bundled.javassist.expr.ExprEditor.loopBody(SourceFile:224)
at org.zeroturnaround.bundled.javassist.expr.ExprEditor.doit(SourceFile:91)
at org.zeroturnaround.bundled.javassist.CtBehavior.instrument(SourceFile:712)
at org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP.process(PropertiesPropertySourceLoaderCBP.java:39)
at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:79)
at com.zeroturnaround.javarebel.vu.a(SourceFile:376)
at com.zeroturnaround.javarebel.vu.a(SourceFile:365)
at com.zeroturnaround.javarebel.vu.a(SourceFile:322)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:35)
at com.zeroturnaround.javarebel.tg.transform(SourceFile:107)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:264)
at org.springframework.core.io.support.SpringFactoriesLoader.instantiateFactory(SpringFactoriesLoader.java:153)
at org.springframework.core.io.support.SpringFactoriesLoader.loadFactories(SpringFactoriesLoader.java:101)
at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.<init>(ConfigFileApplicationListener.java:319)
at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:213)
at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:196)
at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:183)
at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:351)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:317)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1246)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1234)
at com.tianshen.tgame.FastGameServer.main(FastGameServer.java:45)
Caused by: compile error: no such field: profile
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.fieldAccess(SourceFile:845)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atFieldRead(SourceFile:803)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMember(SourceFile:988)
at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atMember(SourceFile:66)
at org.zeroturnaround.bundled.javassist.compiler.ast.Member.accept(SourceFile:39)
at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atMethodArgs(SourceFile:221)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:735)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atNewExpr(SourceFile:149)
at org.zeroturnaround.bundled.javassist.compiler.ast.NewExpr.accept(SourceFile:73)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atVariableAssign(SourceFile:249)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atAssignExpr(SourceFile:218)
at org.zeroturnaround.bundled.javassist.compiler.ast.AssignExpr.accept(SourceFile:39)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:330)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compileStmnt(SourceFile:567)
at org.zeroturnaround.bundled.javassist.expr.MethodCall.replace(SourceFile:235)
… 41 more

2018-03-22 11:43:00 JRebel: ERROR Class ‘org.springframework.boot.env.YamlPropertySourceLoader’ could not be processed by org.zeroturnaround.javarebel.integration.spring.boot.cbp.YamlPropertySourceLoaderCBP@sun.misc.Launcher$AppClassLoader@b4aac2: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] cannot find constructor org.springframework.boot.env.OriginTrackedYamlLoader(org.springframework.core.io.Resource,java.lang.String)
at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:79)
at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:45)
at org.zeroturnaround.javarebel.integration.spring.boot.cbp.YamlPropertySourceLoaderCBP.process(YamlPropertySourceLoaderCBP.java:31)
at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:79)
at com.zeroturnaround.javarebel.vu.a(SourceFile:376)
at com.zeroturnaround.javarebel.vu.a(SourceFile:365)
at com.zeroturnaround.javarebel.vu.a(SourceFile:322)
at com.zeroturnaround.javarebel.SDKIntegrationImpl.runBytecodeProcessors(SourceFile:35)
at com.zeroturnaround.javarebel.tg.transform(SourceFile:107)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:264)
at org.springframework.core.io.support.SpringFactoriesLoader.instantiateFactory(SpringFactoriesLoader.java:153)
at org.springframework.core.io.support.SpringFactoriesLoader.loadFactories(SpringFactoriesLoader.java:101)
at org.springframework.boot.context.config.ConfigFileApplicationListener$Loader.<init>(ConfigFileApplicationListener.java:319)
at org.springframework.boot.context.config.ConfigFileApplicationListener.addPropertySources(ConfigFileApplicationListener.java:213)
at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:196)
at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:183)
at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:169)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:74)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:351)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:317)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1246)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1234)
at com.tianshen.tgame.FastGameServer.main(FastGameServer.java:45)
Caused by: compile error: cannot find constructor org.springframework.boot.env.OriginTrackedYamlLoader(org.springframework.core.io.Resource,java.lang.String)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(SourceFile:749)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atNewExpr(SourceFile:149)
at org.zeroturnaround.bundled.javassist.compiler.ast.NewExpr.accept(SourceFile:73)
at org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atCallExpr(SourceFile:665)
at org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atCallExpr(SourceFile:157)
at org.zeroturnaround.bundled.javassist.compiler.ast.CallExpr.accept(SourceFile:46)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(SourceFile:242)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.compileExpr(SourceFile:229)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atReturnStmnt2(SourceFile:615)
at org.zeroturnaround.bundled.javassist.compiler.JvstCodeGen.atReturnStmnt(SourceFile:424)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:363)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(SourceFile:351)
at org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(SourceFile:50)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodBody(SourceFile:292)
at org.zeroturnaround.bundled.javassist.compiler.CodeGen.atMethodDecl(SourceFile:274)
at org.zeroturnaround.bundled.javassist.compiler.ast.MethodDecl.accept(SourceFile:44)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compileMethod(SourceFile:169)
at org.zeroturnaround.bundled.javassist.compiler.Javac.compile(SourceFile:95)
at org.zeroturnaround.bundled.javassist.CtNewMethod.make(SourceFile:74)
… 38 more

Reply To: Can't not work with springboot2

$
0
0

Hi,

Spring Boot released its 2.0.0.RELEASE version just a day after we had released our 7.1.7. version of JRebel. By the time of 7.1.7 release, we were compatible with the 2.0.0.RC2 version of Spring Boot but the 2.0.0.RELEASE version introduced some small nuances that needed correcting – the stack trace you experienced being one of them.
For now, we have solved these integration problems with the Spring Boot 2.0.0.RELEASE version.
Should you wish to give it a go, the fixes are available in the nightly build which can be obtained from the following link:
https://zeroturnaround.com/software/jrebel/download/nightly-build/

If you don’t wish to use a nightly build then this fix will also be included with the next (2018.1.0) release of JRebel. Estimated release date of that version is at the beginning of April.

All the best,
Tiit

Webapp does n't work with JRebel

$
0
0

Hi
I am using jrebel licensed copy with JSF application in Intellij Idea. Whenever I debug jsf rich faces application with jrebel, it continuously throws exception on RENDER KIT.
org.apache.myfaces.lifecycle.ViewNotFoundException: A view is required to execute INVOKE_APPLICATION

I wasted many days in debugging the issue. Later realized that issue with Jrebel. When I run in run/debug mode without jrebel, everything works fine. Please suggest.

Thanks,
Rakesh

Reply To: Webapp does n't work with JRebel

$
0
0

Hey Rakesh,

Do you have any code snippets which would help me reproduce this issue? I tried reproducing it but everything seemed to work as intended. Also – please start your server with the additional argument -Drebel.log=trace and reproduce this issue once more.

The log of this session will be generated to {user.home}/.jrebel/jrebel.log, please send it to support@zeroturnaround.com along with all the other information.

Best,
Hannes

Reply To: Gradle 4.0.1 Deprecation Warning

$
0
0

Hello

Deprecation Warning as an argument to Python. Better though to resolve the issue.

____________________________________________
Best Affordable Assignment Help in Australia

JRebel fail in Intellij

$
0
0

Hi,
I trying out Jrebel in Intellij (latest version). No matter how many times I re-install JRebel, it will give the following error when running a java project.

The error is :
======================================
JRebel-JVMTI [FATAL] Error opening jar file /Users/myaccount/.jrebel/bootcache/jrebel-bootstrap-af787526f8ea2ba01f1fda2fd9814d5c.jar

Check the log file /Users/myaccount/.jrebel/bootcache/jrebel.boot.log for more details.

The log file detail is
JRebel-JVMTI [DEBUG] Initializing agent… 1.0.33-2018-02-27T08:10:33Z
JRebel-JVMTI [DEBUG] Java 9+ detected: true
JRebel-JVMTI [INFO] VM vendor: “Oracle Corporation”
JRebel-JVMTI [DEBUG] Agent loaded from /var/folders/ch/yd3ltw4179v8j4b67psk1y0c0000gp/T/jrebel-JRebel-201802271049-griffin/lib/libjrebel64.dylib
JRebel-JVMTI [DEBUG] Searching for jrebel.jar in /var/folders/ch/yd3ltw4179v8j4b67psk1y0c0000gp/T/jrebel-JRebel-201802271049-griffin/jrebel.jar
JRebel-JVMTI [DEBUG] Found jrebel.jar in /var/folders/ch/yd3ltw4179v8j4b67psk1y0c0000gp/T/jrebel-JRebel-201802271049-griffin/jrebel.jar
JRebel-JVMTI [DEBUG] Checking bootcache for af787526f8ea2ba01f1fda2fd9814d5c
JRebel-JVMTI [DEBUG] Bootstrap jar found from bootcache: /Users/myaccount/.jrebel/bootcache/jrebel-bootstrap-af787526f8ea2ba01f1fda2fd9814d5c.jar
JRebel-JVMTI [DEBUG] Turning on boot class path emulation
JRebel-JVMTI [FATAL] Error opening jar file /Users/myaccount/.jrebel/bootcache/jrebel-bootstrap-af787526f8ea2ba01f1fda2fd9814d5c.jar

How can this be resolved ?

thank

Reply To: JRebel fail in Intellij

$
0
0

Hey,

Before we dig any deeper, please just try deleting the ../bootcache folder, this will force the files to be regenerated.

I’m pretty sure that the IntelliJ process does not have sufficient access rights for that file(s). See what ls -la /Users/myaccount/.jrebel/bootcache/ displays.

Best,
Hannes


Reply To: JRebel fail in Intellij

$
0
0

Hi Hannes,

It is working after removing the bootcache folder

thank

IntelliJ IDEA 2018.1 fails to start with optimizer plugin installed

$
0
0

IDEA 2018.1 won’t start up with the optimizer plugin installed:

Internal error. Please report to http://jb.gg/ide/critical-startup-errors

java.lang.IllegalAccessError: tried to access method com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect()V from class com.zeroturnaround.optimizer.plugin.functions.platform.caches.CacheApi
at com.zeroturnaround.optimizer.plugin.functions.platform.caches.CacheApi.cachesLastCleanedVFS(CacheApi.java:34)
at com.zeroturnaround.optimizer.plugin.functions.platform.caches.CacheApi.cacheLastCleaned(CacheApi.java:17)
at com.zeroturnaround.optimizer.plugin.activities.CleanCacheActivity.doInitialize(CleanCacheActivity.java:22)
at com.zeroturnaround.optimizer.plugin.activities.AbstractActivity.initialize(AbstractActivity.java:29)
at com.zeroturnaround.optimizer.plugin.state.model.ApplicationStateInitializer.initialize(ApplicationStateInitializer.java:20)
at com.zeroturnaround.optimizer.plugin.Bootstrap.initialize(Bootstrap.java:62)
at com.zeroturnaround.optimizer.plugin.Bootstrap.access$000(Bootstrap.java:22)
at com.zeroturnaround.optimizer.plugin.Bootstrap$1.run(Bootstrap.java:37)
at java.lang.Thread.run(Thread.java:745)

Removing ~/.IntelliJIdea2018.1/config/plugins/ft-intellij-optimizer prevents this issue.

It looks like this plugin was abandoned long ago, but I had installed it once and never removed it.

Reply To: Webapp does n't work with JRebel

$
0
0

Can we have conference; so that I can share my screen to explain the problem.
How can one send real application logs?

Reply To: Webapp does n't work with JRebel

$
0
0

Always gets below exception when I use jrebel.
java.lang.NullPointerException
at org.apache.myfaces.context.servlet.PartialViewContextImpl.getPartialResponseWriter(PartialViewContextImpl.java:361) ~[myfaces-impl-2.1.15.jar:2.1.15]
at org.richfaces.context.ExtendedPartialViewContextImpl.getPartialResponseWriter(ExtendedPartialViewContextImpl.java:201) ~[richfaces-core-impl-4.3.7.Final.jar:4.3.7.Final]
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.redirect(ServletExternalContextImpl.java:454) ~[myfaces-impl-2.1.15.jar:2.1.15]
at javax.faces.context.ExternalContextWrapper.redirect(ExternalContextWrapper.java:388) ~[myfaces-api-2.1.15.jar:2.1.15]

  • This reply was modified 5 hours, 20 minutes ago by  rakeshrr.

Reply To: Unable to run Spring Boot 2.0.0.RC2 with jrebel 7.1.6

$
0
0

Spring Boot 2.0 Release released. You can use Nightly Build jRebel. I solved the problem with this method.

Viewing all 2540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>