Bug 77671 - "Recursive rule detected"
"Recursive rule detected"
Status: RESOLVED WONTFIX
Product: contrib
Classification: Unclassified
Component: Jackpot
5.x
PC Linux
: P3 (vote)
: TBD
Assigned To: _ tball
issues@contrib
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-10 00:24 UTC by Jesse Glick
Modified: 2010-04-27 18:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-06-10 00:24:11 UTC
Got an error message for part of a rule file that I can't decipher:

"Recursive rule detected at line ..."

pointing to the "=>" in

org.openide.filesystems.Repository.getDefault().findResource($r)
=>
org.openide.filesystems.Repository.getDefault().getDefaultFileSystem().findResource($r)
::
$r instanceof java.lang.String;

I can't see how this could be interpreted as recursive but Jackpot doesn't seem
to like it.
Comment 1 _ tball 2006-06-10 00:56:18 UTC
I don't see how it's recursive either, but there may be another issue.  What you
are really seeing is that the method frame depth for the transformer exceeded a
built-in max, which is normally caused by recursive rules (the error points to
the rule being matched in the offending frame).  I'll need to break at the
exception creation to see what the problem is, as the rule looks fine.

Is this rule part of a larger file?  
Comment 2 Jesse Glick 2006-06-10 02:15:58 UTC
Yes, part of a larger file. (But the rest of the file seemed to work, more or
less.) See filesystems.rules in apisupport/jackpotrules.
Comment 3 Jesse Glick 2010-04-27 18:41:14 UTC
The old Jackpot module is no longer maintained. There is a rewrite in progress at: http://bitbucket.org/jlahoda/jackpot30/wiki/Home


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo