Coder Social home page Coder Social logo

Comments (10)

slandelle avatar slandelle commented on June 23, 2024

@Andrei-Pozolotin I hope you don't mind all those feature requests, I thought some feedback might be helpful. Thanks a lot for this great work!!!

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024
  1. ok, fixing
  2. your feedback is good, please keep sharing

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024
  1. here is logic:
    https://github.com/random-maven/scalor-maven-plugin/blob/develop/src/main/scala/com/carrotgarden/maven/scalor/base/Params.scala#L303

  2. try 1.2.4
    https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12

from scalor-maven-plugin.

slandelle avatar slandelle commented on June 23, 2024

@Andrei-Pozolotin I still have the NPE after upgrading to 1.2.4.20180216045618:

capture d ecran 2018-02-16 a 09 37 22

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024
  1. can not reproduce, need a trace

  2. try to activate Eclipse Error Log view, see if trace is there
    https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-error_log_view.htm

  3. try to activate Eclipse Maven Console, see if trace is there
    https://www.ibm.com/support/knowledgecenter/SS8PJ7_9.1.0/com.ibm.etools.maven.doc/topics/troubleshooting.html

  4. try to attach here zip of fresh Eclipse session log with error trace

[workspace]/.metadata/.log
  1. ensure full trace is in fact enabled for Eclipse JVM
    https://stackoverflow.com/questions/2411487/nullpointerexception-in-java-with-no-stacktrace
-XX:-OmitStackTraceInFastThrow

from scalor-maven-plugin.

slandelle avatar slandelle commented on June 23, 2024

Here are the logs with the NPE stacktrace.

log.zip

Please let me know if you need a pom.xml (I'll have to clean up mine).

from scalor-maven-plugin.

slandelle avatar slandelle commented on June 23, 2024

build section looks like this:

<build>
	<plugins>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-compiler-plugin</artifactId>
			<version>3.7.0</version>
			<configuration>
				<skip>true</skip>
				<skipMain>true</skipMain>
			</configuration>
		</plugin>

		<plugin>
			<groupId>com.carrotgarden.maven</groupId>
			<artifactId>scalor-maven-plugin_2.12</artifactId>
			<version>1.2.4.20180216045618</version>
			<configuration>
				<!-- Extra logging for demonstration purposes. -->
				<zincLogSourcesList>true</zincLogSourcesList>
				<zincLogProjectClassPath>true</zincLogProjectClassPath>
				<zincLogCompilerClassPath>true</zincLogCompilerClassPath>
				<zincLogCompilerPluginList>true</zincLogCompilerPluginList>
				<!-- <linkerLogRuntime>true</linkerLogRuntime> -->
				<!-- <linkerLogOptions>true</linkerLogOptions> -->
				<!-- <linkerLogClassPath>true</linkerLogClassPath> -->
				<linkerLogBuildStats>true</linkerLogBuildStats>
				<linkerLogUpdateResult>true</linkerLogUpdateResult>
				<envconfLogConfig>true</envconfLogConfig>
				<!-- <eclipseLogBuildParticipant>true</eclipseLogBuildParticipant> -->
				<defineBridge>
					<dependency>
						<groupId>org.scala-sbt</groupId>
						<artifactId>compiler-bridge_${version.scala.major}</artifactId>
						<version>${version.scala.zinc}</version>
					</dependency>
				</defineBridge>
				<defineCompiler>
					<dependency>
						<groupId>org.scala-lang</groupId>
						<artifactId>scala-compiler</artifactId>
						<version>${version.scala.release}</version>
					</dependency>
				</defineCompiler>
				<!-- <definePluginList></definePluginList> uncomment to remove NPE--> 
			</configuration>
			<executions>
				<execution>
					<goals>
						<goal>eclipse-config</goal>
						<goal>eclipse-restart</goal>
						<goal>eclipse-prescomp</goal>
						<goal>register-main</goal>
						<goal>register-test</goal>
						<goal>compile-main</goal>
						<goal>compile-test</goal>
					</goals>
				</execution>
			</executions>
		</plugin>
	</plugins>
</build>

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

ok, fixing

from scalor-maven-plugin.

Andrei-Pozolotin avatar Andrei-Pozolotin commented on June 23, 2024

please try again 1.2.4
https://bintray.com/random-maven/maven/scalor-maven-plugin_2.12

from scalor-maven-plugin.

slandelle avatar slandelle commented on June 23, 2024

Looking good now, thanks a lot!

from scalor-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.