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 221796 - IllegalStateException: No version information for of type org.netbeans.modules.j2ee.sun.dd.api.serverresources.Resources
Summary: IllegalStateException: No version information for of type org.netbeans.modul...
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 09:47 UTC by Maksim Khramov
Modified: 2013-03-26 12:37 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174568


Attachments
stacktrace (1.79 KB, text/plain)
2012-11-09 09:47 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2012-11-09 09:47:18 UTC
Build: NetBeans IDE Dev (Build 201211060001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b22
OS: Windows 7

User Comments:
GUEST: Was creating Message Driven bean and chose to create topic type. Either topic either query unable to create thus unable to create EJB component

big_al: Tried creating a new Message Driven Bean for a Maven-based EJB project




Stacktrace: 
java.lang.IllegalStateException: No version information for  of type org.netbeans.modules.j2ee.sun.dd.api.serverresources.Resources
   at org.netbeans.modules.j2ee.sun.dd.api.DDProvider.newGraph(DDProvider.java:521)
   at org.netbeans.modules.j2ee.sun.dd.api.DDProvider.getResourcesGraph(DDProvider.java:619)
   at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.getResourceGraph(ResourceUtils.java:1085)
   at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.getServerResourcesGraph(ResourceUtils.java:1661)
   at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.getServerResourcesGraph(ResourceUtils.java:1653)
   at org.netbeans.modules.j2ee.sun.api.restricted.ResourceConfigurator.createJMSResource(ResourceConfigurator.java:157)
Comment 1 Maksim Khramov 2012-11-09 09:47:21 UTC
Created attachment 127450 [details]
stacktrace
Comment 2 TomasKraus 2012-12-18 12:50:28 UTC
I'm going to fix this in 7.3 if I'll be able to reproduce it.
Comment 3 TomasKraus 2013-01-04 10:36:53 UTC
I can't reproduce this with last build from http://bits.netbeans.org/dev/nightly/

1) I created new MAven / EJB Module project
2) Added new MDB vith Project destination: jms/ServerTopic (Topic)
3) Added one more MDB with the same settings
4) Tested clean and build

Everything was working fine for me. Please try http://bits.netbeans.org/dev/nightly/ too. Your Build 201211060001 is quite old.

Adding Jiri into cc list to test it with last build to make sure we can't reproduce it.
Comment 4 Jiri Skrivanek 2013-01-04 11:33:52 UTC
I can't reproduce it with

Product Version: NetBeans IDE Dev (Build 201301040001)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 5 TomasKraus 2013-03-26 12:37:26 UTC
Thanks Jiri, think I can close this bug as works for me.