JD Community
 

Reply
 
Thread Tools Display Modes
  #1  
Old 08.03.2012, 18:28
tommmmmm tommmmmm is offline
Vacuum Cleaner
 
Join Date: Mar 2012
Posts: 15
Default java.lang.VerifyError: Inconsistent stackmap frames error with LinkCrawler

I exported LinkCrawler into a jar file, and in another project tried to use it.

This line:
Code:
 LinkCrawler lc = new LinkCrawler();
gives this error

Code:
java.lang.VerifyError: Inconsistent stackmap frames at branch target 41 in method jd.controlling.linkcrawler.LinkCrawler.crawl(Ljd/controlling/linkcrawler/CrawledLink;)V at offset 64
I tried exporting with various settings - I even tried to export all jDownloader projects with all resources ticked, resulting in 112MB jar file, however the error is still the same.

Any help?

Last edited by Jiaz; 08.03.2012 at 19:04.
Reply With Quote
  #2  
Old 08.03.2012, 19:04
Jiaz's Avatar
Jiaz Jiaz is offline
The Hoss
 
Join Date: Mar 2009
Location: Germany
Posts: 25,474
Default

Google for it. Its a jdk7 issue, you have to use a XX parameter to vm

-XX:-UseSplitVerifier
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 08.03.2012, 19:06
Jiaz's Avatar
Jiaz Jiaz is offline
The Hoss
 
Join Date: Mar 2009
Location: Germany
Posts: 25,474
Default

bug with eclipse compiler
This is a problem with the eclipse compiler. For now, we have to use the -XX:-UseSplitVerifier flag. I have put it enabled by default.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 08.03.2012, 19:51
tommmmmm tommmmmm is offline
Vacuum Cleaner
 
Join Date: Mar 2012
Posts: 15
Default

Like... how?



I tried many different settings. No effect. If it only was netbeans and not eclipse... I wouldn't be asking.

And yes, I googled. A lot. There is no clean tutorial anywhere.
Reply With Quote
  #5  
Old 08.03.2012, 20:07
Jiaz's Avatar
Jiaz Jiaz is offline
The Hoss
 
Join Date: Mar 2009
Location: Germany
Posts: 25,474
Default

you can use what ever IDE you want
there is no need to use eclipse!
the given parameter is a java parameter! for running the jar file
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 19:41.
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.