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 127557 - IOE: Component.xml for AdSenseForSearch not found
Summary: IOE: Component.xml for AdSenseForSearch not found
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords: RANDOM, REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2008-02-16 20:06 UTC by Lukas Jungmann
Modified: 2008-02-26 18:10 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 Lukas Jungmann 2008-02-16 20:06:58 UTC
-create new web project with simple Singleton REST service
-D'n'D Google AdSense* from palette to it

=>
INFO [org.netbeans.modules.websvc.rest.component.palette.RestComponentHandler]: handleTransfer
java.io.IOException: Component.xml for AdSenseForSearch not found.
        at
org.netbeans.modules.websvc.rest.component.palette.RestComponentHandler.handleTransfer(RestComponentHandler.java:117)
        at org.openide.text.QuietEditorPane$DelegatingTransferHandler.importData(QuietEditorPane.java:249)
...

Please, use at least Level.SEVERE for such serious exceptions, otherwise it is not easy to find them (and tests becomes
useless here as well)
Comment 1 Lukas Jungmann 2008-02-16 23:30:56 UTC
same for Yahoo's NewsSearch (Component.xml for NewsSearch not found.)
Comment 2 Peter Liu 2008-02-19 17:24:24 UTC
For 6.1, we plan to get rid of the component palette. I believe Nam made some changes that eliminated the dependencies.
 Reassigning to Nam for further evaluation.
Comment 3 Nam Nguyen 2008-02-21 16:09:38 UTC
I would agree with Lukas that this is higher level of alert is needed for this serious situation.
With the change of not showing rest component palette, this bug will go away.  I am not sure whether the code will be
deleted or not.  So, not to loose an issue, I will change the code to use NB standard error feedback to help improve
quality.  Exceptions.printStackTrace() is designed for such purpose.
Comment 4 Nam Nguyen 2008-02-21 18:43:35 UTC
Fixed in old code and new code:
http://hg.netbeans.org/main/rev/65b6faaaab38
http://hg.netbeans.org/main/rev/58ae9998dac1
Comment 5 Lukas Jungmann 2008-02-26 18:10:26 UTC
v.