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.
Steps to reproduce 1) Install NB6.1 RC2 2) Install latest JavaFX plugins from http://javafx.netbeeans.org into NB6.1 RC2 IDE 3) Restart the IDE 4) Create a JavaFX App 5) Create a java main class Main.java inside this app 6) Expand Web Services node->Flickr in the "Service" tab of the IDE 7) Dnd photo_getRecent to main method of Main.java. Here you should see NPE
trace: java.lang.NullPointerException at org.netbeans.modules.websvc.saas.codegen.java.JaxRsEditorDrop$1.run(JaxRsEditorDrop.java:153) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) The exception is from org.netbeans.spi.java.project.classpath.ProjectClassPathModifierImplementation$Accessor.addLibraries:387 This scenario works fine on a plain Java App.
Ayub, Lukas thinks this issue is important to fix for the patch1 release since it is related to javafx. Can you get this issue fixed in the trunk for the 4/24 deadline?
Workaround: 1. Dnd SaaS node to (a static method in a ) POJO in a plain Java App. 2. Add this Java App as a dependency to JavaFX app. 3. From JavaFX app, try to invoke the static method to get the SaaS app to work.
Lukas, This issue depends on JavaFX Project type. If they fix this on the UC, then we don't have to do anything, except release note this issue. -Ayub
Ayub, could you make sure this issue gets resolved on the JavaFX side for 6.5M1.
Issue 133795 is fix verified from 05/30/08 nbms.