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 133795 - NPE adding libs to JavaFX app (using o.n.spi.java.p.classpath.ProjectClassPathModifier)
Summary: NPE adding libs to JavaFX app (using o.n.spi.java.p.classpath.ProjectClassPat...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks: 133160
  Show dependency tree
 
Reported: 2008-04-23 19:59 UTC by Ayub Khan
Modified: 2011-10-19 12:03 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 Ayub Khan 2008-04-23 19:59:24 UTC
I get an NPE while DnD of SaaS nodes (from Services Tab) to a POJO in JavaFX App.

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.
Comment 1 Ayub Khan 2008-05-29 01:08:26 UTC
Hi kaktus,

Can you please evaluate this issue. We have to fix an issue 133160 (for NB6.5) that depends on this one.

Thanks
Ayub
Comment 2 Andrey Yamkovoy 2008-05-30 11:56:00 UTC
Fixed in the trunk.
Comment 3 Ayub Khan 2008-05-30 22:51:35 UTC
verified by nbms from  05/30/08 builds.
Comment 4 David Strupl 2011-10-19 12:03:10 UTC
Cleaning bugzilla categories ....