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 126521 - IllegalArgumentException: org.openide.loaders.DataObjectNotFoundException: MultiFileObject@1e070c0[Shortcuts]
Summary: IllegalArgumentException: org.openide.loaders.DataObjectNotFoundException: Mu...
Status: VERIFIED DUPLICATE of bug 127239
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Buzek
URL: http://statistics.netbeans.org/except...
Keywords:
: 126431 126654 126935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-01 20:18 UTC by _ krystyna
Modified: 2008-02-26 05:11 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 23080


Attachments
stacktrace (2.09 KB, text/plain)
2008-02-01 20:18 UTC, _ krystyna
Details
screenshot (199.45 KB, image/jpeg)
2008-02-01 21:20 UTC, _ krystyna
Details
stacktrace (2.09 KB, text/plain)
2008-02-06 01:03 UTC, _ krystyna
Details
exception image (125.00 KB, text/plain)
2008-02-07 03:21 UTC, Venkat Chellasamy
Details
messages.log (817.64 KB, text/plain)
2008-02-07 03:22 UTC, Venkat Chellasamy
Details
exception image (125.00 KB, image/jpeg)
2008-02-07 03:23 UTC, Venkat Chellasamy
Details
stacktrace (2.09 KB, text/plain)
2008-02-07 05:29 UTC, Winston Prakash
Details
stacktrace (2.08 KB, text/plain)
2008-02-07 05:37 UTC, Winston Prakash
Details
mymessages.log (1.14 MB, text/plain)
2008-02-08 00:02 UTC, _ krystyna
Details
mymessages.log-1 (799.35 KB, text/plain)
2008-02-08 00:03 UTC, _ krystyna
Details
screenshot (116.17 KB, image/jpeg)
2008-02-08 18:57 UTC, Venkat Chellasamy
Details
messages log using -J-Dorg.netbeans.core.projects.level=100 (271.93 KB, text/plain)
2008-02-08 18:58 UTC, Venkat Chellasamy
Details
message.log (192.39 KB, text/plain)
2008-02-11 18:22 UTC, Venkat Chellasamy
Details
netbeans.conf (1.40 KB, text/plain)
2008-02-11 18:25 UTC, Venkat Chellasamy
Details
screenshot (123.57 KB, image/jpeg)
2008-02-11 18:25 UTC, Venkat Chellasamy
Details
cb 346, winxp, jdk160 (94.82 KB, text/plain)
2008-02-11 19:34 UTC, Pavel Buzek
Details
Got Exception when Add a new server (137.03 KB, image/png)
2008-02-11 23:35 UTC, _ hong_lin
Details
Missing main toolbars in IDE (84.68 KB, image/png)
2008-02-11 23:36 UTC, _ hong_lin
Details
message.log (448.50 KB, text/plain)
2008-02-11 23:37 UTC, _ hong_lin
Details
all-layers.dat (1.25 MB, text/plain)
2008-02-12 21:34 UTC, _ hong_lin
Details
cache data 3 (1.18 MB, text/plain)
2008-02-12 21:49 UTC, _ hong_lin
Details
Cache data 4 (305.30 KB, text/plain)
2008-02-12 21:52 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2008-02-01 20:18:51 UTC
Build: NetBeans IDE Dev (Build 20080201183248)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
-newly unzpipped hudson build #161, from Tools>Servers attempting to add server, got this exception with Add Server Instance dialog fronted
Comment 1 _ krystyna 2008-02-01 20:18:59 UTC
Created attachment 55935 [details]
stacktrace
Comment 2 _ krystyna 2008-02-01 20:23:37 UTC
Re-started IDE and was able to add a Server OK.
Comment 3 _ krystyna 2008-02-01 21:15:23 UTC
Got the exception again subsequently creating first project (VW) and switching from Design/JSP/Java views.
Comment 4 _ krystyna 2008-02-01 21:20:05 UTC
Reproducible and lose main toolbar and menu.
Attaching screenshot
Comment 5 _ krystyna 2008-02-01 21:20:55 UTC
Created attachment 55939 [details]
screenshot
Comment 6 rmatous 2008-02-05 08:24:47 UTC
*** Issue 126431 has been marked as a duplicate of this issue. ***
Comment 7 _ krystyna 2008-02-06 01:03:01 UTC
Build: NetBeans IDE Dev (Build 20080205224931)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
Comment 8 _ krystyna 2008-02-06 01:03:10 UTC
Created attachment 56112 [details]
stacktrace
Comment 9 _ krystyna 2008-02-06 01:18:40 UTC
This seems to happen when using the zip builds.
Also, following the exception the server drops
out on restart and is accompanied by NPE Null Server
Instance Properties.
Comment 10 Jaroslav Tulach 2008-02-06 06:58:32 UTC
Run with -J-Dorg.netbeans.core.startup.level=100 and attach generated messages.log please.
Comment 11 _ krystyna 2008-02-07 00:11:07 UTC
Tried today with yesterdays zip build 236 but it did not happen today.
Tried again with today's installer build 02060003 and it did not happen.
I'll keep using the flag in case it does.
Comment 12 Venkat Chellasamy 2008-02-07 03:20:54 UTC
was able to reproduce using trunk build 261 [netbeans-hudson-trunk-261-javaee.zip]
attaching exception image and messages.log. The ide was run using -J-Dorg.netbeans.core.startup.level=100 
Comment 13 Venkat Chellasamy 2008-02-07 03:21:28 UTC
Created attachment 56207 [details]
exception image
Comment 14 Venkat Chellasamy 2008-02-07 03:22:13 UTC
Created attachment 56208 [details]
messages.log
Comment 15 Venkat Chellasamy 2008-02-07 03:23:16 UTC
Created attachment 56209 [details]
exception image
Comment 16 Winston Prakash 2008-02-07 05:29:40 UTC
Build: NetBeans IDE Dev (Build 20080207032211)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows Vista, 6.0, x86

User Comments: 
Comment 17 Winston Prakash 2008-02-07 05:29:44 UTC
Created attachment 56210 [details]
stacktrace
Comment 18 Winston Prakash 2008-02-07 05:37:37 UTC
Build: NetBeans IDE Dev (Build 20080207032211)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows Vista, 6.0, x86

User Comments: 
Comment 19 Winston Prakash 2008-02-07 05:37:40 UTC
Created attachment 56212 [details]
stacktrace
Comment 20 Lukas Hasik 2008-02-07 09:22:11 UTC
from duplicate issue 126654

SEVERE [org.openide.util.RequestProcessor]
org.openide.filesystems.FileStateInvalidException: MultiFileObject@d1fa4[Shortcuts]
	at org.openide.loaders.DataObject.find(DataObject.java:478)
Caused: org.openide.loaders.DataObjectNotFoundException: MultiFileObject@d1fa4[Shortcuts]
	at org.openide.loaders.DataObject.find(DataObject.java:498)
	at org.openide.loaders.DataFolder.findFolder(DataFolder.java:515)
Caused: java.lang.IllegalArgumentException
	at org.openide.loaders.DataFolder.findFolder(DataFolder.java:517)
...
Comment 21 Lukas Hasik 2008-02-07 09:23:31 UTC
*** Issue 126654 has been marked as a duplicate of this issue. ***
Comment 22 Ed Wong 2008-02-07 18:26:02 UTC
If necessary, please refer to helpful (?) log files attached to http://www.netbeans.org/issues/show_bug.cgi?id=126855
Comment 23 _ krystyna 2008-02-08 00:00:58 UTC
And was able to reproduce it today after switching back to a zip build,
build #289 javaee package so attaching my messages.log. Experienced same
loss of menu toolbar as previously reported.
Comment 24 _ krystyna 2008-02-08 00:02:34 UTC
Created attachment 56294 [details]
mymessages.log
Comment 25 _ krystyna 2008-02-08 00:03:08 UTC
Created attachment 56295 [details]
mymessages.log-1
Comment 26 Lukas Hasik 2008-02-08 07:39:16 UTC
*** Issue 126935 has been marked as a duplicate of this issue. ***
Comment 27 Jaroslav Tulach 2008-02-08 10:25:29 UTC
I've added more logging to the probably source of the problem. Please rerun your tests with additional logging 
parameter: -J-Dorg.netbeans.core.projects.level=100 attach new log and reopen.

changeset:   66442:da67606450c8
parent:      66004:373b81870403
user:        Jaroslav Tulach <jtulach@netbeans.org>
date:        Fri Feb 08 11:15:37 2008 +0100
summary:     Adding more logging to track 126521
Comment 28 Jaroslav Tulach 2008-02-08 17:33:41 UTC
For those who cannot wait for production build, the change is integrated in
http://konik-z2.czech.sun.com:8080/hudson/job/NB-Core-Build/52/
Comment 29 Venkat Chellasamy 2008-02-08 18:56:25 UTC
Reproduced using http://konik-z2.czech.sun.com:8080/hudson/job/NB-Core-Build/52/
attaching new messages.log and screen shot.
reposing the ticket.
Comment 30 Venkat Chellasamy 2008-02-08 18:57:16 UTC
Created attachment 56358 [details]
screenshot
Comment 31 Venkat Chellasamy 2008-02-08 18:58:46 UTC
Created attachment 56359 [details]
messages log using -J-Dorg.netbeans.core.projects.level=100
Comment 32 Jeff Lin 2008-02-08 23:10:41 UTC
I also tried the binary from this build http://konik-z2.czech.sun.com:8080/hudson/job/NB-Core-Build/52/ with -J-
Dorg.netbeans.core.projects.level=100

I just opened the IDE, did nothing and waited a little while. The IllegalArgumentException error window showed up and 
after a little while the NullPointerException error window showed up as well. The entire IDE was messed up.

My message log is exactly same as the attachment id=56359 created by vchellasamy.

Adding me to the cc list.
Comment 33 Lukas Hasik 2008-02-11 17:29:07 UTC
I tried hard to reproduce - created web project, added jsf pages, switched the views, added server, created ejb project
etc. Nothing. 

Please, try to reproduce with the latest build/fresh userdir with the command line switch. Attach the whole messages.log
to this issue. 
Do you import a settings from older userdir?

In the log I can see other exceptions/assertions maybe they are connected somehow?
INFO [org.netbeans.editor]
java.lang.NullPointerException: null AnnotationType for:org-netbeans-modules-editor-java-overrides
	at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:317)
	at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:180)

GRAVE [global]
java.lang.AssertionError
	at org.netbeans.modules.xml.retriever.catalog.Utilities._getDocument(Utilities.java:529)
	at org.netbeans.modules.xml.retriever.catalog.Utilities.access$000(Utilities.java:104)

INFO: Invalid DeploymentManager: null
java.lang.IllegalStateException: Invalid DeploymentManager: null
	at
org.netbeans.modules.j2ee.sun.share.configbean.SunONEDeploymentConfiguration.getResourceConfigurator(SunONEDeploymentConfiguration.java:771)
	at
org.netbeans.modules.j2ee.sun.share.configbean.SunONEDeploymentConfiguration.getDatasources(SunONEDeploymentConfiguration.java:1663)
	
Comment 34 Venkat Chellasamy 2008-02-11 17:53:46 UTC
lhasik,
which message.log are you looking at? there are 3 different users who have submitted messages.log.
My environment was using fresh userdir and see the last messages.log, it does not contain any of the other exceptions
you mention.
 
Comment 35 Venkat Chellasamy 2008-02-11 18:21:34 UTC
Okay, reproduced with latest available trunk build: netbeans-hudson-trunk-346-javaee.zip
Used fresh userdir (as always).
jdk used: jdk1.5.0_13

Attaching message.log, screenshot, netbeans.cong

steps to reproduce:

1) expand the zip file.
2) set netbeans conf
3) launch netbeans
4) create a project [ejb in my case]..exceptions occurs and observe that the main toolbar is gone.
Comment 36 Venkat Chellasamy 2008-02-11 18:22:19 UTC
Created attachment 56476 [details]
message.log
Comment 37 Venkat Chellasamy 2008-02-11 18:25:12 UTC
Created attachment 56477 [details]
netbeans.conf
Comment 38 Venkat Chellasamy 2008-02-11 18:25:50 UTC
Created attachment 56478 [details]
screenshot
Comment 39 Pavel Buzek 2008-02-11 19:32:51 UTC
I tested build 346, JDK 1.6.0,  winXp. I started with clean userdir. I just started the IDE and waited, I did not even
create a project or anything. FSIE is thrown and then the toolbar disappears. Will attach the log.
Comment 40 Pavel Buzek 2008-02-11 19:34:05 UTC
Created attachment 56479 [details]
cb 346, winxp, jdk160
Comment 41 Shivanand Kini 2008-02-11 22:21:29 UTC
I think it has something to do with the continuous build. I may be wrong about this.
When I build the netbeans on my own machine, I am not able to reproduce this.

jtulach, did you use the deadlock trunk build (http://deadlock.netbeans.org/hudson/job/trunk/) to reproduce this issue?
Comment 42 _ hong_lin 2008-02-11 23:32:26 UTC
This issue can be easily reproduced with a continues zip build. But I couldn't reproduce it with IDE which is installed
by NB 6.1 installer.

* NB 6.1 IDE (IDE1): Build 200802110004 (Downloaded this morning from
http://bits.netbeans.org/download/trunk/nightly/2008-02-11_01-01-59/)
* NB 6.1 continues zip IDE (IDE2): netbeans-hudson-trunk-348.zip (Downloaded this morning from
http://deadlock.netbeans.org/hudson/job/trunk/348/artifact/nbbuild/dist/zip)

Steps to reproduce it:
1. Install NB 6.1 IDE (IDE1) by using installer. glassfish is installed as well.
2. unzip netbeans-hudson-trunk-348.zip (IDE2)
3. set netbeans.conf file. Will use the same glassfish installed with IDE1. 
4. start IDE2 netbeans IDE.
5. Follow the steps to Add new Server, until the "Unexpected Exception" pops up. (See attached screen shot
AddServerError.png)
6. Click the "Close" button in the "Unexpected Exception" dialog.
7. The main tooltars in the IDE2 are all gone (see attached screen shot MissingMainToolbars.png)
8. message.log will be attached as well.

Comment 43 _ hong_lin 2008-02-11 23:34:09 UTC
Per Venkat, this issue blocks JCAPS team to build their installer because they pick up the NB 6.1 zip to build JCAPS
installer. We are not sure if it is an installer issue or a core issue. Please help to re-direct it to the right
component if possible.
Comment 44 _ hong_lin 2008-02-11 23:35:12 UTC
Created attachment 56491 [details]
Got Exception when Add a new server
Comment 45 _ hong_lin 2008-02-11 23:36:07 UTC
Created attachment 56492 [details]
Missing main toolbars in IDE
Comment 46 _ hong_lin 2008-02-11 23:37:03 UTC
Created attachment 56493 [details]
message.log
Comment 47 Winston Prakash 2008-02-12 05:42:32 UTC
Lately, on Windows this exception happening with in few minutes of opening the IDE. Toolbar and Main menu are lost with
that.
Comment 48 Antonin Nebuzelsky 2008-02-12 11:13:26 UTC
CB 362 (full IDE from zip), JDK 1.6.0_04, Win XP

I tried adding Glassfish V2 via Add Server, I also tried creating a new EJB project (with a fresh userdir right after
start), and I tried waiting several minutes without any activity after start with a fresh userdir. No exception was raised.

Can anyone here in Prague reproduce the problem? QE?
Comment 49 Jaromir Uhrik 2008-02-12 12:53:14 UTC
I added glassfish server and created some projects but I cannot reproduce the problem with the following configuration:
Product Version: NetBeans IDE Dev (Build 200802120006)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

I have tried also the same scenario with NetBeans daily build from 2008/02/01 but cannot reproduce:-(
Comment 50 Pavel Buzek 2008-02-12 13:52:31 UTC
juhrik: it cannot be reproduced in daily build (as HongLi says, Venkat and I also cannot reproduce it). ONLY in
CONTINUOUS BUILD
Comment 51 Petr Chytil 2008-02-12 14:03:36 UTC
I've tried to reproduce it without any success on Vista using supplied steps on these builds:
Hudson trunk #364 full, trunk #365 javaee.

My system info:
Product Version: NetBeans IDE Dev (Build 20080212113322)
Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 1.6.0_10-ea-b08
System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)
Userdir: C:\Users\tester\.netbeans\dev-hud2

I've also tried creating various projects and ran IDE for a while. But still cannot reproduce.
Comment 52 dlipin 2008-02-12 18:07:58 UTC
Can it be the reason the production build is created using jdk1.5.0_12 and continues build is likely running on 
jdk1.5.0_13 (with some tests on jdk1.5.0_14)?
Comment 53 _ hong_lin 2008-02-12 18:13:34 UTC
Hi Pchytil, Did try to add a new App Server instance?
Comment 54 dlipin 2008-02-12 18:45:14 UTC
Can`t reproduce with build #360, WinXP SP2 with a latest updates, tried both jdk1.5.0_14-b03 and jdk1.6.0_03-b05 (with 
clean userdir)

Steps that I did: add server via Tools->Servers, created WebApp with VW JSF, added some components in Design view, play 
around with JSP views, created EJBModule and add simple business method in newly created Session Bean.
Comment 55 Jaroslav Tulach 2008-02-12 19:59:23 UTC
I hate to disappoint and upset everyone but something that is not:

1. based on official bits - as far as I know continuous build does not do clean and as such it can contains a lot of trash from previous compilation
2. reproducible in CET - I can see that there was some problem, and I can continue to add more logging into the code, but so far there is no chance to find 
what is wrong
3. broken even for reporters if they use official bits - at least that is what I see people report in last comments, e.g. everything is working

does not qualify for P1. In fact, it does not qualify for a bug at all, imho. I am sure many will disagree, if so, please get next official build, run with logging 
enabled, attach your log file, if you see the failure, attach the log, attach your caches from $userdir/var/caches/all-* and reopen.
Comment 56 _ hong_lin 2008-02-12 21:31:58 UTC
I just tested with build 376, it is reproducible. build 360 is no longer available.
Will attach all the requested log files.

Venkat, is it possible for your team to pick up an official bits instead of the CET like jtulach suggested?
Comment 57 _ hong_lin 2008-02-12 21:34:37 UTC
Created attachment 56555 [details]
all-layers.dat
Comment 58 _ hong_lin 2008-02-12 21:49:49 UTC
Created attachment 56557 [details]
cache data 3
Comment 59 _ hong_lin 2008-02-12 21:52:01 UTC
Created attachment 56558 [details]
Cache data 4
Comment 60 _ hong_lin 2008-02-12 22:12:42 UTC
Looks like I am not allow to attach more files. :(
Comment 61 Venkat Chellasamy 2008-02-13 02:15:29 UTC
Why are we closing this bug? The problem exists in continous builds. If this is not a code problem but happens only with
continous builds, it needs to be assigned to the right group and fixed. 
Comment 62 Pavel Buzek 2008-02-13 07:10:42 UTC
Moving to nbbuild (the closest match I found) until we find why it is being reproduced only on deadlock builds.
Comment 63 Jaroslav Tulach 2008-02-13 15:56:49 UTC
*** Issue 127295 has been marked as a duplicate of this issue. ***
Comment 64 Jaroslav Tulach 2008-02-13 15:58:38 UTC
Re. "CET" - guys, if you reproduce the problem can you tell us what timezone you have on your computer? I know that 
sounds crazy, but so far nobody seen the problem in Europe, which is close to GMT, so maybe the bigger difference the 
bigger chances to observe it!?
Comment 65 _ hong_lin 2008-02-13 18:20:31 UTC
Pacific Time. Now is Feb 13, 10:20am. 
Comment 66 Lukas Hasik 2008-02-22 18:22:16 UTC
is it still reproducible with latest builds? Or did it disappear?
Comment 67 Jaroslav Tulach 2008-02-23 11:52:57 UTC
I guess it is not reproducible since I fixed issue 127239

*** This issue has been marked as a duplicate of 127239 ***
Comment 68 Lukas Hasik 2008-02-25 08:49:44 UTC
could somebody who was able to reproduce this issue please verify in the latest builds? this issue was P1.
thank you
Comment 69 _ hong_lin 2008-02-26 05:11:12 UTC
Confirmed with Venkat, the issue is no longer reproduced. I am closing it.