Questions tagged [nosuchfieldexception]

32 questions
1
vote
1 answer

Geotools 13 - error writing to MySQL in linux

Note: Running geotools 13.0. I have an application that creates Point shapes. My application then writes these features in a shapefile and then into MySQL. When I run the code under Windows, everything works perfect: the data is properly stored in…
jfarjona
  • 144
  • 1
  • 7
1
vote
2 answers

NoSuchFieldError - Is it possible to include both httpclient-4.3.3 jar and httpclient-4.2.5 jar in the same application

My project brings in lot of inter-related dependencies. One of it needs httpclient-4.3.3 and apache cassandra-all brings in libthrift 0.9.1 which needs httpclient-4.2.5 version. I'm trying to run a map reduce job and am seeing a FATAL message in the…
Gnana
  • 614
  • 1
  • 7
  • 18
1
vote
3 answers

java.lang.NoSuchFieldError: IBM_JAVA for a simple hbase java client in Eclipse

As the title goes.My source code is: package hbase; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import…
wuchang
  • 3,003
  • 8
  • 42
  • 66
0
votes
0 answers

java.lang.NoSuchFieldError :Companion

I am using Statsig Library for A/B testing in my JDK17 project. com.statsig serversdk 1.2.3 com.statsig
Hancy
  • 11
  • 2
0
votes
0 answers

Exception in thread "main" java.lang.NoSuchFieldError: BROTLI- Talend Job spark with parquet file

Running any spark job from talend remote I get this error. The same jobs run locally do not generate errors. Does anyone have any suggestions? The job should write a parquet file but it generates this error after a long run
0
votes
2 answers

NoSuchFieldError EXCLUDE_EMPTY when initiating Eyes Applitools in Gauge

I tried to intiliase Eyes in my automation project, but I am getting this error: Message: java.lang.NoSuchFieldError: EXCLUDE_EMPTY Stack…
0
votes
1 answer

java.lang.NoSuchFieldError: handle

I recently come across an issue with my Eclipse SWT GUI application. I was trying to acquire a window handle with the following code: Display.getDefault().syncExec(()->{ handle = Display.getDefault().getActiveShell().handle; …
dale
  • 439
  • 3
  • 11
  • 28
0
votes
1 answer

NoSuchField error in java code but field exists

I have the following code. public class Table { Integer[] data; public Table() { this.data = new Integer[100]; } public boolean insert(int key){ data[53] = 1; return true; } } && public class…
user569685
  • 191
  • 1
  • 13
0
votes
1 answer

Java Http Client - No Such Field Error

I am trying to use the Digital Ocean java library and when trying to create a connection with: CloseableHttpClient httpClient = HttpClients.createDefault(); client = new DigitalOceanClient("v2", token, httpClient); The problem lies in the…
TheGodProject
  • 147
  • 2
  • 12
0
votes
1 answer

NoSuchFieldError: SIZE when fetching email through IMAP

We're using Java with Spring and Gradle, among other things, and lately after deploying to prod this error started coming up every time we tried to fetch messages from our MSExhange server. I'm baffled, as there were no changes made to the package…
0
votes
1 answer

Play framework 2.5 JPAApi: java.lang.NoSuchFieldError: NONE

I'm updating my project to Play 2.5. I'm using JPAApi to create a native query. Here is a fragment of code: package models; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.Id; import…
sleb
  • 193
  • 1
  • 12
0
votes
0 answers

java.lang.NoSuchFieldError: FLOW at com.sun.faces.flow.FlowDiscoveryCDIExtension.

I began to learn JBoss today and i'm having some problems. When I run the project, gave this error: I am using JBoss, Primefaces and JSF. IDE: Eclipse 16:38:39,268 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting…
0
votes
1 answer

NoSuchFieldError while running NERDemo.java file

I am trying to run this program on Eclipse and it is giving following error: Loading classifier from E:\corenlp\stanford-ner-2015-01-29\stanford-ner-2015-01-30\classifiers\english.all.3class.distsim.crf.ser.gz ... done [6.8 sec]. Exception in thread…
0
votes
1 answer

Index PDFs using Lucene, NoSuchFieldError

I'm trying to index PDF files using Apache Lucene 4.4 I keep getting the following exception: Exception in thread "main" java.lang.NoSuchFieldError: TOKENIZED at com.snowtide.pdf.lucene.LuceneInterface20.addField(SourceFile:18) at…
PhDeveloper
  • 335
  • 1
  • 4
  • 14
0
votes
1 answer

Determine class type of Generic typed field

I am getting NoSuchFieldException for the following piece of code: public class MultipleSorting extends Observable { private SelectItem[] criteria1; private SelectItem[] order1; private SelectItem[] criteria2; private…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331