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.
Summary: | Netbeans 6.0 rc2 - no RESTful web-services project-folder generated on OS X 10.5.1 | ||
---|---|---|---|
Product: | webservices | Reporter: | Ayub Khan <ayubskhan> |
Component: | REST | Assignee: | Nam Nguyen <nnguyen> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
javafx plugin
catalog from where the javafx was downloaded javafx plugin snapshot again (png mimetype, ignore other one) |
Description
Ayub Khan
2007-11-28 21:59:08 UTC
Follow this tutorial http://www.netbeans.org/kb/60/websvc/rest.html for reproducing the issue Nam, Can you please take a look at the NPE reported by user. This is reported on Mac OSX 10.5.1, and I could not reproduce it, on the same environment. ====== SEVEREjava.lang.NullPointerException at org.netbeans.modules.java.JavaDataLoader$JavaFileEntry.modifyMap(JavaDataLoader.java:256) at org.netbeans.modules.java.JavaDataLoader$JavaFileEntry.createFormat(JavaDataLoader.java:207) ... at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:793) at org.netbeans.modules.websvc.rest.support.JavaSourceHelper.createDataObjectFromTemplate(JavaSourceHelper.java:373) at org.netbeans.modules.websvc.rest.support.JavaSourceHelper.createJavaSource(JavaSourceHelper.java:350) at org.netbeans.modules.websvc.rest.codegen.EntityResourcesGenerator.generatePersistenceService(EntityResourcesGenerator.java:293) ====== -------------- From Nam, Just by looking at the stack trace code, I filed issue against java/source module: http://www.netbeans.org/issues/show_bug.cgi?id=123006 I suspect user IDE has some additional plugins that you don't have. Please check with him to see if this is the case. ------------------ On 28-Nov-07, at 5:26 PM, Nam Tuan Nguyen wrote: Rob, >I assume you experienced the problem using the binaries from >http://download.netbeans.org/netbeans/6.0/rc2/ >with Web&JavaEE selection? I downloaded binaries from the all-features section for a Mac OS X OS. >Do you by any chances install additional plugins aside from the 'RESTful Web Services' plugin? If so, could you try >uninstall those addtional plugins and see if the problem still happen? <http://download.netbeans.org/netbeans/6.0/rc2/> I uninstalled the plugins one-by-one and retested. The issue was resolved (and RESTful services generated) after I removed the 'JavaFX Weather Sample': JavaFX Weather Sample Version: 1.0 Date: 11/26/07 Source: NetBeans Beta Homepage: http://javafx.netbeans.org Plugin Description Sample Application shows 2 days Weather forecast for 3 different cities using information from a real weather service. Thanks so much for you contribution, Robert. I guess this is specific for Mac OS, since I tried installing JRuby, JavaFX and Weather Samples plugins but still create RESTful web services from entities fine. I am on Windows. Ayub, could you please confirm this test case with your Mac laptop. I tried installing JavaFX Script, Weather sample plugin on top of NB 6.0 RC2 (NB All bits from 11/19), and I couldn't reproduce it on my Mac OSX 10.5.1. See attachments javafx, catalog. Created attachment 53682 [details]
javafx plugin
Created attachment 53683 [details]
catalog from where the javafx was downloaded
Created attachment 53684 [details]
javafx plugin snapshot again (png mimetype, ignore other one)
The relationship with issue 123006 is actually duplication. *** This issue has been marked as a duplicate of 123006 *** v. dup. |