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 162481 - [67cat] Open Sourceless Java Classes plugin does nothing
Summary: [67cat] Open Sourceless Java Classes plugin does nothing
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker with 2 votes (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-12 17:25 UTC by dynamite
Modified: 2010-09-23 08:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Plugin can't be activated in 6.5 (26.27 KB, image/jpeg)
2009-04-15 10:41 UTC, ulfzibis
Details
Open Sourceless Java Classes plugin working in fully updated NB6.5.1 (29.34 KB, application/x-compressed)
2009-04-15 18:31 UTC, Jan Lahoda
Details
NullPointerException thrown when opening Kamen.class file. (3.77 KB, text/plain)
2009-04-16 08:21 UTC, Jiri Kovalsky
Details
Class file that I was unable to open. (660 bytes, application/octet-stream)
2009-04-16 08:23 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2009-04-12 17:25:31 UTC
[ BUILD # : 200904100201 ]
[ JDK VERSION : 1.6.* ]

I have installed the "Open Sourceless Java Classes" plug-in and then
tried to open a class file from the Projects window.  Nothing appears
in the editor window and the message "Cannot open, no sources"
appears on the right in the message bar along the bottom of the IDE.
Comment 1 Ivan Sidorkin 2009-04-13 10:52:00 UTC
Jiri, could you please assign this issue to author of "Open Sourceless Java Classes" plug-in
Comment 2 ulfzibis 2009-04-15 10:33:02 UTC
Since end of netCAT 6.5 this module is claiming "missing/incompatible modules" in my Java SE bundle installation of 6.5,
so I had to inaktivate it since release of 6.5 was out.
How did you do, that you can activate it ?

So please make it work first. :-)
Comment 3 ulfzibis 2009-04-15 10:41:15 UTC
Created attachment 80128 [details]
Plugin can't be activated in 6.5
Comment 4 Jiri Kovalsky 2009-04-15 11:02:09 UTC
Daniel, where did you get the "Open Sourceless Java Classes" plugin from? I didn't find it either on Plugin Portal or
Stable Update Center for NetBeans 6.5. Please let me know how you installed it. Thanks!
Comment 5 Ivan Sidorkin 2009-04-15 16:30:40 UTC
it available on Latest Development Build UC for latest dev build
I tried it and it definitely doesn't work
Comment 6 Jan Lahoda 2009-04-15 18:29:55 UTC
I assume it was installed from the development update center. Modules from this update center are compiled against
current trunk version of the IDE and are generally not guaranteed to work with older versions of the IDE. I have built a
6.5 version of the module, and will attach it to this issue. Note, however, that the module heavily uses the standard
code generator, and there may be bugs in the code generator in NB6.5 that are already fixed in trunk. Also, this module
is only lightly tested, so it may produce incorrect code. Reproducible test cases are welcome (component contrib,
assignee jlahoda). While working in NB6.5, please, make sure not to update the module to trunk version from the
development update center.

Daniel, could you please check whether you have the module enabled? Can you try to install the attached version? If it
still does not work, on which classes it does not work?

Thanks.
Comment 7 Jan Lahoda 2009-04-15 18:31:12 UTC
Created attachment 80181 [details]
Open Sourceless Java Classes plugin working in fully updated NB6.5.1
Comment 8 Jan Lahoda 2009-04-15 18:32:00 UTC
I forgot to mention: I have tested the attached module in a fully updated installation of NB6.5.1.
Comment 9 dynamite 2009-04-15 23:05:43 UTC
I actually raised this against development build 200904100201.  The plugin is enabled.  I uninstalled it, restarted the
IDE and installed the attached plugin and it still gives the same symptoms.
Comment 10 dynamite 2009-04-15 23:10:21 UTC
I got the plugin from "Latest Development Build".  It had the NetBeans cube next to it and so I assumed that it was an
official plugin.
Comment 11 Jiri Kovalsky 2009-04-16 08:20:29 UTC
I can install this without problems now into NetBeans 6.5 FCS but when I try to open a class I get the below attached
exception. I am gonna attach the *.class file as well.
Comment 12 Jiri Kovalsky 2009-04-16 08:21:59 UTC
Created attachment 80210 [details]
NullPointerException thrown when opening Kamen.class file.
Comment 13 Jiri Kovalsky 2009-04-16 08:23:01 UTC
Created attachment 80211 [details]
Class file that I was unable to open.
Comment 14 Jan Lahoda 2010-09-23 08:19:57 UTC
The plugin is part of the std. distribution since 6.9.