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 101535 - Java and Ruby based languages' fake NBS registrations causes to Schliemann parser to run
Summary: Java and Ruby based languages' fake NBS registrations causes to Schliemann pa...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks: 101367
  Show dependency tree
 
Reported: 2007-04-18 10:43 UTC by Marek Fukala
Modified: 2008-11-19 12:07 UTC (History)
3 users (show)

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 Marek Fukala 2007-04-18 10:43:57 UTC
When I worked on the JSP and RHTML embedding I faced a NPE from Schliemann
parser caused by missing NBS file for some of the embedded languages (java and
ruby + related sublanguages for JSP resp. RUBY). So I created and registered a
fake NBS files for the languages as a workaround. However this probably causes
that the Schliemann parser runs and some of the S. features works for the faked
languages even when they are standalone. I do not udenrstand how the Schliemann
hooks to the code since I used the "doNotCreateDataobject" property and the
dataobjects and kits are from the original languages.
Comment 1 Marek Fukala 2007-04-18 10:51:56 UTC
Hanz did some fixes in S. so now it looks it works even without these fake NBS
file so I removed them.

Checking in
scripting/ruby/rhtml/src/org/netbeans/modules/ruby/rhtml/resources/layer.xml;
/cvs/scripting/ruby/rhtml/src/org/netbeans/modules/ruby/rhtml/resources/layer.xml,v
 <--  layer.xml
new revision: 1.3; previous revision: 1.2
done
Checking in
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/resources/layer.xml;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/resources/layer.xml,v
 <--  layer.xml
new revision: 1.9; previous revision: 1.8
done
Removing
web/jspsyntax/src/org/netbeans/modules/web/core/syntax/resources/JSP-Java.nbs;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/resources/JSP-Java.nbs,v
 <--  JSP-Java.nbs
new revision: delete; previous revision: 1.2
done
Comment 2 martin_zmrhal 2008-11-19 12:07:21 UTC
No NPE found. Vefiried.

Product Version: NetBeans IDE Dev (Build 200811181401)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-7-generic running on i386; UTF-8; en_US (nb)