Fork me on GitHub
#cursive
<
2019-09-20
>
kenny00:09:47

How do I figure out which project is causing all the projects to not have the usual drop down arrow?

kenny00:09:25

There's nothing in Event Log telling me there was an issue.

kenny00:09:41

This occurred after switching branches.

kenny00:09:33

Switching back to the original branch brings back all the projects to the drop-down-arrow state.

kenny00:09:30

And switching back to the problem branch makes the arrow disappear. Weird. After switching to the problem branch, I did notice the Import Deps message balloon appear for half a second and then disappear.

kenny00:09:46

When I switch from the problem branch to the non-problem branch, the Import Deps balloon does not appear.

kenny00:09:07

I managed to click the Import button in the half second the balloon was visible and it did not resolve the no drop down arrow problem.

cfleming10:09:56

Sorry I wasn’t around, I was travelling today.

cfleming10:09:45

I’m actually not sure what might cause that. For you to get the default view like that, the project resolution must have failed somehow, and you should get some kind of message. is there anything in your IDE log?

kenny14:09:59

Nothing shows up in the Event Log. I do, however, see one of these in the IntelliJ log:

2019-09-20 07:24:57,764 [49600723]  ERROR - intellij.openapi.progress.Task - java/sql/Timestamp 
java.lang.NoClassDefFoundError: java/sql/Timestamp
	at com.fasterxml.jackson.databind.ser.BasicSerializerFactory.<clinit>(BasicSerializerFactory.java:88)
	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:484)
	at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:393)
	at com.amazonaws.internal.config.InternalConfig.<clinit>(InternalConfig.java:43)
	at com.amazonaws.internal.config.InternalConfig$Factory.<clinit>(InternalConfig.java:304)
	at com.amazonaws.util.VersionInfoUtils.userAgent(VersionInfoUtils.java:142)
	at com.amazonaws.util.VersionInfoUtils.initializeUserAgent(VersionInfoUtils.java:137)
	at com.amazonaws.util.VersionInfoUtils.getUserAgent(VersionInfoUtils.java:100)
	at com.amazonaws.ClientConfiguration.<clinit>(ClientConfiguration.java:65)
	at org.springframework.build.aws.maven.S3Utils.getClientConfiguration(S3Utils.java:44)
	at org.springframework.build.aws.maven.PrivateS3Wagon.connectToRepository(PrivateS3Wagon.java:94)
	at org.springframework.build.aws.maven.AbstractWagon.connect(AbstractWagon.java:146)
	at org.eclipse.aether.transport.wagon.WagonTransporter.connectWagon(WagonTransporter.java:342)
	at org.eclipse.aether.transport.wagon.WagonTransporter.pollWagon(WagonTransporter.java:382)
	at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:431)
	at org.eclipse.aether.transport.wagon.WagonTransporter.get(WagonTransporter.java:412)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:453)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:360)
	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:583)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:232)
	at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:593)
	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: java.sql.Timestamp
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 26 more

kenny14:09:51

I see several of those actually.

kenny17:09:01

I kept removing modules until it fixed itself. There was definitely some module causing an issue.

cfleming21:09:26

That’s that same error again from the Maven s3 thing, it’s really strange.

kenny15:09:14

Is it possible to have Cursive automatically mark the .cpcache directory as "Excluded"?

cfleming21:09:09

@kenny That’s a good idea, I’ll add that.