This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228673 - JRebel plugin 1.5.1 "Exception during patch loop [org.zeroturnaround.jrebel.netbeans.patcher.MavenJ2EEDeployModulePatcher] org.zeroturnaround.bundled.javassist.CannotCompileException" floods the log and leads to out-of-diskspace exceptions
Summary: JRebel plugin 1.5.1 "Exception during patch loop [org.zeroturnaround.jrebel.n...
Status: RESOLVED WORKSFORME
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-17 18:58 UTC by markiewb
Modified: 2015-09-11 22:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NBProfiler-Snapshot (18.08 KB, application/octet-stream)
2013-04-17 18:58 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-04-17 18:58:27 UTC
Created attachment 133544 [details]
NBProfiler-Snapshot

The logfile in c:\Users\xxx\.jrebel\jrebel_netbeans.log is polluted with the following exception. This leads to out-of-diskspace exceptions as the logging won't stop. The file tends to be several GB of size after some minutes of work, which makes it unusable. This happens only in a NB Dev version. The zt-guys manipulate 7.3 bytecode but this doesn't seem to work anymore in 7.4-dev.

2013 04 17 20:37:42[INFO]:	We use the new debugger integration
2013 04 17 20:37:42[INFO]:	Patching of Maven J2EE Module
2013 04 17 20:37:42[INFO]:	Notification server has been started
2013 04 17 20:37:42[INFO]:	Using port 57408 for notification server.
2013 04 17 20:37:42[ALL]:	Exception during patch loop [org.zeroturnaround.jrebel.netbeans.patcher.MavenJ2EEDeployModulePatcher]
	org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] isDeployOnSave(org.netbeans.api.project.Project) not found in org.netbeans.modules.maven.j2ee.BaseEEModuleProvider
		org.zeroturnaround.bundled.javassist.CtBehavior.insertBefore(CtBehavior.java:725)
		org.zeroturnaround.bundled.javassist.CtBehavior.insertBefore(CtBehavior.java:685)
		org.zeroturnaround.jrebel.netbeans.patcher.MavenJ2EEDeployModulePatcher.patchExecutionChecker(MavenJ2EEDeployModulePatcher.java:24)
		org.zeroturnaround.jrebel.netbeans.patcher.MavenJ2EEDeployModulePatcher.patch(MavenJ2EEDeployModulePatcher.java:49)
		org.zeroturnaround.jrebel.netbeans.patcher.Patcher.tryPatch(Patcher.java:92)
		org.zeroturnaround.jrebel.netbeans.patcher.Patcher.run(Patcher.java:50)
		java.lang.Thread.run(Thread.java:722)
	compile error: isDeployOnSave(org.netbeans.api.project.Project) not found in org.netbeans.modules.maven.j2ee.BaseEEModuleProvider
		org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:716)
		org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:681)
		org.zeroturnaround.bundled.javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156)
		org.zeroturnaround.bundled.javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
		org.zeroturnaround.bundled.javassist.compiler.TypeChecker.booleanExpr(TypeChecker.java:526)
		org.zeroturnaround.bundled.javassist.compiler.TypeChecker.atBinExpr(TypeChecker.java:336)
		org.zeroturnaround.bundled.javassist.compiler.ast.BinExpr.accept(BinExpr.java:40)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:241)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.compileBooleanExpr(CodeGen.java:235)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:383)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(CodeGen.java:354)
		org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
		org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:390)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(CodeGen.java:354)
		org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
		org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:390)
		org.zeroturnaround.bundled.javassist.compiler.CodeGen.atStmnt(CodeGen.java:354)
		org.zeroturnaround.bundled.javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
		org.zeroturnaround.bundled.javassist.compiler.Javac.compileStmnt(Javac.java:568)
		org.zeroturnaround.bundled.javassist.CtBehavior.insertBefore(CtBehavior.java:705)
		org.zeroturnaround.bundled.javassist.CtBehavior.insertBefore(CtBehavior.java:685)
		org.zeroturnaround.jrebel.netbeans.patcher.MavenJ2EEDeployModulePatcher.patchExecutionChecker(MavenJ2EEDeployModulePatcher.java:24)
		org.zeroturnaround.jrebel.netbeans.patcher.MavenJ2EEDeployModulePatcher.patch(MavenJ2EEDeployModulePatcher.java:49)
		org.zeroturnaround.jrebel.netbeans.patcher.Patcher.tryPatch(Patcher.java:92)
		org.zeroturnaround.jrebel.netbeans.patcher.Patcher.run(Patcher.java:50)
		java.lang.Thread.run(Thread.java:722)
2013 04 17 20:37:42[INFO]:	Patching of Maven J2EE Module
....
I also attached a NBProfiler snapshot.

Product Version: NetBeans IDE Dev (Build 201304121402)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)

NB JRebel-Plugin 1.5.1
Comment 3 markiewb 2015-09-11 22:48:43 UTC
I haven't seen this issue for a long time. Resolving as worksforme...