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 77671 - "Recursive rule detected"
Summary: "Recursive rule detected"
Status: RESOLVED WONTFIX
Alias: None
Product: contrib
Classification: Unclassified
Component: Jackpot (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ tball
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


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