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 188079 - org.jdesktop.application.Task failed - background Task
Summary: org.jdesktop.application.Task failed - background Task
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 00:08 UTC by rgdimasi
Modified: 2011-11-16 16:43 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 rgdimasi 2010-06-25 00:08:09 UTC
Overview:
org.jdesktop.application.Task failed exception thrown when running Java Desktop Application with-in netbeans 6.9 using webstart.
No exception when application deployed and run.
Notes:
Had to use Ant build 1.7.1 from previous install instead of 1.8 to get app to run within netbeans.
App created using netbeans 6.7.

Exception:
org.jdesktop.application.Task failed
SEVERE: enoviacad.ui.tasks.CheckOutFiles@c51614 failed: java.lang.NoSuchMethodError: com.matrixone.fcs.mcs.Checkout.doIt(Lmatrix/db/Context;Ljava/lang/String;Ljava/util/ArrayList;)Lmatrix/db/TicketWrapper;
java.lang.NoSuchMethodError: com.matrixone.fcs.mcs.Checkout.doIt(Lmatrix/db/Context;Ljava/lang/String;Ljava/util/ArrayList;)Lmatrix/db/TicketWrapper;
	at matrix.db.FcsSupport.fcsCheckout(FcsSupport.java:274)
	at matrix.db.BusinessObject.checkoutFile(BusinessObject.java:414)
	at enoviacad.dataaccesslayer.DataAccessLayer.checkoutFileWithLock(DataAccessLayer.java:548)
	at enoviacad.dataaccesslayer.DataAccessLayer.checkoutBODrawingFile(DataAccessLayer.java:490)
	at enoviacad.ui.tasks.CheckOutFiles.doInBackground(CheckOutFiles.java:128)
	at enoviacad.ui.tasks.CheckOutFiles.doInBackground(CheckOutFiles.java:25)
	at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


 -- Don't know if this is related but cannot cannot to web via netbeans to update ide -- org.modules.autoupdate.ui.actions.AutoupdateCheckScheduler]: Connection timed out: connect --
 --
Comment 1 Jan Stola 2010-07-13 13:27:38 UTC
I am sorry, I am not able to reproduce this issue. Could you, please, provide more details? It would be great to provide exact steps to reproduce this issue. There seems to be something non-trivial in the setup of your project. The attached exception shows problems with linking your custom components/classes.
Comment 2 rgdimasi 2010-07-25 22:33:20 UTC
Program is a java desktop application using Swing Application Framework and Java Webstart.
Using JDK1.6, ANT 1.7.1 with Swing Application Framework and Swing Layout Extensions libraries included.

The error is thrown when a method from an included jar is called from within a background task when program is run from with-in NetBeans (both in debug and non-debug) modes. If the program is compiled and run external to netbeans all executes without error. 

If program is compiled with ANT build 1.8, unable to run in debug mode due to error with jar signing and web launch. I suspect this is due to NetBeans not signing all the jar files within the dist directory?

Can provide additional information if identified.