Everything is RED

I had a file opened and when I switched back to it lots of method calls are red. When I go to the method I can remove the ) and then re-add it and it turns green. Here is a thread dump of it. Does anyone have any ideas.

Full thread dump Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode):

"EditorCaretThread" prio=7 tid=0x34d04d28 nid=0x450 waiting on condition [392ef0
00..392efd90]
at java.lang.Thread.sleep(Native Method)
at com.intellij.openapi.editor.a.m$bh_.run(m$bh_.java:30)

"com.jniwrapper.NativeResourceCollector" daemon prio=7 tid=0x34d70948 nid=0x754
in Object.wait()
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(Unknown Source) at com.jniwrapper.NativeResourceCollector$1.run(NativeResourceCollector. java:56) "AWT-EventQueue-1" prio=7 tid=0x34e6d658 nid=0x408 in Object.wait() [373bf000..3 73bfd90] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Unknown Source) at java.awt.EventQueue.getNextEvent(Unknown Source) - locked <0x12a02630> (a com.intellij.ide.s) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) "Thread-1" prio=7 tid=0x34d1f3b8 nid=0x2e4 waiting on condition [372bf000..372bf d90] at java.lang.Thread.sleep(Native Method) at com.intellij.progress.c$1.run(c$1.java:3) "TimerQueue" daemon prio=5 tid=0x34dc6ea0 nid=0x250 in Object.wait() [371bf000.. 371bfd90] at java.lang.Object.wait(Native Method) at javax.swing.TimerQueue.run(Unknown Source) - locked <0x12a002c0>]]> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Unknown Source)

"StoreRefreshStatusThread" prio=2 tid=0x3507b230 nid=0x368 waiting on condition

at java.lang.Thread.sleep(Native Method)
at com.intellij.openapi.vfs.a.a.f$a_.run(f$a_.java:1)

"WatchForChangesThread" prio=7 tid=0x3507b0c8 nid=0x2ec runnable [36eaf000..36ea
fd90]
at com.intellij.vfs.local.win32.FileWatcher.waitForChangeImpl(Native Met
hod)
at com.intellij.vfs.local.win32.FileWatcher.b(FileWatcher.java:25)
at com.intellij.openapi.vfs.a.a.f$b_.run(f$b_.java:25)

"AlarmThread" prio=7 tid=0x34dd0590 nid=0x284 in Object.wait() [3647f000..3647fd
90]
at java.lang.Object.wait(Native Method)
at com.intellij.util.Alarm$MyThread.run(Alarm.java:49)
- locked (a java.lang.Object) "AlarmThread" prio=7 tid=0x34b52920 nid=0x4d0 in Object.wait() [3637f000..3637fd 90] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Unknown Source) at com.intellij.util.Alarm$MyThread.run(Alarm.java:4) - locked <0x129310a0>]]> (a java.lang.Object)

"License checker" prio=5 tid=0x34d29d20 nid=0x720 runnable
at java.net.PlainDatagramSocketImpl.receive(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(Unknown Source) - locked <0x128c6898> (a java.net.DatagramPacket) - locked <0x12864840> (a java.net.MulticastSocket) at com.intellij.ide.i.d.d(d.java:24) at com.intellij.idea.Main$1.run(Main$1.java:2) at java.lang.Thread.run(Unknown Source) "Java2D Disposer" daemon prio=10 tid=0x34d20b18 nid=0x66c in Object.wait() [3580 f000..3580fd90] at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(Unknown Source) - locked <0x128648e0> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(Unknown Source) at sun.java2d.Disposer.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "AWT-Windows" daemon prio=7 tid=0x34ca3a30 nid=0x274 runnable [355ff000..355ffd9 0] at sun.awt.windows.WToolkit.eventLoop(Native Method) at sun.awt.windows.WToolkit.run(Unknown Source) at java.lang.Thread.run(Unknown Source) "AWT-Shutdown" prio=5 tid=0x34c7dcd8 nid=0x7c4 in Object.wait() [354ff000..354ff d90] at java.lang.Object.wait(Native Method) - waiting on <0x12864a60> (a java.lang.Object) at java.lang.Object.wait(Unknown Source) at sun.awt.AWTAutoShutdown.run(Unknown Source) - locked <0x12864a60>]]> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)

"Lock thread" prio=5 tid=0x34b53410 nid=0x4bc runnable
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
- locked ]]> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at com.intellij.idea.d$b_.run(d$b_.java:2)
at java.lang.Thread.run(Unknown Source)

"Signal Dispatcher" daemon prio=10 tid=0x00a0d108 nid=0x900 waiting on condition


"Finalizer" daemon prio=9 tid=0x00a0a3b8 nid=0x798 in Object.wait() [3456f000..3
456fd90]
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(Unknown Source) at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) "Reference Handler" daemon prio=10 tid=0x00a08f88 nid=0x994 in Object.wait() [34 46f000..3446fd90] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Unknown Source) at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source) - locked <0x127801a0>]]> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x00885688 nid=0x8fc waiting on condition

"VM Thread" prio=5 tid=0x00a48db0 nid=0x5dc runnable

"VM Periodic Task Thread" prio=10 tid=0x0088fbf0 nid=0x9e4 waiting on condition

"Suspend Checker Thread" prio=10 tid=0x00a0c7b8 nid=0x898 runnable

8 comments

Like this: http://www.intellij.net/tracker/idea/viewSCR?publicId=16103

No, I have no ideas :)

Happens to me some very few times in java editing and every five
minutes in xml editing.

0

I get this now and again, seems to be a race condition or something..
the parser seems to just give up and mark everything red. If I modify
the file or do a reformat it restarts it and all is fine.

N.

Carlos Costa e Silva wrote:

Like this: http://www.intellij.net/tracker/idea/viewSCR?publicId=16103

No, I have no ideas :)

Happens to me some very few times in java editing and every five
minutes in xml editing.


0

Also, I looked at the idea logs, and there are a lot of:

2003-11-13 12:26:00,056 INFO -
pl.DocumentEditingUndoProvider - Creating NonUndoableAction for file
FvSomaLiquido.java (document was modified in other project)

When idea is the only app editing the file(s).

Some race within idea ?

0

Hi Carlos and others.

We had a bug in 963 that cause such effect (in Java). It is fixed in 970
so please wait for update. In XML the problem is in progress.

Thanks,
IK
Carlos Costa e Silva wrote:

Also, I looked at the idea logs, and there are a lot of:

2003-11-13 12:26:00,056 INFO -
pl.DocumentEditingUndoProvider - Creating NonUndoableAction for file
FvSomaLiquido.java (document was modified in other project)

When idea is the only app editing the file(s).

Some race within idea ?



--
Igor Kuralenok
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

so please wait for update.


What do you think we are doing?

I don't want to bother you, but I wait for a new build since one day
after build 963 was released.

Tom



0

Thomas Singer wrote:

>> so please wait for update.


What do you think we are doing?

I don't want to bother you, but I wait for a new build since one day
after build 963 was released.


We are struggling hard to release a build today.

Friendly,
Dmitry
--
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Fine. Hope, it will give you and me a better sleep this weekend.

Tom

0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

me too :)

Thomas Singer wrote:

| Fine. Hope, it will give you and me a better sleep this weekend.
|
| Tom
|
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/tMsS+cV9vuB27SARAihvAJ0TNbZxye93CbZxucDFyDcAAkfA2ACg9U1g
r0mZdXca/XpcfPhh/yT444o=
=TxPb
-


END PGP SIGNATURE-----

0

Please sign in to leave a comment.