Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Peter Gromov
Subsystem
J2EE.Spring
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Grant Gochnauer
    3 years ago (29 Oct 2008 01:35)
  • Updated by   root
    2 years ago (17 Jan 2010 21:07)
  • Jira: IDEADEV-32098
    (history, comments)
 
IDEA-46371 Cannot parse custom bean in spring
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
see screenshot

Issue was resolved
Comments (23)
 
History
 
Linked Issues (?)
 
Peter Gromov
  Peter Gromov
29 Oct 2008 13:42
3 years ago
Please check that Spring plugin is up to date, especially spring-customNs.jar
Peter Gromov
  Peter Gromov
29 Oct 2008 13:45
3 years ago
Which JDK do you use to run IDEA, BTW?
Grant Gochnauer
  Grant Gochnauer
29 Oct 2008 14:55
3 years ago
I did think this was odd as well. I'm using everything right out of the box. Default JDK that comes with Windows installer and every time I install, I completely remove my existing IDEA 8 install folder and delete my ./IntelliJ80/system folder as well.

I'll try to next nightly build today.
Peter Gromov
  Peter Gromov
29 Oct 2008 15:00
3 years ago
Could you attach the customNs.jar from your Spring plugin? Make also sure that plugins aren't loaded from some unexpected path like ~/.IntelliJIDEA8.0/plugins
Grant Gochnauer
  Grant Gochnauer
29 Oct 2008 15:08
3 years ago
ns jar from IDEA install folder.

confirmed no other spring/custom plugins were installed
Grant Gochnauer
  Grant Gochnauer
29 Oct 2008 15:10
3 years ago
here are the other files just in case :)
Peter Gromov
  Peter Gromov
29 Oct 2008 15:31
3 years ago
Which JDK are you using in your project?
Grant Gochnauer
  Grant Gochnauer
29 Oct 2008 16:17
3 years ago
Hi Peter –

I'm using JDK5 in my project that is provided from WAS 6.1.0.19 because I'm working and deploying into that specific server for my project.

Grant
Grant Gochnauer
  Grant Gochnauer
31 Oct 2008 02:50
3 years ago
This is still not working for me... I'll attach another screenshot of the error
Grant Gochnauer
  Grant Gochnauer
31 Oct 2008 02:50
3 years ago
This is what I get now
Grant Gochnauer
  Grant Gochnauer
31 Oct 2008 02:51
3 years ago
I should also note this is in build 8987
Peter Gromov
  Peter Gromov
31 Oct 2008 20:57
3 years ago
Please check next Diana (non-Final!) builds, they should produce more output
Grant Gochnauer
  Grant Gochnauer
31 Oct 2008 21:01
3 years ago
Peter –

I will. Do you know when they will be available on the ftp?

Thanks
Peter Gromov
  Peter Gromov
31 Oct 2008 21:09
3 years ago
These are builds numbered 91xx. They will eventually appear on the ftp, but sometimes there'll be only release branch builds (89xx), so a luck is needed to download at a right moment
Grant Gochnauer
  Grant Gochnauer
04 Nov 2008 16:09
3 years ago
Peter – This still does not work in 9107 and I see the same message as before. What else can I do to try to help you narrow the problem down?

BTW – this is parsing the DWR namespace with DWR 2.0.5 JAR.

I can zip up the JDK I'm using for my project if that helps.

Grant
Grant Gochnauer
  Grant Gochnauer
11 Nov 2008 23:16
3 years ago
Peter – Any update on a fix for this? Can we re-open the issue? I'm still seeing this in 9125

Thanks
Peter Gromov
  Peter Gromov
12 Nov 2008 11:47
3 years ago
Sorry, somehow I've missed your previous comment.
So, we still see incompatible class version? Even 47 (0x2F) doesn't suit it? Due to the spec, it should fit into Java 1.3.
So, we get to know which class versions does your JDK need.
Yes, maybe zipping JDK up isn't such a bad thing. A more minor thing is to try to run com.intellij.spring.model.xml.custom.CustomBeanParser class from customNs.jar in Spring plugin. It has main method, and reads from console. If it actually runs, you could type 'input\n' and some other text, and then see it fails because it can't find Spring in classpath. That would be pretty normal.

By the way, stupid question, do your Spring and DWR (as they appear in classpath of your IDEA module) class versions satisfy your JDK? Should be at most 49 (0x31) in any class file at offset 6, after CAFEBABE00.
Grant Gochnauer
  Grant Gochnauer
12 Nov 2008 16:14
3 years ago
Peter –

I haven't had a chance to test your suggestions but in the mean time, I uploaded the WAS JDK I'm using as IDEADEV-32098.zip to the .uploads folder on your FTP. Maybe using that will help you reproduce.

Thanks!
Peter Gromov
  Peter Gromov
12 Nov 2008 17:38
3 years ago
I get a parsing timeout on this JDK. Not to say this is much better, but this is not what you have
Grant Gochnauer
  Grant Gochnauer
12 Nov 2008 17:43
3 years ago
Weird! Here is my DWR JAR I am using (it's from the public maven repo)

I should also note, I'm using the Spring 2.5.6 build from the public maven repo as well.
Peter Gromov
  Peter Gromov
12 Nov 2008 18:22
3 years ago
After I've fixed the timeout at least the dwr:configuration bean was parsed successfully
Grant Gochnauer
  Grant Gochnauer
12 Nov 2008 18:25
3 years ago
Who knows – maybe that was the problem :) Isn't working with IBM JDKs great!?! <sigh>
Peter Gromov
  Peter Gromov
12 Nov 2008 18:29
3 years ago
Oh, it's very great! You ask it to System.out.println("\n") and get "\r\n" actually.