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 182849 - ClassNotFoundException: Will not load classes from default package (JavaFXTaskListProvider)
Summary: ClassNotFoundException: Will not load classes from default package (JavaFXTas...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 07:10 UTC by J Bachorik
Modified: 2010-08-06 10:20 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167075


Attachments
stacktrace (1.99 KB, text/plain)
2010-03-26 07:10 UTC, J Bachorik
Details
stacktrace (1.99 KB, text/plain)
2010-03-26 09:28 UTC, Alexandr Scherbatiy
Details
stacktrace (1.99 KB, text/plain)
2010-03-26 10:42 UTC, Andrei Chistiakov
Details
stacktrace (1.99 KB, text/plain)
2010-03-26 11:20 UTC, Karol Harezlak
Details
stacktrace (1.99 KB, text/plain)
2010-03-26 11:45 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J Bachorik 2010-03-26 07:10:23 UTC
Build: NetBeans IDE Dev (Build 201003260201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux

User Comments:
yardus: Opening a javafx project




Stacktrace: 
java.lang.ClassNotFoundException: Will not load classes from default package (JavaFXTaskListProvider)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:196)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at org.openide.loaders.InstanceSupport.findClass(InstanceSupport.java:497)
   at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:145)
   at org.openide.loaders.InstanceDataObject$Ser.instanceClass(InstanceDataObject.java:1310)
   at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:211)
Comment 1 J Bachorik 2010-03-26 07:10:28 UTC
Created attachment 95883 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-03-26 09:28:15 UTC
Created attachment 95895 [details]
stacktrace

NetBeans-JavaFX-Soma: #197

- Install the IDE
- Create a JavaFX project

The ClassNotFoundException  pops up.
Comment 3 Alexandr Scherbatiy 2010-03-26 09:35:39 UTC
Affects the NB JavaFX plugin
Comment 4 Andrei Chistiakov 2010-03-26 10:42:18 UTC
Created attachment 95922 [details]
stacktrace

created WeatherFX sampe application
Comment 5 Karol Harezlak 2010-03-26 11:20:18 UTC
Created attachment 95928 [details]
stacktrace
Comment 6 Alexandr Scherbatiy 2010-03-26 11:45:19 UTC
Created attachment 95932 [details]
stacktrace
Comment 7 Exceptions Reporter 2010-03-26 11:45:36 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167075
Comment 8 Jesse Glick 2010-03-26 14:50:38 UTC
Don't put JavaFXTaskListProvider in the default package then. All modules classes should be in named packages using reverse-DNS conventions.
Comment 9 J Bachorik 2010-03-26 15:17:45 UTC
JavaFXTaskListProvider is not in the default package. It seems that the trigger is creating an instance of the named anonymous logger (Logger.getAnonymous("name")).

After applying the changeset c5fd54ae3dfd the exception appears no more.
Comment 10 Karol Harezlak 2010-03-26 15:32:54 UTC
My mistake, I provided incorrect logger argument for constructor. It should be fine now.

http://hg.netbeans.org/javafx/rev/c5fd54ae3dfd
Comment 11 Alexandr Scherbatiy 2010-08-06 10:20:34 UTC
verified in NB 6.9.1