Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all 5661 articles
Browse latest View live

Flex debug not working

$
0
0

Hello. Do not run debugging, who faced with such a problem? The project is launched, not only works debugging. IDEA 14, OS X 10.10

 

/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -d32 -Dapplication.home=/Users/hitek/Documents/FlexSDK -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath "/Applications/IntelliJ IDEA 14.app/Contents/plugins/flex/lib/idea-fdb-4.5.0.20967-fix.jar:/Users/hitek/Documents/FlexSDK/lib/fdb.jar" flex.tools.debugger.cli.DebugCLI
Exception in thread "main" java.lang.IllegalAccessError: tried to access method flex.tools.debugger.cli.FaultActions.<init>()V from class flex.tools.debugger.cli.DebugCLI
at flex.tools.debugger.cli.DebugCLI.<init>(DebugCLI.java:384)
at flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:321)
java.io.IOException: Stream closed


(golang)How can I debug golang project on IntelliJ IDEA 15

$
0
0

Hello guys,

 

I'm developping golang application on IntelliJ IDEA 15.

To develop golang app, I installed plugin for golang.

 

But, I couldn't debug code using debug functions.

How can I debug it on IntelliJ IDEA 15?

Ruby on Rails: Try as I might, I can't create a RoR project

$
0
0

Desperate for some step-by-step as this just isn't working for me and I can't find any resource that helps me walk this through - I'm new to RoR and Idea.  I want to cretae a brand new project from scratch for RoR development.  In fact, nothing more complext than walking through a RoR tutorial.

 

For background, I have already run through that tutorial with a simple text editor and cmd line and I had no problems.  RVM is installed and the default Ruby version is 2.2.3.  Rails version is 4.2.5

 

If I Create New Project, I can select a Ruby on rails project and it brings up the appropriate new project dialog.  When I first tried this, the only Ruby available to me was 2.0.0 (a default OSX version I think) - at that attempt I actually navigated to the ruby in ~/.rvm/..... Now, when I try it does actually give me 2.2.3 [global] as an option, which I select.

 

Next, Rails version: only option available to me is "Install Gem" (is Select Version an option??).  Anyway whether I leave it as Select Version or Install Rails Gem... the result is the same.  So I select Install Rails Gem...  Why do I need to do this?  Why can't it detect the install of the Rails gem?

 

Next, the only thing I can do is enter a working directory.  It's not clear what this is for but I enter src/rails/blog.

 

I can't preconfigure the database which is set to mysql - I have sqlite3 on my mac, not mysql - nor any of the other options so I click next.

 

Here I enter the name of the project and its directory and click finish.

 

Whatever it needs to do, it seems to do but I get an error reporting that it couldn't run gem rails (or similar) and I end up with an empty project.  If I look at Project Structure it has a module for RoR but doesn't give me any info.  Project problems are counted at 22 and all seem to relate to a missing path in a variety of Gems.

 

Just stuck

Extracting part of an image using BufferedImage and drawImage?

$
0
0

I've been trying for a while now to try to extract part of an image in IntelliJ. It has to be specified by the values of x, y, width and height. But I'm honestly unsure how to go about this since whatever way I try, I always seem to get some kind of error. After hours spent on coding and research online, I think that I need to use BufferedImage as well as drawImage. However, I was not never taught in class how to use these two (or even how to go about such task...) and that's why I'm asking for help here. Hopefully, somebody will be able to help me with this one. If anything is unclear then please let me know and I'll try to explain in better.

Code provided:

/**
 * Method to return a string with information about this picture.
 *
 * @return a string with information about the picture such as fileName,
 *         height and width.
 */
public String toString() {    String output = "Picture, filename " + getFileName() +            " height " + getHeight()            + " width " + getWidth();    return output;

}

public static void main(String[] args) {
    FileChooser.setMediaPath("mediasources/");    String fileName = FileChooser.getMediaPath("butterfly1.jpg");    Picture pictObj = new Picture(fileName);    pictObj.explore();
}

What I'm thinking of using:

public BufferedImage extract (int x, int y, int w, int h) {

Also, the method has to pass the following tests:

public class extractTests {
@Test
public void comparePicturesTest1() {    FileChooser.setMediaPath("mediasources/");    String fileName = FileChooser.getMediaPath("butterfly1.jpg");    Picture pictObj = new Picture(fileName);    Picture out = pictObj.extract(30, 240, 100, 100);    String fileName3 = FileChooser.getMediaPath("extract2.jpg");    out.write(fileName3);    String fileName1 = FileChooser.getMediaPath("extract1.jpg");    Picture pict2 = new Picture(fileName1);    String fileName2 = FileChooser.getMediaPath("extract2.jpg");    Picture pict3 = new Picture(fileName2);    comparePictures(pict2, pict3);
}

@Test
public void comparePicturesTest2() {
    FileChooser.setMediaPath("mediasources/");    String fileName = FileChooser.getMediaPath("butterfly2.jpg");    Picture pictObj = new Picture(fileName);    Picture out = pictObj.extract(80, 50, 400, 300);    String fileName3 = FileChooser.getMediaPath("extract4.jpg");    out.write(fileName3);    String fileName1 = FileChooser.getMediaPath("extract3.jpg");    Picture pict2 = new Picture(fileName1);    String fileName2 = FileChooser.getMediaPath("extract4.jpg");    Picture pict3 = new Picture(fileName2);    comparePictures(pict2, pict3);
}

private void comparePictures(Picture pict2, Picture pict3) {
    Pixel[] pixels1 = pict2.getPixels();    Pixel[] pixels2 = pict3.getPixels();    assertEquals(pixels1.length, pixels2.length);    for(int i = 0; i < pixels1.length; i++) {        Pixel pixel1 = pixels1[i];        Pixel pixel2 = pixels2[i];        assertEquals("At pixel (" + pixel1.getX() + ", " + pixel1.getY() + ")",                pixel1.getColor(), pixel2.getColor());      }    }
}

Thanks in advance!

Correct Version of IntelliJ Idea for Mac OS X 10.6.8

$
0
0

Hi All:

 

I am using Mac Os X 10.6.8, I tried to use IntelliJ Idea 15 free edition but could not get it to start. I received the following error message. Is 15 the right version of IntelliJ Idea to use for my Mac ? if not, which version of IntelliJ Idea should I use? Thanks In advance.

 

Process:         idea [12373]
Path:            /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/MacOS/idea
Identifier:      com.jetbrains.intellij.ce
Version:         15.0.1 (IC-143.382.35)
Code Type:       X86-64 (Native)
Parent Process:  launchd [99]

 

Date/Time:       2015-12-06 07:50:02.012 +0600
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

 

Interval Since Last Report:          42481 sec
Crashes Since Last Report:           2
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      CD5020A7-45CA-473A-B602-A93922F829F3

 

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  2

 

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                 0x00000001004ded7a mach_msg_trap + 10
1   libSystem.B.dylib                 0x00000001004df3ed mach_msg + 59
2   com.apple.CoreFoundation          0x000000010176f902 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation          0x000000010176ed8f CFRunLoopRunSpecific + 575
4   com.jetbrains.intellij.ce         0x00000001000013bf main + 357
5   com.jetbrains.intellij.ce         0x0000000100001238 start + 52

 

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib                 0x00000001004f7c0a kevent + 10
1   libSystem.B.dylib                 0x00000001004f9add _dispatch_mgr_invoke + 154
2   libSystem.B.dylib                 0x00000001004f97b4 _dispatch_queue_invoke + 185
3   libSystem.B.dylib                 0x00000001004f92de _dispatch_worker_thread2 + 252
4   libSystem.B.dylib                 0x00000001004f8c08 _pthread_wqthread + 353
5   libSystem.B.dylib                 0x00000001004f8aa5 start_wqthread + 13

 

Thread 2 Crashed:
0   com.apple.CoreFoundation          0x00000001017a68a1 ___forwarding___ + 673
1   com.apple.CoreFoundation          0x00000001017a2a38 _CF_forwarding_prep_0 + 232
2   libobjc.A.dylib                   0x000000010041a325 _class_initialize + 384
3   libobjc.A.dylib                   0x000000010042852b prepareForMethodLookup + 234
4   libobjc.A.dylib                   0x0000000100420cb9 lookUpMethod + 73
5   libobjc.A.dylib                   0x0000000100418faa objc_msgSend + 198
6   libawt_lwawt.dylib                0x0000000120021728 JNI_OnLoad + 412
7   libjava.dylib                     0x0000000107702919 Java_java_lang_ClassLoader_00024NativeLibrary_load + 208
8   ???                               0x000000010b2e50d4 0 + 4482552020
9   ???                               0x000000010b2d798d 0 + 4482496909
10  ???                               0x000000010b2d7160 0 + 4482494816
11  ???                               0x000000010b2d798d 0 + 4482496909
12  ???                               0x000000010b2d798d 0 + 4482496909
13  ???                               0x000000010b2d04e7 0 + 4482467047
14  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
15  libjvm.dylib                      0x000000010aaf10ae jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 447
16  libjvm.dylib                      0x000000010aae9f7e jni_CallStaticVoidMethodV + 232
17  libjava.dylib                     0x000000010770f8d3 JNU_CallStaticMethodByName + 282
18  libawt.dylib                      0x000000011ff8d76a AWT_OnLoad + 547
19  libawt.dylib                      0x000000011ff8d7b7 JNI_OnLoad + 9
20  libjava.dylib                     0x0000000107702919 Java_java_lang_ClassLoader_00024NativeLibrary_load + 208
21  ???                               0x000000010b2e50d4 0 + 4482552020
22  ???                               0x000000010b2d798d 0 + 4482496909
23  ???                               0x000000010b2d7160 0 + 4482494816
24  ???                               0x000000010b2d798d 0 + 4482496909
25  ???                               0x000000010b2d798d 0 + 4482496909
26  ???                               0x000000010b2d798d 0 + 4482496909
27  ???                               0x000000010b2d7710 0 + 4482496272
28  ???                               0x000000010b2d04e7 0 + 4482467047
29  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
30  libjvm.dylib                      0x000000010ab12c4c JVM_DoPrivileged + 1208
31  ???                               0x000000010b2e50d4 0 + 4482552020
32  ???                               0x000000010b2d7710 0 + 4482496272
33  ???                               0x000000010b2d798d 0 + 4482496909
34  ???                               0x000000010b2d04e7 0 + 4482467047
35  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
36  libjvm.dylib                      0x000000010aaab3ad InstanceKlass::call_class_initializer_impl(instanceKlassHandle, Thread*) + 191
37  libjvm.dylib                      0x000000010aaac8b5 InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 1205
38  libjvm.dylib                      0x000000010aaacb37 InstanceKlass::initialize(Thread*) + 61
39  libjvm.dylib                      0x000000010ab908ce LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*) + 156
40  libjvm.dylib                      0x000000010ab90ae2 LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle, int, Thread*) + 258
41  libjvm.dylib                      0x000000010ab90ba3 LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle, int, Bytecodes::Code, Thread*) + 179
42  libjvm.dylib                      0x000000010aad1425 InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code) + 881
43  ???                               0x000000010b2f0fba 0 + 4482600890
44  ???                               0x000000010b2d04e7 0 + 4482467047
45  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
46  libjvm.dylib                      0x000000010aaab3ad InstanceKlass::call_class_initializer_impl(instanceKlassHandle, Thread*) + 191
47  libjvm.dylib                      0x000000010aaac8b5 InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 1205
48  libjvm.dylib                      0x000000010aaacb37 InstanceKlass::initialize(Thread*) + 61
49  libjvm.dylib                      0x000000010ab908ce LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*) + 156
50  libjvm.dylib                      0x000000010ab90ae2 LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle, int, Thread*) + 258
51  libjvm.dylib                      0x000000010ab90ba3 LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle, int, Bytecodes::Code, Thread*) + 179
52  libjvm.dylib                      0x000000010aad1425 InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code) + 881
53  ???                               0x000000010b2f0fc8 0 + 4482600904
54  ???                               0x000000010b2d04e7 0 + 4482467047
55  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
56  libjvm.dylib                      0x000000010aaab3ad InstanceKlass::call_class_initializer_impl(instanceKlassHandle, Thread*) + 191
57  libjvm.dylib                      0x000000010aaac8b5 InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 1205
58  libjvm.dylib                      0x000000010aaacb37 InstanceKlass::initialize(Thread*) + 61
59  libjvm.dylib                      0x000000010aad2a44 InterpreterRuntime::_new(JavaThread*, ConstantPool*, int) + 94
60  ???                               0x000000010b2f1fc7 0 + 4482604999
61  ???                               0x000000010b2d04e7 0 + 4482467047
62  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
63  libjvm.dylib                      0x000000010aaab3ad InstanceKlass::call_class_initializer_impl(instanceKlassHandle, Thread*) + 191
64  libjvm.dylib                      0x000000010aaac8b5 InstanceKlass::initialize_impl(instanceKlassHandle, Thread*) + 1205
65  libjvm.dylib                      0x000000010aaacb37 InstanceKlass::initialize(Thread*) + 61
66  libjvm.dylib                      0x000000010ab908ce LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*) + 156
67  libjvm.dylib                      0x000000010ab90ae2 LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle, int, Thread*) + 258
68  libjvm.dylib                      0x000000010ab90ba3 LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle, int, Bytecodes::Code, Thread*) + 179
69  libjvm.dylib                      0x000000010aad1425 InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code) + 881
70  ???                               0x000000010b2f0fc8 0 + 4482600904
71  ???                               0x000000010b2d04e7 0 + 4482467047
72  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
73  libjvm.dylib                      0x000000010ac8a32a Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) + 3576
74  libjvm.dylib                      0x000000010ac8a844 Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*) + 364
75  libjvm.dylib                      0x000000010ab0a934 JVM_InvokeMethod + 358
76  ???                               0x000000010b2e50d4 0 + 4482552020
77  ???                               0x000000010b2d7710 0 + 4482496272
78  ???                               0x000000010b2d7710 0 + 4482496272
79  ???                               0x000000010b2d77e4 0 + 4482496484
80  ???                               0x000000010b2d7710 0 + 4482496272
81  ???                               0x000000010b2d798d 0 + 4482496909
82  ???                               0x000000010b2d04e7 0 + 4482467047
83  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
84  libjvm.dylib                      0x000000010aaf10ae jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 447
85  libjvm.dylib                      0x000000010aae9e46 jni_CallStaticVoidMethod + 349
86  com.jetbrains.intellij.ce         0x0000000100003823 -[Launcher launch] + 831
87  com.apple.Foundation              0x000000010002b114 __NSThread__main__ + 1429
88  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
89  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 3:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac20860 ParkCommon(ParkEvent*, long) + 42
4   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
5   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
6   libjvm.dylib                      0x000000010ad76029 GangWorker::loop() + 179
7   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
8   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
9   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 4:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac20860 ParkCommon(ParkEvent*, long) + 42
4   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
5   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
6   libjvm.dylib                      0x000000010ad76029 GangWorker::loop() + 179
7   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
8   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
9   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 5:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac20860 ParkCommon(ParkEvent*, long) + 42
4   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
5   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
6   libjvm.dylib                      0x000000010ad76029 GangWorker::loop() + 179
7   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
8   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
9   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 6:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac20860 ParkCommon(ParkEvent*, long) + 42
4   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
5   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
6   libjvm.dylib                      0x000000010ad76029 GangWorker::loop() + 179
7   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
8   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
9   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 7:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac427b2 os::PlatformEvent::park(long) + 404
3   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
4   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
5   libjvm.dylib                      0x000000010a9d36bc ConcurrentMarkSweepThread::wait_on_cms_lock_for_scavenge(long) + 152
6   libjvm.dylib                      0x000000010a9d3815 ConcurrentMarkSweepThread::sleepBeforeNextCycle() + 95
7   libjvm.dylib                      0x000000010a9d31bb ConcurrentMarkSweepThread::run() + 407
8   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
9   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
10  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 8:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac427b2 os::PlatformEvent::park(long) + 404
3   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
4   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
5   libjvm.dylib                      0x000000010ad68144 VMThread::loop() + 444
6   libjvm.dylib                      0x000000010ad67bcf VMThread::run() + 121
7   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
8   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
9   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 9:  Java: Reference Handler
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac3a340 ObjectMonitor::wait(long, bool, Thread*) + 748
4   libjvm.dylib                      0x000000010acecd70 ObjectSynchronizer::wait(Handle, long, Thread*) + 202
5   libjvm.dylib                      0x000000010ab13dfa JVM_MonitorWait + 156
6   ???                               0x000000010b2e50d4 0 + 4482552020
7   ???                               0x000000010b2d798d 0 + 4482496909
8   ???                               0x000000010b2d798d 0 + 4482496909
9   ???                               0x000000010b2d04e7 0 + 4482467047
10  libjvm.dylib                      0x000000010aad6c1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710
11  libjvm.dylib                      0x000000010aad73a8 JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356
12  libjvm.dylib                      0x000000010aad7554 JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74
13  libjvm.dylib                      0x000000010ab0d53a thread_entry(JavaThread*, Thread*) + 124
14  libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
15  libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
16  libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
17  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
18  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 10:  Java: Finalizer
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac3a340 ObjectMonitor::wait(long, bool, Thread*) + 748
4   libjvm.dylib                      0x000000010acecd70 ObjectSynchronizer::wait(Handle, long, Thread*) + 202
5   libjvm.dylib                      0x000000010ab13dfa JVM_MonitorWait + 156
6   ???                               0x000000010b2e50d4 0 + 4482552020

 

Thread 11:  Java: Surrogate Locker Thread (Concurrent GC)
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac20860 ParkCommon(ParkEvent*, long) + 42
4   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
5   libjvm.dylib                      0x000000010ac21306 Monitor::wait(bool, long, bool) + 222
6   libjvm.dylib                      0x000000010a9b96ad SurrogateLockerThread::loop() + 141
7   libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
8   libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
9   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
10  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
11  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 12:  Java: Signal Dispatcher
0   libSystem.B.dylib                 0x00000001004dedb6 semaphore_wait_trap + 10
1   libjvm.dylib                      0x000000010ac43e18 check_pending_signals(bool) + 128
2   libjvm.dylib                      0x000000010ac40965 signal_thread_entry(JavaThread*, Thread*) + 57
3   libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
4   libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
5   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
6   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
7   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 13:  Java: C2 CompilerThread0
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac427b2 os::PlatformEvent::park(long) + 404
3   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
4   libjvm.dylib                      0x000000010ac21306 Monitor::wait(bool, long, bool) + 222
5   libjvm.dylib                      0x000000010a9b18a2 CompileQueue::get() + 122
6   libjvm.dylib                      0x000000010a9b1ac4 CompileBroker::compiler_thread_loop() + 376
7   libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
8   libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
9   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
10  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
11  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 14:  Java: C2 CompilerThread1
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac427b2 os::PlatformEvent::park(long) + 404
3   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
4   libjvm.dylib                      0x000000010ac21306 Monitor::wait(bool, long, bool) + 222
5   libjvm.dylib                      0x000000010a9b18a2 CompileQueue::get() + 122
6   libjvm.dylib                      0x000000010a9b1ac4 CompileBroker::compiler_thread_loop() + 376
7   libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
8   libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
9   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
10  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
11  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 15:  Java: C1 CompilerThread2
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac427b2 os::PlatformEvent::park(long) + 404
3   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
4   libjvm.dylib                      0x000000010ac21306 Monitor::wait(bool, long, bool) + 222
5   libjvm.dylib                      0x000000010a9b18a2 CompileQueue::get() + 122
6   libjvm.dylib                      0x000000010a9b1ac4 CompileBroker::compiler_thread_loop() + 376
7   libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
8   libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
9   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
10  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
11  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 16:  Java: Service Thread
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac418c8 os::PlatformEvent::park() + 192
3   libjvm.dylib                      0x000000010ac20860 ParkCommon(ParkEvent*, long) + 42
4   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
5   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
6   libjvm.dylib                      0x000000010ac99dee ServiceThread::service_thread_entry(JavaThread*, Thread*) + 120
7   libjvm.dylib                      0x000000010ad1db25 JavaThread::thread_main_inner() + 155
8   libjvm.dylib                      0x000000010ad1f1d2 JavaThread::run() + 448
9   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
10  libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
11  libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 17:
0   libSystem.B.dylib                 0x0000000100519a6a __semwait_signal + 10
1   libSystem.B.dylib                 0x000000010051d881 _pthread_cond_wait + 1286
2   libjvm.dylib                      0x000000010ac427b2 os::PlatformEvent::park(long) + 404
3   libjvm.dylib                      0x000000010ac21136 Monitor::IWait(Thread*, long) + 168
4   libjvm.dylib                      0x000000010ac2139f Monitor::wait(bool, long, bool) + 375
5   libjvm.dylib                      0x000000010ad1dff8 WatcherThread::sleep() const + 126
6   libjvm.dylib                      0x000000010ad1ee49 WatcherThread::run() + 243
7   libjvm.dylib                      0x000000010ac45ab2 java_start(Thread*) + 246
8   libSystem.B.dylib                 0x0000000100517fd6 _pthread_start + 331
9   libSystem.B.dylib                 0x0000000100517e89 thread_start + 13

 

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010185b2c8  rcx: 0x0000000000000000  rdx: 0x000000010a801000
  rdi: 0x000000000000003b  rsi: 0x0000000000000001  rbp: 0x000000010a7fba40  rsp: 0x000000010a7fb9f0
   r8: 0x0000000000000001   r9: 0x00000001066841e0  r10: 0x0000000000000001  r11: 0x0000000106683ee0
  r12: 0x0000000000000000  r13: 0x000000011f699420  r14: 0x000000011f699448  r15: 0x000000011f699420
  rip: 0x00000001017a68a1  rfl: 0x0000000000000287  cr2: 0x000000010742a000

 

Binary Images:
       0x100000000 -        0x100008fff +com.jetbrains.intellij.ce 15.0.1 (IC-143.382.35) <A7ED6AC6-FDBB-317F-9854-7EF6B652B4CB> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/MacOS/idea
       0x100017000 -        0x100017ff7  com.apple.Cocoa 6.6 (???) <68B0BE46-6E24-C96F-B341-054CF9E8F3B6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
       0x10001a000 -        0x10029cfff  com.apple.Foundation 6.6.8 (751.63) <E10E4DB4-9D5E-54A8-3FB6-2A82426066E4> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x100414000 -        0x1004caff7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
       0x1004de000 -        0x10069ffef  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
       0x100731000 -        0x10112bff7  com.apple.AppKit 6.6.8 (1038.36) <4CFBE04C-8FB3-B0EA-8DDB-7E7D10E9D251> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x101723000 -        0x10189afe7  com.apple.CoreFoundation 6.6.6 (550.44) <BB4E5158-E47A-39D3-2561-96CB49FA82D4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x1019b3000 -        0x1019b3ff7  com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
       0x1019b6000 -        0x101af4fff  com.apple.CoreData 102.1 (251) <9DFE798D-AA52-6A9A-924A-DA73CB94D81A> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
       0x101b8c000 -        0x101b8cff7  com.apple.ApplicationServices 38 (38) <10A0B9E9-4988-03D4-FC56-DDE231A02C63> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
       0x101b8f000 -        0x101cc4fff  com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <F4814A13-E557-59AF-30FF-E62929367933> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
       0x101d3e000 -        0x101d3fff7  com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <49B723D1-85F8-F86C-2331-F586C56D68AF> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
       0x101d44000 -        0x101e29fef  com.apple.DesktopServices 1.5.11 (1.5.11) <39FAA3D2-6863-B5AB-AED9-92D878EA2438> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
       0x101e78000 -        0x102176fff  com.apple.HIToolbox 1.6.5 (???) <AD1C18F6-51CB-7E39-35DD-F16B1EB978A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x1022a2000 -        0x102302fe7  com.apple.framework.IOKit 2.0 (???) <4F071EF0-8260-01E9-C641-830E582FA416> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
       0x102326000 -        0x1026c3fe7  com.apple.QuartzCore 1.6.3 (227.37) <16DFF6CD-EA58-CE62-A1D7-5F6CE3D066DD> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
       0x1027f1000 -        0x102a7aff7  com.apple.security 6.1.2 (55002) <D224882B-D57B-83AF-3781-548BCEACB327> /System/Library/Frameworks/Security.framework/Versions/A/Security
       0x102b72000 -        0x102b7dff7  com.apple.speech.recognition.framework 3.11.1 (3.11.1) <3D65E89B-FFC6-4AAF-D5CC-104F967C8131> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
       0x102b87000 -        0x102bd3fff  libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
       0x102be0000 -        0x102d9efff  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <97A75BFB-0DB6-6F44-36B0-97B7F7208ABB> /usr/lib/libicucore.A.dylib
       0x102e0d000 -        0x102f23ff7  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <3814FCF9-92B9-A6AB-E76A-F7021894AA3F> /usr/lib/libxml2.2.dylib
       0x102f4c000 -        0x102f5dff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <97019C74-161A-3488-41EC-A6CA8738418C> /usr/lib/libz.1.dylib
       0x102f62000 -        0x102fa9ff7  com.apple.coreui 2 (114) <923E33CC-83FC-7D35-5603-FB8F348EE34B> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
       0x102fce000 -        0x10304dfe7  com.apple.audio.CoreAudio 3.2.6 (3.2.6) <79E256EB-43F1-C7AA-6436-124A4FFB02D0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
       0x103083000 -        0x103089ff7  com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
       0x103092000 -        0x103093fff  liblangid.dylib ??? (???) <EA4D1607-2BD5-2EE2-2A3B-632EEE5A444D> /usr/lib/liblangid.dylib
       0x103097000 -        0x1030adfe7  com.apple.MultitouchSupport.framework 207.11 (207.11) <8233CE71-6F8D-8B3C-A0E1-E123F6406163> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
       0x1030ba000 -        0x1037b6ff7  com.apple.CoreGraphics 1.545.0 (???) <58D597B1-EB3B-710E-0B8C-EC114D54E11B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
       0x1038a8000 -        0x103a67fff  com.apple.ImageIO.framework 3.0.6 (3.0.6) <92882FD3-CB3F-D0BE-DDDA-43B4BEE10F58> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
       0x103ad3000 -        0x103b51ff7  com.apple.CoreText 151.13 (???) <5C6214AD-D683-80A8-86EB-328C99B75322> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
       0x103b8f000 -        0x103c29fff  com.apple.ApplicationServices.ATS 275.19 (???) <2DE8987F-4563-4D8E-45C3-2F6F786E120D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
       0x103c52000 -        0x103d13fef  com.apple.ColorSync 4.6.8 (4.6.8) <7DF1D175-6451-51A2-DBBF-40FCA78C0D2C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
       0x103d50000 -        0x103da3ff7  com.apple.HIServices 1.8.3 (???) <F6E0C7A7-C11D-0096-4DDA-2C77793AA6CD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
       0x103dcf000 -        0x103de4ff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <1AE1FE8F-2204-4410-C94E-0E93B003BEDA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
       0x103df2000 -        0x103e77ff7  com.apple.print.framework.PrintCore 6.3 (312.7) <CDFE82DD-D811-A091-179F-6E76069B432D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
       0x103ead000 -        0x103eeefef  com.apple.QD 3.36 (???) <5DC41E81-32C9-65B2-5528-B33E934D5BB4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
       0x103f06000 -        0x103f1aff7  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <621B7415-A0B9-07A7-F313-36BEEDD7B132> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
       0x103f2b000 -        0x103f41fef  libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
       0x103f4a000 -        0x103f4eff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
       0x103f51000 -        0x103fcefef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
       0x10402f000 -        0x10403dff7  libkxld.dylib ??? (???) <8145A534-95CC-9F3C-B78B-AC9898F38C6F> /usr/lib/system/libkxld.dylib
       0x104041000 -        0x104375fef  com.apple.CoreServices.CarbonCore 861.39 (861.39) <1386A24D-DD15-5903-057E-4A224FAF580B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
       0x1043ef000 -        0x1044c3fe7  com.apple.CFNetwork 454.12.4 (454.12.4) <C83E2BA1-1818-B3E8-5334-860AD21D1C80> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
       0x104537000 -        0x104581ff7  com.apple.Metadata 10.6.3 (507.15) <DE238BE4-5E22-C4D5-CF5C-3D50FDEE4701> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
       0x1045ab000 -        0x104668fff  com.apple.CoreServices.OSServices 359.2 (359.2) <BBB8888E-18DE-5D09-3C3A-F4C029EC7886> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
       0x1046c2000 -        0x104752fff  com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
       0x104790000 -        0x1047cbfff  com.apple.AE 496.5 (496.5) <208DF391-4DE6-81ED-C697-14A2930D1BC6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
       0x1047e5000 -        0x104885fff  com.apple.LaunchServices 362.3 (362.3) <B90B7C31-FEF8-3C26-BFB3-D8A48BD2C0DA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
       0x1048cb000 -        0x1048f3fff  com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
       0x10490d000 -        0x10491cfff  com.apple.NetFS 3.2.2 (3.2.2) <7CCBD70E-BF31-A7A7-DB98-230687773145> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
       0x104925000 -        0x1049defff  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
       0x1049ee000 -        0x104a2ffff  com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
       0x104a53000 -        0x104a7eff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <3630A97F-55C1-3F34-CA63-3847653C9645> /usr/lib/libxslt.1.dylib
       0x104a89000 -        0x104a89ff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <15DF8B4A-96B2-CB4E-368D-DEC7DF6B62BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
       0x104a8c000 -        0x104ae2fe7  libTIFF.dylib ??? (???) <2DBEC120-DAA7-3789-36A2-A205BCDF2D72> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
       0x104af0000 -        0x104af5fff  libGIF.dylib ??? (???) <3BAD0DE8-8151-68B0-2244-A4541C738972> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
       0x104afa000 -        0x104b1bfe7  libPng.dylib ??? (???) <D8EC7740-EE32-865A-2F75-C9EDE2135510> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
       0x104b24000 -        0x104b26fff  libRadiance.dylib ??? (???) <BF694EE5-6FDA-553A-CC89-F7135618E9C7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
       0x104b2a000 -        0x104b51ff7  libJPEG.dylib ??? (???) <08758593-6436-B29E-1DA8-F15597835EC1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
       0x104b59000 -        0x104c36fff  com.apple.vImage 4.1 (4.1) <C3F44AA9-6F71-0684-2686-D3BBC903F020> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
       0x104c45000 -        0x104c45ff7  com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <4CCE5D69-F1B3-8FD3-1483-E0271DB2CCF3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
       0x104c48000 -        0x104c90ff7  libvDSP.dylib 268.0.1 (compatibility 1.0.0) <98FC4457-F405-0262-00F7-56119CA107B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
       0x104c98000 -        0x104d02fe7  libvMisc.dylib 268.0.1 (compatibility 1.0.0) <AF0EA96D-000F-8C12-B952-CB7E00566E08> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
       0x104d0c000 -        0x105516fe7  libBLAS.dylib 219.0.0 (compatibility 1.0.0) <FC941ECB-71D0-FAE3-DCBF-C5A619E594B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
       0x10555f000 -        0x1059a2fef  libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <0CC61C98-FF51-67B3-F3D8-C5E430C201A9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
       0x105b2f000 -        0x105c4eff7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <0CE8D59B-D0C7-1DCE-3654-37F27F61BEFA> /usr/lib/libcrypto.0.9.8.dylib
       0x105cb6000 -        0x105cb7ff7  com.apple.TrustEvaluationAgent 1.1 (1) <5952A9FA-BC2B-16EF-91A7-43902A5C07B6> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
       0x105cbb000 -        0x105d7dfe7  libFontParser.dylib ??? (???) <EF06F16C-0CC9-B4CA-7BD9-0A97FA967340> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
       0x105e74000 -        0x105eaefff  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <4F2A4397-89BD-DEAC-4971-EE838FFA0964> /usr/lib/libcups.2.dylib
       0x105ebd000 -        0x105f6dfff  edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
       0x105f93000 -        0x105fb4fff  libresolv.9.dylib 41.1.0 (compatibility 1.0.0) <9410EC7F-4D24-6740-AFEE-90405750FAD7> /usr/lib/libresolv.9.dylib
       0x105fbe000 -        0x105fbeff7  com.apple.vecLib 3.6 (vecLib 3.6) <96FB6BAD-5568-C4E0-6FA7-02791A58B584> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
       0x105fc1000 -        0x106016ff7  com.apple.framework.familycontrols 2.0.2 (2020) <8807EB96-D12D-8601-2E74-25784A0DE4FF> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
       0x106034000 -        0x1060e9fe7  com.apple.ink.framework 1.3.3 (107) <8C36373C-5473-3A6A-4972-BC29D504250F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
       0x10611c000 -        0x106141ff7  com.apple.CoreVideo 1.6.2 (45.6) <E138C8E7-3CB6-55A9-0A2C-B73FE63EA288> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
       0x10615a000 -        0x106169fef  com.apple.opengl 1.6.14 (1.6.14) <ECAE2D12-5BE3-46E7-6EE5-563B80B32A3E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
       0x106172000 -        0x1061a3fff  libGLImage.dylib ??? (???) <562565E1-AA65-FE96-13FF-437410C886D0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
       0x1061aa000 -        0x1061cdfff  com.apple.opencl 12.3.6 (12.3.6) <42FA5783-EB80-1168-4015-B8C68F55842F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
       0x1061d6000 -        0x1061dcff7  IOSurface ??? (???) <8E302BB2-0704-C6AB-BD2F-C2A6C6A2E2C3> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
       0x1061e5000 -        0x10622efef  libGLU.dylib ??? (???) <B0F4CA55-445F-E901-0FCF-47B3B4BAE6E2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
       0x10623d000 -        0x106251fff  libGL.dylib ??? (???) <2ECE3B0F-39E1-3938-BF27-7205C6D0358B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
       0x106261000 -        0x10637bfff  libGLProgrammability.dylib ??? (???) <D1650AED-02EF-EFB3-100E-064C7F018745> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
       0x10639c000 -        0x10639fff7  libCoreVMClient.dylib ??? (???) <75819794-3B7A-8944-D004-7EA6DD7CE836> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
       0x1063a4000 -        0x1063a9fff  libGFXShared.dylib ??? (???) <6BBC351E-40B3-F4EB-2F35-05BDE52AF87E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
       0x1063ae000 -        0x10643afef  SecurityFoundation ??? (???) <3F1F2727-C508-3630-E2C1-38361841FCE4> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
       0x10647e000 -        0x106485fff  com.apple.OpenDirectory 10.6 (10.6) <4FF6AD25-0916-B21C-9E88-2CC42D90EAC7> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
       0x10648e000 -        0x106494ff7  com.apple.CommerceCore 1.0 (9.1) <3691E9BA-BCF4-98C7-EFEC-78DA6825004E> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
       0x10649c000 -        0x1064b5fff  com.apple.CFOpenDirectory 10.6 (10.6) <401557B1-C6D1-7E1A-0D7E-941715C37BFA> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
       0x1064ca000 -        0x106519ff7  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <0731C40D-71EF-B417-C83B-54C3527A36EA> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
       0x10653a000 -        0x10655afff  com.apple.DirectoryService.Framework 3.6 (621.16) <0ED4A74A-F8FB-366D-6588-F13EA397326F> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
       0x106564000 -        0x106576fe7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <76B83C8D-8EFE-4467-0F75-275648AFED97> /usr/lib/libsasl2.2.dylib
       0x1067f2000 -        0x1067fafff +libverify.dylib ??? (???) <9A0AFDF4-0927-3D0C-A35B-482767D58147> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libverify.dylib
       0x1071e3000 -        0x1071edfff +net.java.openjdk.jdk 1.0 (1.8.0_40) <80ACB84C-24E8-339B-BFAD-2F223B1752B5> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib
       0x1071fb000 -        0x1071fbff7  com.apple.Carbon 150 (152) <23704665-E9F4-6B43-1115-2E69F161FC45> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
       0x107700000 -        0x107724fef +libjava.dylib ??? (???) <C30952F6-2475-3044-8CC1-6D2342289D60> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libjava.dylib
       0x107735000 -        0x10773afff +libzip.dylib ??? (???) <430279D5-897F-3349-AE40-19D820AB367F> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libzip.dylib
       0x1077eb000 -        0x1077f0ff7  com.apple.JavaVM 13.9.8 (13.9.8) <DA9C3140-1D5F-B610-CC2E-8DEFE36BD864> /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
       0x1077f8000 -        0x1077fafff  com.apple.print.framework.Print 6.1 (237.1) <CA8564FB-B366-7413-B12E-9892DA3C6157> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
       0x1097d7000 -        0x1097e2fef  com.apple.java.JavaRuntimeSupport 13.9.8 (13.9.8) <78E0442F-7DF4-5DAA-2DF1-1570AE1AAEC8> /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport
       0x1097f3000 -        0x1097f9ff7  JavaLaunching ??? (???) <8A4FFBEC-90DB-3EB1-68E7-4EF8A0F47F52> /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching
       0x10a803000 -        0x10af9afef +libjvm.dylib ??? (???) <3152C64B-13F2-303F-A127-F364F361829E> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/server/libjvm.dylib
       0x11e90f000 -        0x11e91afff  JavaNativeFoundation ??? (???) <81035866-C9A3-6ADC-920F-A2C02D6DB95B> /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation
       0x11e925000 -        0x11e9a8fef  com.apple.CoreSymbolication 2.1 (46) <91369D6F-214F-BB60-796E-A6DC5D5644A5> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
       0x11e9f2000 -        0x11e9f7ff7  com.apple.CommonPanels 1.2.4 (91) <4D84803B-BD06-D80E-15AE-EFBE43F93605> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
       0x11e9ff000 -        0x11ea02fff  com.apple.help 1.3.2 (41.1) <BD1B0A22-1CB8-263E-FF85-5BBFDE3660B9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
       0x11ea08000 -        0x11ea1ffff  com.apple.ImageCapture 6.1 (6.1) <79AB2131-2A6C-F351-38A9-ED58B25534FD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
       0x11ea39000 -        0x11ea54ff7  com.apple.openscripting 1.3.1 (???) <9D50701D-54AC-405B-CC65-026FCB28258B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
       0x11ea65000 -        0x11ea68ff7  com.apple.securityhi 4.0 (36638) <AEF55AF1-54D3-DB8D-27A7-E16192E0045A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
       0x11ea6d000 -        0x11eaabfef  com.apple.DebugSymbols 1.1 (70) <C3D11461-E118-09DB-D9D7-8972B3FD160F> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
       0x11f252000 -        0x11f25afff +libnio.dylib ??? (???) <1CDAEF8D-9433-3841-9FA7-476CE5C15ED8> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libnio.dylib
       0x11f262000 -        0x11f271fff +libnet.dylib ??? (???) <AF8B5F68-50A7-31AE-BE94-DFDBAD6DBB27> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libnet.dylib
       0x11f691000 -        0x11f697ff7 +libosxapp.dylib ??? (???) <D6FB5330-8F64-3C6A-9850-B2F50D92EFC1> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libosxapp.dylib
       0x11f6b3000 -        0x11f6b5fef  com.apple.ExceptionHandling 1.5 (10) <F2867B93-A56A-974F-9556-266BCE394057> /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHandling
       0x11ff35000 -        0x11ff9efff +libawt.dylib ??? (???) <A39C83DB-B878-37E4-9A0A-6397A7E4C703> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libawt.dylib
       0x11ffdd000 -        0x12004dfff +libawt_lwawt.dylib ??? (???) <4898C710-EAB2-38F8-B63F-0A94AEA1B6E6> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libawt_lwawt.dylib
       0x120142000 -        0x120207fff +libmlib_image.dylib ??? (???) <BCF2882F-8E43-3B22-A88C-C3CA57C4EE83> /Volumes/IntelliJ IDEA 15 CE/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/libmlib_image.dylib
    0x7fff5fc00000 -     0x7fff5fc3be0f  dyld 132.1 (???) <29DECB19-0193-2575-D838-CF743F0400B2> /usr/lib/dyld
    0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib

 

Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i5, 2.53 GHz, 4 GB, SMC 1.58f17
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 256 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545050B9SA02, 465.76 GB
Serial ATA Device: HL-DT-ST DVDRW  GS23N
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
USB Device: USB Receiver, 0x046d  (Logitech Inc.), 0xc534, 0xfa140000 / 6
USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa130000 / 5
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8218, 0xfa113000 / 7
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0236, 0xfa120000 / 3
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 4
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0xfd110000 / 3

IntelliJ 15 "bad enclosing method attribute for class" compilation problem

$
0
0

Since we moved to IntelliJ 15 we have serious complication problem.

 

The error message is:

 

Error:java: cannot access wf.core.base.prm.data_properties.ExplicitDataPropertyItem$1

  bad class file: F:\views2\BoazMainRMA18_p\Qsnap\Qrelease\iclass-Q+A\production\Core\wf\core\base\prm\data_properties\ExplicitDataPropertyItem$1.class

    bad enclosing method attribute for class wf.core.base.prm.data_properties.ExplicitDataPropertyItem$1

    Please remove or make sure it appears in the correct subdirectory of the classpath.

 

If we go and delete the relevant .class fiile it will be re-generated and compilations passes

But soon the same problem will appear again.

 

The relevant code is:

 

 

return keyW.createUnknownWrapperDelagatee(() -> {
    T result = logic.get(context, new DependenciesHandler() {
        @Override
        public <TD> void addDependency(final RODataProperty<TD> dataProperty) {
            registerOnExternalItem(context, dataProperty);
        }

        @Override
        public <TD> void addDependency(TKey<TD> key) {
            registerOnExternalItem(context, key);
        }
    });
    //logic.releaseDependenciesHandler();
    return result;
});

 

 

It might be related to the fact  that anonymous is created in lambda - but I'm not sure.

 

Thx

Boaz

Groovy build very slow

$
0
0

Hi

 

I have a Groovy project with a one simple groovy script:

 

 

@Grab('mysql:mysql-connector-java:5.1.31')
@GrabConfig(systemClassLoader=true)
import groovy.sql.Sql

def sql = Sql.newInstance("jdbc:mysql://localhost:3306/test", "test","test", "com.mysql.jdbc.Driver")

sql.eachRow("select * from test where idtest = 1", { test ->
    println test.idtest + ' ' + test.testcol
})

 

I've added the mysql connector jar to the External Libraries (this took me a long time to figure out, and not convinced this is the best way to do it).

 

To build and run takes over 1min 30secs. 

 

I've increased the heap space but it didn't improve things.

 

What do I need to do to improve performance?

 

Thanks

Andrew

how to add android to Tools?

$
0
0

hi,

 

i am strugling with that for the last couple of hours.

i cant add android to the tools menu, the sdk manager is disable, android device manager is gray as well.

 

i have installed java sdk,android sdk and install all the packages, change system variables.

nothing is working.

 

plz help!

 

thanks

rony


windows-intelliji- package for ios

$
0
0

hi, i have recantly moved from FB to intellij, i am trying to package the app for the app store. but i am getting that error- Failed to package AIR application x.ipa: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object i couldnt find any solution for that on the forum or stackoverflow. is there any chance that someone knows how to solve that? thanks Rony

Recent projects gone

$
0
0

When I started IntelliJ today, the recent projects were gone, maybe more. I got a couple of events:

 

17:59:47 Load Settings
         Cannot load settings from file '/home/chris/.IntelliJIdea15/config/options/recentProjects.xml': content truncated
         File content will be recreated
18:05:21 Load Settings
         Cannot load settings from file '/home/chris/scripts/.idea/workspace.xml': content truncated
         File content will be recreated

 

There has been no power failure, I stopped IntelliJ normally yesterday.

 

Most of the xml files in options seem to have been reset.

 

Any idea what happened?

@NotNull annotated field and constructor

$
0
0

Good day, everybody!

 

Please, look at this code:

 

public class Property {
    @NotNull
    private String name;   // <- warning "Not-null fields must be initialized"

    public Property(@NotNull final String name) {
        setName(name);    
    }

    public void setName(@NotNull final String name) throws IllegalArgumentException {
        if (name.isEmpty())
            throw new IllegalArgumentException("Property name shouldn't be empty");
        this.name = name;
    }
}

 

public class Property {
    @NotNull
    private String name;    // <- No warnings, all OK

    public Property(@NotNull final String name) {
        this.name = name;
    }
}

 

Could anybody explain, why I have NotNull warning if I initialize the field using method with guaranteed not-null parameter? What is the right way to implement this functionality?

Thank you in advance.

Swing gui for community project

$
0
0

Hi,

 

I want to start a community project hosted on GitHub. I am developing in IDEA and have some small GUI classes. I want to keep these classes as open and compatible as possible to give developers a chance to drop into also with other IDEs. What do you recommend to design the GUI classes? Of course I would like to use the GUI designer if possible?

 

Should I avoid the GUI designer?

Should I put the source code into the class?

Should I use the GUI designer with standard Swing components only?

Are you aware of other tips and tricks how to setup such community projects?

 

Thanks

Thomas

IDEA 15 Debug: disable 'alternative source'

$
0
0

Hey,

 

A new IDEA 15 feature is bugging me a bit.  Every time I go into debug, a choice appears at the top of the editor that offers me 'Alternative source available for the class ...'.  The choices I get are 1. The Java file in the editor itself and 2. the same class from the sources-jar on my classpath (Maven).

 

I'd rather not have that choice appear.  It covers part of my screen and when I make any choice the editor moves back to the top of the file. 

 

I haven't been able to locate a way to disable that in IDEA 15.  I could also try to ignore it, but then the choice remains there as long as that Java file is opened in the editor.  Ignoring such things is not one of my strong points :-)

Incorrect Java Indentations in IDEA 15.0.1

$
0
0

I've recently switched to 15.0.1 and have found that some of the Java indentations are incorrect, or at least don't match that of prior versions.

 

I have the Java code style set to use a tab character as indentation with tab size, indent, and continuation indent all set to 1.

 

There are at least two areas I've noticed unexpected behavior.  When first creating a Javadoc, an indentation is used before each line's asterisk when I'd like a space there instead.  Also, when I attempt to put method arguments or chained method calls on newlines, it uses two indentations when I'd prefer it only use one.  The attached incorrect indentation image shows these issues as they are now with the current settings, and the desired indentation image shows how they should appear.

 

Are these problems with IDEA and indentations, or are there some style or other settings that I can change to get the desired behavior?  These didn't seem to be issues in 14 (though in 14 I did noticed that altering Javadocs sometimes added an indentation right before the asterisk, which didn't seem correct).  I tend to use them often, so I'd prefer to have them automatically handled rather than manually editing them to look correct.

export code style settings

$
0
0

Is there a tool and/or plugin that can export IDEA's Code Style settings for a particular language so that they can be used in an external program such as Uncrustify or AStyle.

 

Or alternatively how do others solve the issues of maintaining a consistent code style.

1. When not everyone uses IDEA

2. formatting code (or checking format against a standard) as a pre-commit task to VCS

3. format code as a build task (ant, maven, gradle, make, etc.)

 

thanks in advanced..


Working with SVN and Git in parallel

$
0
0

Hey,

 

i need to work on different university projects with SVN. This means i get some basic projectstructures, write the requested code (in a team) and commit it for review.

The catch is that only one of the team members has the login credentials for this repo (they are the same as the official universal login credentials...). So we can't use it to work in a team. (This reale is as stupid as it sounds.)

 

So i want to use Bitbucket or GitHub for the teamwork in parallel to the SVN directory.

 

I can't figure out how to set this up with IntelliJ.

 

Is it possible, how would i do this (Bitbucket preferred)?

 

Thanks, Niels

DebuggerSupport deprecated - why+alternatives?

$
0
0

Hi,

 

For a plugin that I'm developing I need to keep track of the addition, removal or modification of breakpoints by the IntelliJ user.

Currently, I've accomplished this using the class DebuggerSupport in the package com.intellij.xdebugger.impl.

This class allows me to be notified whenever breakpoints are changed by adding a BreakpointsListener through

getBreakpointPanelProvider().addListener.

 

However, the class DebuggerSupport is marked as deprecated. Therefore, I have the following two related questions:

1) why is this class marked as deprecated?

2) is there an alternative to accomplish the same result without using the deprecated class?

 

Thanks in advance.

Niels

High DPI Support on Linux in IntelliJ 15.0.1 (idea-IU-143.382.35)

$
0
0

So I used IntellJ 14 with the vm options -Dis.hidpi=true. According the the following blog post, IntelliJ 15 has native high dpi support for UHD/4k monitors:

 

http://blog.jetbrains.com/idea/2015/07/intellij-idea-15-eap-comes-with-true-hidpi-support-for-windows-and-linux/

 

So I booted up IntelliJ 15 today and everything is super tiny again. I don't see anything in settings for either "dpi" or "scaling." So the automatic high-dpi obviously isn't working. How do I set it manually? How is IntelliJ supose to auot-detect it? I'm on Gentoo Linux running the i3 window manager.

Disable rearranging of code for a single file

$
0
0

I have @formatter comment tags enabled. Whenever I reformat code, the following happens. Is there any way to disable this behaviour? Thanks!

 

//@formatter:offprivatestaticfinal String DMS_LAT_REGEX = DMS_BASE_REGEX + DMS_NSEW_LAT_REGEX;privatestaticfinal String DMS_LON_REGEX = DMS_BASE_REGEX + DMS_NSEW_LON_REGEX;privatestaticfinal String DMS_LATLON_REGEX = "(" + DMS_LAT_REGEX + ")(" + DMS_LON_REGEX + ")";privatestaticfinal String DMS_LONLAT_REGEX = "(" + DMS_LON_REGEX + ")(" + DMS_LAT_REGEX + ")";privatestaticfinal String DMS_ALL_REGEX = DMS_BASE_REGEX + DMS_NSEW_ALL_REGEX; publicfinalstatic Pattern DMS_LAT_PATTERN = Pattern.compile(DMS_LAT_REGEX);publicfinalstatic Pattern DMS_LON_PATTERN = Pattern.compile(DMS_LON_REGEX);publicfinalstatic Pattern DMS_LATLON_PATTERN = Pattern.compile(DMS_LATLON_REGEX);publicfinalstatic Pattern DMS_LONLAT_PATTERN = Pattern.compile(DMS_LONLAT_REGEX);publicfinalstatic Pattern DMS_ALL_PATTERN = Pattern.compile(DMS_ALL_REGEX);//@formatter:on    

 

 

//@formatter:offprivatestaticfinal String DMS_LAT_REGEX = DMS_BASE_REGEX + DMS_NSEW_LAT_REGEX;publicfinalstatic Pattern DMS_LAT_PATTERN = Pattern.compile(DMS_LAT_REGEX);privatestaticfinal String DMS_LON_REGEX = DMS_BASE_REGEX + DMS_NSEW_LON_REGEX;publicfinalstatic Pattern DMS_LON_PATTERN = Pattern.compile(DMS_LON_REGEX);privatestaticfinal String DMS_LATLON_REGEX = "(" + DMS_LAT_REGEX + ")(" + DMS_LON_REGEX + ")";publicfinalstatic Pattern DMS_LATLON_PATTERN = Pattern.compile(DMS_LATLON_REGEX);privatestaticfinal String DMS_LONLAT_REGEX = "(" + DMS_LON_REGEX + ")(" + DMS_LAT_REGEX + ")";publicfinalstatic Pattern DMS_LONLAT_PATTERN = Pattern.compile(DMS_LONLAT_REGEX);privatestaticfinal String DMS_ALL_REGEX = DMS_BASE_REGEX + DMS_NSEW_ALL_REGEX;publicfinalstatic Pattern DMS_ALL_PATTERN = Pattern.compile(DMS_ALL_REGEX);//@formatter:on   

Ruby on Rails: Try as I might, I can't create a RoR project

$
0
0

Desperate for some step-by-step as this just isn't working for me and I can't find any resource that helps me walk this through - I'm new to RoR and Idea.  I want to cretae a brand new project from scratch for RoR development.  In fact, nothing more complext than walking through a RoR tutorial.

 

For background, I have already run through that tutorial with a simple text editor and cmd line and I had no problems.  RVM is installed and the default Ruby version is 2.2.3.  Rails version is 4.2.5

 

If I Create New Project, I can select a Ruby on rails project and it brings up the appropriate new project dialog.  When I first tried this, the only Ruby available to me was 2.0.0 (a default OSX version I think) - at that attempt I actually navigated to the ruby in ~/.rvm/..... Now, when I try it does actually give me 2.2.3 [global] as an option, which I select.

 

Next, Rails version: only option available to me is "Install Gem" (is Select Version an option??).  Anyway whether I leave it as Select Version or Install Rails Gem... the result is the same.  So I select Install Rails Gem...  Why do I need to do this?  Why can't it detect the install of the Rails gem?

 

Next, the only thing I can do is enter a working directory.  It's not clear what this is for but I enter src/rails/blog.

 

I can't preconfigure the database which is set to mysql - I have sqlite3 on my mac, not mysql - nor any of the other options so I click next.

 

Here I enter the name of the project and its directory and click finish.

 

Whatever it needs to do, it seems to do but I get an error reporting that it couldn't run gem rails (or similar) and I end up with an empty project.  If I look at Project Structure it has a module for RoR but doesn't give me any info.  Project problems are counted at 22 and all seem to relate to a missing path in a variety of Gems.

 

Just stuck

Viewing all 5661 articles
Browse latest View live