IntelliJ Community . TroubleShooter

 
TroubleShooter 

HOME INDEX SEARCH CHANGES GO  

UIDesigner Problem: How to add ImageIcons? to Buttons

Is there any way to add Images Icons to Buttons created with the
UIDesigner? I couldn't find any info on the net yet and If I
can't do that, UIDesigner is pretty much useless and I have to
program the UI by hand.

So if anyone knows the trick, please tell me!

Thanks a lot

-- MartinGajdos - 09 Jun 2006

Win32 Error: 0 on install

When I install intellij off of my company's shared drive, I get the following message:

Win32 Error: 0 File: "" Line:17742 The operation completed successfully.

Is there a work around or is there something that needs to be changed/removed from my PC in order for me to install?

-- JeffreyBlyden - 22 Jul 2005

Debugging references class files and not source

My situtation is this (build 1182 - WinXP?):

I have a project with 2 modules. X & Y

X is my main project Y is a web module, which includes as a lib a jarred up version of X

I debug a test class in the X module, with a breakpoint also in X, and when it hits, intelliJ loads the class from the jar in Y's lib dir.

I've double checked the classpaths, and they are independant, there is no sharing. I've extracted out the "javaw.exe -Xdebug" from the intellij console, and it doesn't refer to Y at all.

-- MarcusEaton 20 May 2004

Debugging problem with 1.5

Trying out debugging simple programs with 1.5 features.Compiles and runs fine.But I get this error when i debug.

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
Warning: classic VM not supported; client VM will be used
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509) ["debugInit.c",L476]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedVM initialization failed for: D:\Program Files\Java\j2sdk1.5.0\bin\javaw.exe -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=arya:4570,suspend=y,server=n -
classpath = After this the classpath follows
-- SrihariS - 27 Mar 2004

Cannot install IDEA on latest Redhat 'Fedora'

Did clean install of Redhat Fedora from CD, downloaded latest Intellij
Selected 'workstation' install.
idea-3.0.5v2.bin fails with
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
...

It can be installed using the option: -i silent
But it still won't run.
export LAX_DEBUG=true
to see debugging output.

-- MarkChamness - 04 Feb 2004

I got the same problem on Debian, from an installed copy that had worked before. Just before the Exception I saw:

java.lang.UnsatisfiedLinkError: /mnt/space/stuff/install/IntelliJ-IDEA-3.0.5/jre/lib/i386/libfontmanager.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

So after a quick search:

http://packages.debian.org/cgi-bin/search_contents.pl?word=libstdc%2B%2B-libc6.1-1.so.2&searchmode=searchfiles&case=insensitive&version=stable&arch=i386

I was able to resolve the problem with:

dpkg -i ./libstdc++2.9-glibc2.1_2.91.66-4_i386.deb

I hope you can find a similar set of old libs for Fedora.

-- JoeyTwiddle - 14 Dec 2004

log4j

I have added log4j.jar in the classpath while creating a project in idea. When I compile the project, I get the error ClassNotFoundException? Category class is not found. I created a new project now this time when I tried to compile, I get the same error ClassNotFoundException? Mailbox class not found. I have set the c:\MyProject\classes in the classpath in the project properties. What are the reasons for getting these errors?

-- JohannesRupprecht - 29 Jul 2002

This sounds exactly like a problem I had with ant. Ant sets up it's own classpath iff one doesn't already exist (at least in my case). I got your exact error on log4j when I upgraded my jar file. Turned out to be because my old env-variable classpath was pointing to the wrong things.. By nulling out the env-variable, ant found the appropriate jars. In your case, it's likely that your idea project doesn't have classpaths set up properly. Or perhaps there are rundundant log4j's of differing versions. Search the configured jar files, and possibly even delve into the jar files to make sure they don't include log4j.

-- MichaelMaraist - 12 Nov 2003

File browser freezes IDEA

I find that when I first open a file browser in IDEA (e.g. when adding to the classpath in project settings) the IDE freezes for a significant amount of time (at least 30 seconds). If I use a file browser again within a short period of time I don't have the same problem. If I don't use a browser for a while (15 minutes or so) I have the same problem. I am running IDEA on a WinXP? Pro box with an Athlon XP 1800+ and 1 G memory, plenty of disk space, heap set to a max of 256 M. I don't recall seeing this problem before I moved from Win2K Pro (where I was using IDEA for about a year). Is anyone else seeing this problem? Does anyone have any suggestions? Thanks.

-- BobBlakeley - 08 Jul 2003

I've seen this also, on one of my machines. It doesn't happen on the others. I think it might be something to do with the network. Occasionally I see explorer lock up on that machine for no apparent reason either, my only theory has been that it's trying to reconnect a network drive or something domain/crazy related like that. I've never seen it on machine that wasn't connected to a MS network/domain.

-- PaulMclachlan - 27 Aug 2003

External tools javah

Hi, Im having problems with setting up javah within external tools. can anyone help me?

problem: When using the commandline within win2000 everything is ok i.e javah creates the header file. When trying to do the same thing within Idea I dont get the header file as javah cant find the class file even though the macro points the the specified folder.. Thanks for your help in advance...

-- JohnBrown - 02 Jun 2003

RMI Compiling

How can I set up RMI compiling?

-- ScottKlein - 17 Dec 2002

Linux, Clipboard, Editor

On linux, I cannot copy/paste between X applications or terminals and the IDEA editor. I can, however, copy/paste between X and IDEA dialogs. Is this a known bug, or am I missing something?

IDEA 3.0, Build #676, Sun JDK 1.3.1_04

-- TWikiGuest - 05 Dec 2002

Post compilation process

I'm using a versant database (pretty cool database by the way), that needs a postcompilation of java classes. How to insert a postcompilation tool between debugging and compiling?

I don't like to use ant as a development compilation tool (ok to use it to built the whole project from scratch). Is it possible to insert post compilation tasks?

-- PedroCristian - 10 Feb 2003

We use Versant too. One solution is to use Versants on the fly enhancement during development. For deployment we use ant then.

-- HansMarggraff - 12 Dec 2003

Defining a new JDK

Under which conditions a directory is recognized/accepted as (the home of) a JDK? What files does IDEA search for and what should be in them? (For the specific background of the general question, please refer to JavaTwoMicroEdition)

-- UweGeuder - 13 Feb 2003

Fixing Cygwin's CVS

I've discovered that the cvs.exe that is currently distributed with Cygwin (version 1.11.6) doesn't work with IDEA 3.0.5, when logging into a password server (pserver). Any attempt to log in from within IDEA fails, even though logging in from the command line works fine.

I've downloaded WinCVS, taken its cvs.exe file (version 1.11), and copied it to Cygwin's /bin directory. Point IDEA to this new CVS client, and everything works fine.

Note: There seems to be a difference in the way that the two versions of CVS calculate whether your files are up to date. Any files currently checked with CVS 1.11.6 will appear out of date to CVS 1.11. All of your checked out files will be backed up. This is annoying, at worst.

-- JamesTikalsky - 7 Nov 2003

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.