APK file Exporting Error - proguard

When i tried to export my APK file, this is my Error Log
[2014-04-02 12:41:06 - 8bitMaker] Proguard returned with error code 1. See console
[2014-04-02 12:41:06 - 8bitMaker] proguard.ParseException: Expecting java type before ' ' in line 95 of file 'G:\Workspace\8bitMaker\proguard-project.txt',
[2014-04-02 12:41:06 - 8bitMaker] included from argument number 4
[2014-04-02 12:41:06 - 8bitMaker] at proguard.ConfigurationParser.checkJavaIdentifier(ConfigurationParser.java:1187)
[2014-04-02 12:41:06 - 8bitMaker] at proguard.ConfigurationParser.parseMemberSpecificationArguments(ConfigurationParser.java:842)
[2014-04-02 12:41:06 - 8bitMaker] at proguard.ConfigurationParser.parseClassSpecificationArguments(ConfigurationParser.java:697)
[2014-04-02 12:41:06 - 8bitMaker] at proguard.ConfigurationParser.parseKeepClassSpecificationArguments(ConfigurationParser.java:490)
[2014-04-02 12:41:06 - 8bitMaker] at proguard.ConfigurationParser.parse(ConfigurationParser.java:139)
[2014-04-02 12:41:06 - 8bitMaker] at proguard.ProGuard.main(ProGuard.java:484)
This is where the line 95 is
-keepclasseswithmembers class **.R$**
{
public static <fields>;
}
****Line 95**** -keepclassmembers class *
{ #android.webkit.JavascriptInterface <methods>;}
-keep class * extends android.view.View
{
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
void set*(***);
*** get*();
}
Based on the log file, the error code is 1 and the error is at line 95. Anyone has any idea to solve this issue?

You should check if there isn't some invisible control character on or near that line.

Related

MainApplication.java:9: Error: Packagecom.reactnativecommunity.webview does not exist

% npx react-native run-android Starting JS server... Building and
installing the app on the device (cd android && ./gradlew
installDebug)...
Configure project :react-native-reanimated WARNING: The specified Android SDK Build Tools version (28.0.2) is ignored, as it is below
the minimum supported version (29.0.2) for Android Gradle Plugin
4.1.0. Android SDK Build Tools 29.0.2 will be used. To suppress this warning, remove "buildToolsVersion '28.0.2'" from your build.gradle
file, as each version of the Android Gradle Plugin now has a default
version of the build tools. Warning: Mapping new ns
http://schemas.android.com/repository/android/common/02 to old ns
http://schemas.android.com/repository/android/common/01 Warning:
Mapping new ns
http://schemas.android.com/repository/android/generic/02 to old ns
http://schemas.android.com/repository/android/generic/01 Warning:
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02
to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns
http://schemas.android.com/sdk/android/repo/repository2/02 to old ns
http://schemas.android.com/sdk/android/repo/repository2/01 Warning:
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02
to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Configure project :react-native-linear-gradient WARNING: Configuration 'provided' is obsolete and has been replaced with
'compileOnly'. It will be removed in version 5.0 of the Android Gradle
plugin. For more information, see
http://d.android.com/r/tools/update-dependency-configurations.html.
Configure project :react-native-orientation WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and
'api'. It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see
http://d.android.com/r/tools/update-dependency-configurations.html.
Configure project :app WARNING: The option 'android.useDeprecatedNdk' is deprecated. The current default is
'false'. It has been removed from the current version of the Android
Gradle plugin. NdkCompile is no longer supported WARNING:
Configuration 'compile' is obsolete and has been replaced with
'implementation' and 'api'. It will be removed in version 5.0 of the
Android Gradle plugin. For more information, see
http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING: API 'variant.getMergeResources()' is obsolete and has been
replaced with 'variant.getMergeResourcesProvider()'. It will be
removed in version 5.0 of the Android Gradle plugin. For more
information, see
https://d.android.com/r/tools/task-configuration-avoidance. To
determine what is calling variant.getMergeResources(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information. WARNING: API 'variant.getPackageApplication()' is
obsolete and has been replaced with
'variant.getPackageApplicationProvider()'. It will be removed in
version 5.0 of the Android Gradle plugin. For more information, see
https://d.android.com/r/tools/task-configuration-avoidance. To
determine what is calling variant.getPackageApplication(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information. WARNING: API 'variant.getMergeAssets()' is obsolete and
has been replaced with 'variant.getMergeAssetsProvider()'. It will be
removed in version 5.0 of the Android Gradle plugin. For more
information, see
https://d.android.com/r/tools/task-configuration-avoidance. To
determine what is calling variant.getMergeAssets(), use
-Pandroid.debug.obsoleteApi=true on the command line to display more information.
Task :app:compileDebugJavaWithJavac FAILED /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:9:
Error: Packagecom.reactnativecommunity.webview does not exist import
com.reactnativecommunity.webview.RNCWebViewPackage;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:18:
Error: Packagecom.beefe.picker does not exist import
com.beefe.picker.PickerViewPackage;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:28:
Error: Packagecom.reactnativenavigation does not exist import
com.reactnativenavigation.NavigationApplication;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:29:
Error: Packagecom.reactnativenavigation.react does not exist import
com.reactnativenavigation.react.NavigationReactNativeHost;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:30:
Error: Packagecom.reactnativenavigation.react does not exist import
com.reactnativenavigation.react.ReactGateway;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:36:
Error: Symbol not found public class MainApplication extends
NavigationApplication {
^ シンボル: Class NavigationApplication
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:45:
Error: Symbol not found
protected ReactGateway createReactGateway() {
^ シンボル: Class ReactGateway 場所: Class MainApplication
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:8:
Error: Packageandroid.support.annotation does not exist import
android.support.annotation.Nullable;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:12:
Error: Packagecom.reactnativenavigation does not exist import
com.reactnativenavigation.NavigationActivity;
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:18:
Error: Symbol not found public class MainActivity extends
NavigationActivity {
^ シンボル: Class NavigationActivity /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:21:
Error: Symbol not found
protected void onCreate(#Nullable Bundle savedInstanceState) {
^ シンボル: Class Nullable 場所: Class MainActivity
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:44:
Error: Method does not override super
#Override
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:46:
Error: Symbol not found
ReactNativeHost host = new NavigationReactNativeHost(this, isDebug(), createAdditionalReactPackages()) {
^ シンボル: Class NavigationReactNativeHost 場所: Class MainApplication
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:47:
Error: Method does not override super
#Override
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:52:
Error: Symbol not found
return new ReactGateway(this, isDebug(), host);
^ シンボル: Class ReactGateway 場所: Class MainApplication
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:55:
Error: Method does not override super
#Override
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:68:
Error: Symbol not found
new PickerViewPackage(),
^ シンボル: Class PickerViewPackage 場所: Class MainApplication
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:70:
Error: Class FBSDKPackageのコンストラクタ FBSDKPackageは指定された型に適用できません。
new FBSDKPackage(mCallbackManager),
^ 期待値: 引数がありません 検出値: CallbackManager 理由: 実引数リストと仮引数リストの長さが異なります
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:72:
Error: Symbol not found
new RNCWebViewPackage(),
^ シンボル: Class RNCWebViewPackage 場所: Class MainApplication
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/MainApplication.java:79:
Error: Method does not override super
#Override
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:20:
Error: Method does not override super
#Override
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:22:
Error: Symbol not found
super.onCreate(savedInstanceState);
^ シンボル: 変数 super 場所: Class MainActivity /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:26:
Error: Symbol not found
PackageInfo info = getPackageManager().getPackageInfo(
^ シンボル: メソッド getPackageManager() 場所: Class MainActivity
/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:48:
Error: Method does not override super
#Override
^ /Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.java:50:
Error: Symbol not found
super.onActivityResult(requestCode, resultCode, data);
^ シンボル: 変数 super 場所: Class MainActivity ノート:/Users/tenna/Downloads/aitem/android/app/src/main/java/com/aitem/com/aitem/MainActivity.javaは推奨されないAPIを使用またはオーバーライドしています。
ノート:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。 Error25個
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it
incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation
warnings and determine if they come from your own scripts or plugins.
See
https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 7s 145 actionable tasks: 2 executed, 143 up-to-date
Could not install the app on the device, read the error above for
details. Make sure you have an Android emulator running or a device
connected and have set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
Command failed: ./gradlew installDebug
Error: Command failed: ./gradlew installDebug
at checkExecSyncError (node:child_process:707:11)
at Object.execFileSync (node:child_process:726:15)
at runOnAllDevices (/Users/tenna/Downloads/aitem/node_modules/react-native/local-cli/runAndroid/runAndroid.js:299:19)
at buildAndRun (/Users/tenna/Downloads/aitem/node_modules/react-native/local-cli/runAndroid/runAndroid.js:135:12)
at /Users/tenna/Downloads/aitem/node_modules/react-native/local-cli/runAndroid/runAndroid.js:65:12
at processTicksAndRejections (node:internal/process/task_queues:96:5)
click on android folder
click on app folder
click on src folder
click on java folder
click on MainApplication.java file and remove Packagecom.reactnativecommunity.webview in line 9
use latest updated one
npm i react-native-webview

Junit 5 suite is not running tests in command line

I am trying to run TestSuite using Junit 5. Individual file run fine. But TestSuite is not running when executed from command line. I am using junit-platform-console-standalone-1.6.0.jar to run tests.
My Test classes are:
package demo;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Test;
public class TestDemoClass1 {
#Test
public void test1() throws Exception {
System.out.println("Test 1 from DemoClass 1");
}
#Test
public void test2() throws Exception {
System.out.println("Test2 from DemoClass 1");
}
}
My Suite calss is:
package demo;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.platform.suite.api.Suite;
#Suite
#SelectClasses({ TestDemoClass1.class })
public class TestSuite {
}
The command I am usign to run from command lines:
java -jar target/junit-platform-console-standalone-1.6.0.jar -cp .;target/test-classes/ -c demo.TestSuite
This is resolved ":https://github.com/junit-team/junit5/issues/2813.
The issue was not adding set of jars while runnign command needed for console launcher.
Additional info in above GitHub issue link but in summary you need to add following jars to classpath:
junit-platform-console-standalone-1.8.2.jar;
junit-platform-suite-api-1.8.2.jar;
junit-platform-suite-commons-1.8.2.jar;
junit-platform-suite-engine-1.8.2.jar; \

Importing private submodule in swift file caused me error

Here is the modulemap file :
framework module Framework
{
requires objc, objc_arc
umbrella header "Header.h"
export *
module * { export * }
explicit framework module Private
{
umbrella header "Header-Private.h"
}
}
how i imported it in swift file :
import Framework.Private
Now i've got this error :
#import Framework.Private; #import of module 'Framework.Private' in
implementation of 'Framework'; use #import
i think module map file will have some change
framework module <ProjectName> {
umbrella header "ProjectName.h"
export *
module * { export * }
explicit module ProjectName_Private {
private header “<headerName>.h”
link “staticLibName” // external static Library
export *
}
}

android gradle plugin 3.0.0-alpha2: Error inflating class android.support.v7.widget.FitWindowsLinearLayout

after upgrading the android gradle plugin from 3.0.0-alpha1 to 3.0.0-alpha2 my application does not start anymore: part of the stacktrace:
05-27 09:14:57.692 3015-3015/com.tmtron.dscontrol2app.debug E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.tmtron.dscontrol2app.debug, PID: 3015
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tmtron.dscontrol2app.debug/com.tmtron.dscontrol2.gui.MainActivity}: android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
Caused by: android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.FitWindowsLinearLayout" on path: DexPathList[[zip file "/data/app/com.tmtron.dscontrol2app.debug-ZE45jTeV6eTnNIeveAjAbw==/base.apk", zip file "/data/app/com.tmtron.dscontrol2app.debug-ZE45jTeV6eTnNIeveAjAbw==/split_lib_dependencies_apk.apk", zip file "/data/app/com.tmtron.dscontrol2app.debug-ZE45jTeV6eTnNIeveAjAbw==/split_lib_slice_0_apk.apk", zip file "/data/app/com.tmtron.dscontrol2app.debug-..."/data/app/com.tmtron.dscontrol2app.debug-ZE45jTeV6eTnNIeveAjAbw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.tmtron.dscontrol2app.debug-ZE45jTeV6eTnNIeveAjAbw==/lib/x86, /system/lib, /system/vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at com.tmtron.dscontrol2.gui.MainActivity.onCreate(MainActivity.java:41)
at android.app.Activity.performCreate(Activity.java:6954)
05-27 09:14:57.693 3015-3015/com.tmtron.dscontrol2app.debug E/AndroidRuntime:
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
It seems like the class android.support.v7.widget.FitWindowsLinearLayout is not found anymore.
Any ideas?
BTW: I have already tried to do all kinds of cleanup, invalidate-caches, restart, etc. as mentioned in this SO.
I think this is a temporarily bug.
Proparbly Proguard removes this class because of some reason, therefore this exception occurs.
For now the easiest solution might be to disable Proguard in the build.gradle file. If you still want to keep it, you will have to change your proguard settings.
This is what I did and what worked for me:
-dontwarn android.support.v7.**
-keep class android.support.v7.widget.** { *; }
As I also had issues with constraint and design libray I added this:
-dontwarn android.support.constraint.**
-keep class android.support.constraint.** { *; }
-dontwarn android.support.design.**
-keep class android.support.design.** { *; }
I hope it helps you:)
UPDATE
This bug has already been fixed - it works for me with gradle plugin 3.0.0-alpha4
ORIGINAL answer (kept for reference)
Actually I didn't have ProGuard enabled for my debug builds, but the Shrinker of the Android Gradle Plugin (which uses the same proguard files.
Temporary workaround for the issue: add the following instructions to the proguard-rules.pro file:
-keep class android.support.v7.widget.** { *; }
-keep class android.support.v4.widget.** { *; }
-keep class android.support.design.** { *; }
-keep class com.bluelinelabs.conductor.** { *; }

Compile error during running Selenium tests remotely from jenkins

I am trying to run selenium tests from a remote machine through Jenkins (Jenkins is running as root). I am able to run the tests perfectly by SSH through terminal but when I try to run the tests from Jenkins, I get the error mentioned below:
Started by user anonymous
Building in workspace [workspace path]
SSH: Connecting from host [host-name]
SSH: Connecting with configuration [ruser name] ...
SSH: EXEC: STDOUT/STDERR from command [command to run] ...
Test Location: [location]
Test started at: 2013-01-21T16:36:44
Test in Progress...
...starting events generation
SalesforceHome.java:3: error: package com.thoughtworks.selenium does not exist
import com.thoughtworks.selenium.*;
^
SalesforceHome.java:4: error: package org.junit does not exist
import org.junit.After;
^
SalesforceHome.java:5: error: package org.junit does not exist
import org.junit.Before;
^
SalesforceHome.java:6: error: package org.junit does not exist
import org.junit.Test;
^
SalesforceHome.java:7: error: package org.openqa.selenium does not exist
import org.openqa.selenium.WebDriver;
^
SalesforceHome.java:8: error: package org.openqa.selenium does not exist
import org.openqa.selenium.WebDriverBackedSelenium;
^
SalesforceHome.java:9: error: package org.openqa.selenium.chrome does not exist
import org.openqa.selenium.chrome.ChromeDriver;
^
SalesforceHome.java:10: error: package org.openqa.selenium.firefox does not exist
import org.openqa.selenium.firefox.FirefoxDriver;
^
SalesforceHome.java:11: error: package org.openqa.selenium.firefox does not exist
import org.openqa.selenium.firefox.FirefoxProfile;
^
SalesforceHome.java:12: error: package org.openqa.selenium.remote does not exist
import org.openqa.selenium.remote.DesiredCapabilities;
^
SalesforceHome.java:13: error: package org.openqa.selenium.remote does not exist
import org.openqa.selenium.remote.RemoteWebDriver;
^
SalesforceHome.java:20: error: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
SalesforceHome.java:21: error: package org.apache.log4j.xml does not exist
import org.apache.log4j.xml.DOMConfigurator;
^
SalesforceHome.java:22: error: package org.apache.log4j does not exist
import org.apache.log4j.*;
^
SalesforceHome.java:23: error: package org.apache.log4j does not exist
import org.apache.log4j.FileAppender;
^
SalesforceHome.java:24: error: package org.apache.log4j does not exist
import org.apache.log4j.RollingFileAppender;
^
SalesforceHome.java:26: error: cannot find symbol
public class SalesforceHome extends SeleneseTestBase{
^
symbol: class SeleneseTestBase
SalesforceHome.java:27: error: cannot find symbol
Logger logger;
^
symbol: class Logger
location: class SalesforceHome
SalesforceHome.java:28: error: cannot find symbol
#Before
^
symbol: class Before
location: class SalesforceHome
SalesforceHome.java:64: error: cannot find symbol
#Test
^
symbol: class Test
location: class SalesforceHome
SalesforceHome.java:87: error: cannot find symbol
#After
^
symbol: class After
location: class SalesforceHome
SalesforceHome.java:31: error: cannot find symbol
logger = Logger.getLogger(this.getClass().getName());
^
symbol: method getClass()
SalesforceHome.java:31: error: cannot find symbol
logger = Logger.getLogger(this.getClass().getName());
^
symbol: variable Logger
location: class SalesforceHome
SalesforceHome.java:32: error: cannot find symbol
DOMConfigurator.configure("log4j.xml");
^
symbol: variable DOMConfigurator
location: class SalesforceHome
SalesforceHome.java:51: error: cannot find symbol
WebDriver driver = conf.setConf(BName);
^
symbol: class WebDriver
location: class SalesforceHome
SalesforceHome.java:51: error: cannot access WebDriver
WebDriver driver = conf.setConf(BName);
^
class file for org.openqa.selenium.WebDriver not found
SalesforceHome.java:54: error: cannot find symbol
if (driver instanceof RemoteWebDriver)
^
symbol: class RemoteWebDriver
location: class SalesforceHome
SalesforceHome.java:56: error: cannot find symbol
((RemoteWebDriver) driver).setLogLevel(Level.OFF);
^
symbol: class RemoteWebDriver
location: class SalesforceHome
SalesforceHome.java:61: error: cannot find symbol
selenium = new WebDriverBackedSelenium(driver, baseUrl);
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:61: error: cannot find symbol
selenium = new WebDriverBackedSelenium(driver, baseUrl);
^
symbol: class WebDriverBackedSelenium
location: class SalesforceHome
SalesforceHome.java:67: error: cannot find symbol
selenium.setTimeout("1000000");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:68: error: cannot find symbol
selenium.open("/");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:71: error: cannot find symbol
selenium.type("id=", "");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:72: error: cannot find symbol
selenium.type("id=", "");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:73: error: cannot find symbol
selenium.click("id=");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:75: error: cannot find symbol
selenium.waitForPageToLoad("150000");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:76: error: cannot find symbol
selenium.click("link=");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:78: error: cannot find symbol
selenium.waitForPageToLoad("150000");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:79: error: cannot find symbol
selenium.type("id=", "");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:80: error: cannot find symbol
selenium.click("id=");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:82: error: cannot find symbol
selenium.waitForPageToLoad("150000");
^
symbol: variable selenium
location: class SalesforceHome
SalesforceHome.java:89: error: cannot find symbol
selenium.stop();
^
symbol: variable selenium
location: class SalesforceHome
42 errors
Error: Could not find or load main class org.junit.runner.JUnitCore
SSH: Disconnecting configuration [machine name] ...
ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after 4,067 ms]
[workspace] $ /bin/sh -xe /tmp/hudson1293805758975477494.sh
What am I doing wrong?