LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Error using Pivot (LAE 4.5.2)

    Employee
    Posted 07-12-2012 07:54

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams

    I'm getting the following error while trying to use Pivot Data to Names

    ****** Errors in node Pivot__Data_To_Names
    
    
    --------- Errlog for GroupByPath.DataToNamesWithGroupBy
    2012-07-12 14:38:09.854; WARN: The property ls.brain.machineName is not set. This might cause a Windows server to hang.
        id: 0 chain: 0 group: 0
        javaDetail: com.lavastorm.brain.BRAINApplication.loadMachineName(BRAINApplication.java@1193)
    
    
    2012-07-12 14:38:15.184; ERROR: Error compiling the node. 
        id: 10 chain: 0 group: 0
        javaExceptionDetail: com.lavastorm.tools.build.compiler.CompileException: 'Error compiling source unit.
    Error occurred attempting to compile source with entry type (com.lavastorm.tools.build.java.MultiJavaBuiltUnit).
    Exception thrown: 
    java.lang.NullPointerException
        at com.lavastorm.tools.build.java.JavaSourceCompiler.compile(JavaSourceCompiler.java:177)
        at com.lavastorm.tools.build.java.JavaSourceCompiler.compile(JavaSourceCompiler.java:56)
        at com.lavastorm.tools.build.cache.CachingBuilder.buildAndLoad(CachingBuilder.java:98)
        at com.lavastorm.tools.build.cache.CachingBuilder.buildAndLoad(CachingBuilder.java:56)
        at com.lavastorm.tools.build.BuilderCompiler.compile(BuilderCompiler.java:16)
        at com.lavastorm.brain.node.build.NodeBuilderCompiler.compile(NodeBuilderCompiler.java:77)
        at com.lavastorm.tools.build.cache.CachingBuilder.buildAndLoad(CachingBuilder.java:98)
        at com.lavastorm.tools.build.cache.CachingBuilder.buildAndLoad(CachingBuilder.java:56)
        at com.lavastorm.brain.node.NodeWrapper.buildJavaNode(NodeWrapper.java:1088)
        at com.lavastorm.brain.node.NodeWrapper.load(NodeWrapper.java:1066)
        at com.lavastorm.brain.node.NodeWrapper.run(NodeWrapper.java:613)
        at com.lavastorm.brain.node.NodeWrapper.main(NodeWrapper.java:1151)
    Compilation diagnostics:';
        stack trace:
            com.lavastorm.tools.build.cache.CachingBuilder.buildAndLoad(CachingBuilder.java@102)
            com.lavastorm.tools.build.cache.CachingBuilder.buildAndLoad(CachingBuilder.java@56)
            com.lavastorm.brain.node.NodeWrapper.buildJavaNode(NodeWrapper.java@1088)
            com.lavastorm.brain.node.NodeWrapper.load(NodeWrapper.java@1066)
            com.lavastorm.brain.node.NodeWrapper.run(NodeWrapper.java@613)
            com.lavastorm.brain.node.NodeWrapper.main(NodeWrapper.java@1151)
        javaDetail: com.lavastorm.brain.node.NodeWrapper.buildJavaNode(NodeWrapper.java@1091)
    
    
    2012-07-12 14:38:15.191; ERROR: Node failed.
        id: 12 chain: 11 group: 0
        javaDetail: com.lavastorm.brain.node.NodeWrapper.run(NodeWrapper.java@651)
    I suspect that this is a configuration problem, The system we're using has OpenJDK 1.6.


  • 2.  RE: Error using Pivot (LAE 4.5.2)

    Employee
    Posted 07-12-2012 11:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Which version of OpenJDK 1.6 are you using?

    In order to run Java nodes, (the "Pivot - Data to Names" node is a Java node), the LAE needs to have a JDK installed which has a Java compiler.
    I think in the release notes, it mentions that the 1.6 JDK is required.
    I definitely know that the Oracle/Sun 1.6 JDK contains the Java compiler, and I'm pretty sure the IBM version does as well.
    It looks like, however, earlier versions of OpenJDK 1.6 do not contain the Java compiler - see here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507641

    I can only assume that the java compiler is actually present (i.e. there is a javac executable), however my guess is that this hasn't been incorporated into the ToolProvider.getJavaCompiler mechanism yet for that verion of OpenJDK 1.6.

    It might just be that you need to upgrade to a later version of OpenJDK 1.6.

    As mentioned in a previous thread, (http://community.lavastorm.com/showt...=java+compiler) the error message in this scenario provided by the node is pretty terrible - this is an issue which we will be addressing in an upcoming maintenance release.

    Regards,

    Tim.


  • 3.  RE: Error using Pivot (LAE 4.5.2)

    Employee
    Posted 07-13-2012 01:11

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams

    [xxxxx@xxxxxx ~]$ java -version
    java version "1.6.0_22"
    OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.43.1.10.6.el6_2-x86_64)
    OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
    Using the RHEL package:

    java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64
    I've also discovered something a little strange, java is reporting 1.6.0_22, but javac is reporting 1.6.0_31

    Thanks for your response, I'll look at getting Sun JDK installed on the machine and see if that will resolve the issue. I suspected it'd be related to using a correct JDK from the error message.