jenkinsci / jenkinsci/fogbugz-plugin

Strange VerifyErrors for java-fogbugz in the recent version

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi
after installation of the most recent version of fogbugz-plugin
I get this in build log

```
00:00:05.223 FATAL: Expecting a stackmap frame at branch target 19
00:00:05.223 Exception Details:
00:00:05.223 Location:
00:00:05.223 org/paylogic/fogbugz/FogbugzCase.addTag(Ljava/lang/String;)V @5: ifne
00:00:05.223 Reason:
00:00:05.223 Expected stackmap frame at this location.
00:00:05.223 Bytecode:
00:00:05.223 0000000: 2a2b b600 619a 000e 2ab4 0029 2bb9 0064
00:00:05.223 0000010: 0200 57b1
00:00:05.223
00:00:05.224 java.lang.VerifyError: Expecting a stackmap frame at branch target 19
00:00:05.224 Exception Details:
00:00:05.224 Location:
00:00:05.224 org/paylogic/fogbugz/FogbugzCase.addTag(Ljava/lang/String;)V @5: ifne
00:00:05.224 Reason:
00:00:05.224 Expected stackmap frame at this location.
00:00:05.224 Bytecode:
00:00:05.224 0000000: 2a2b b600 619a 000e 2ab4 0029 2bb9 0064
00:00:05.224 0000010: 0200 57b1
00:00:05.224
00:00:05.225 at org.paylogic.fogbugz.FogbugzManager.constructCaseFromXmlNode(FogbugzManager.java:181)
00:00:05.225 at org.paylogic.fogbugz.FogbugzManager.searchForCases(FogbugzManager.java:163)
00:00:05.225 at org.paylogic.fogbugz.FogbugzManager.getCaseById(FogbugzManager.java:122)
00:00:05.225 at jenkins.plugins.fogbugz.buildwrappers.FogbugzEnvironmentWrapper.setUp(FogbugzEnvironmentWrapper.java:116)
00:00:05.225 at hudson.model.Build$BuildExecution.doRun(Build.java:156)
00:00:05.225 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
00:00:05.225 at hudson.model.Run.execute(Run.java:1741)
00:00:05.225 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
00:00:05.225 at hudson.model.ResourceController.execute(ResourceController.java:98)
00:00:05.225 at hudson.model.Executor.run(Executor.java:408)
00:00:05.227 Recording test results
```

So something goes wrong in https://github.com/paylogic/java-fogbugz library (which i maintain)
but i can't figure out what exactly. It was built via maven compiler plugin in strict mode (all warnings on) and java 7 as target, everything seems fine. But when bundled with this plugin it complains about frames.

can you please help resolving this?
@ndeloof @jglick

Contributor guide

Open the contributing guide

Research direction

Start with org.paylogic.fogbugz.FogbugzCase.addTag and the FogbugzManager.java call sites at lines 122, 163, and 181 shown in the stack trace. Compare the java-fogbugz artifact built by Maven with the version bundled in fogbugz-plugin, then reproduce the VerifyError using the reported Java 7 target. Done means the packaging or build cause is identified and a compatible correction is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.